Closed Bug 159020 Opened 23 years ago Closed 20 years ago

Clean up nsCocoaBrowserService

Categories

(Camino Graveyard :: General, enhancement)

PowerPC
macOS
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: sfraser_bugs, Assigned: sfraser_bugs)

References

Details

Attachments

(1 file)

nsCocoaBrowserService currently implments every interface under the sun, and then some. We need to pull out the different API impls into different classes. Probably the only one that should remain is nsIWindowCreator. I'd suggest new classes for the APIs with the following breakdown: nsUserPrompts for nsIPromptService nsSecurityDialogs for nsIBadCertListener, nsISecurityWarningDialogs, nsINSSDialogs nsHelperAppLauncher for nsIHelperAppLauncherDialog Eventually we should be able to remove nsIFactory from it too.
I've already done the security dialogs stuff in bug 158801. I was waiting until after 0.4 to check it in.
Depends on: 158801
This would technically be an enhancement, wouldn't it?
Severity: normal → enhancement
This factors out nsIPromptService into a CocoaPromptService class. I also had to make AppComponents a .mm file, since it needs to include headers which include Cocoa objective C headers.
Keywords: review
looks good to me, r=pink
checked in. leaving bug open for more work.
nsCocoaBrowserService is gone from camino.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: