Closed Bug 1678540 Opened 4 years ago Closed 4 years ago

expose native LookAndFeel values without the influence of pref overrides

Categories

(Core :: Widget, task)

task

Tracking

()

RESOLVED FIXED
85 Branch
Tracking Status
firefox85 --- fixed

People

(Reporter: heycam, Assigned: heycam)

References

Details

Attachments

(2 files)

Platform-specific LookAndFeel classes implement GetIntImpl etc. by first calling into nsXPLookAndFeel to look up any pref overrides before returning their platform-specific values. The new RemoteLookAndFeel class in bug 1470983 will need to get access to the native values without any influence from pref overrides.

This simplifies the way nsXPLookAndFeel::GetIntImpl and its overrides interact.

Assignee: nobody → cam
Status: NEW → ASSIGNED

This will allow calling into NativeGetInt etc. to get native LookAndFeel values without
looking at the prefs.

Pushed by cmccormack@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d0866ea9c5db Don't provide default values for IntID::ScrollButtonLeftMouseButtonAction etc. r=spohl https://hg.mozilla.org/integration/autoland/rev/4faeb38fdbbf Refactor nsXPLookAndFeel::GetIntImpl etc. r=spohl
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 85 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: