Closed Bug 323062 Opened 19 years ago Closed 17 years ago

remove Camino-specific ifdefs from tier 9 code

Categories

(Core :: Widget: Cocoa, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: jaas, Assigned: jaas)

References

()

Details

Attachments

(1 file)

3.70 KB, patch
stuart.morgan+bugzilla
: review+
benjamin
: superreview+
Details | Diff | Splinter Review
Bug 316076, attachment 207350 [details] [diff] [review], modified the following two files to contain app-specific ifdefs (MOZ_MACBROWSER):

layout/forms/nsComboboxControlFrame.cpp
widget/src/cocoa/nsCocoaWindow.mm

These are to work around Camino's context menu hacks. If we are to produce a xulrunner binary that will support Camino and other Cocoa widget consumers, we need to turn those ifdefs into a pref. Or we could remove the Camino context menu hacks :)
Attached patch fix v1.0Splinter Review
I'm certainly open to suggestions for a better name for the pref.
Attachment #259778 - Flags: review?(stuart.morgan)
Comment on attachment 259778 [details] [diff] [review]
fix v1.0

Making widget depend on prefs seems a bit sketchy, but since I don't have any better suggestions, r=smorgan.

I do think we should remove at least the <select> menu hack, but I'd really like to see about making them look native first. Is there a bug tracking making them look and act like the contextual menus?
Attachment #259778 - Flags: review?(stuart.morgan) → review+
Attachment #259778 - Flags: superreview?(benjamin)
Attachment #259778 - Flags: superreview?(benjamin) → superreview+
fixed on trunk
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: