Status

()

Core
Widget
RESOLVED INCOMPLETE
10 years ago
9 months ago

People

(Reporter: robarnold, Unassigned)

Tracking

Trunk
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

10 years ago
nsLookAndFeel and nsNativeThemeWin each contain duplicate code for dynamically loading uxtheme.dll and extracting the theme functions and handles. Aero glass needs the ability to query theme data (color specifically) from nsWindow in its fallback case. This logic and data should be centralized somewhere and easily accessible.

While we're at it bug 392644 would be easier to fix with animation support built in to the theme APIs. OSX also needs some animation support for its widgets.

And some of that code is pretty old and could stand to be cleaned up.
(Reporter)

Updated

10 years ago
Depends on: 444013
(Reporter)

Updated

10 years ago
No longer blocks: 418454
(Reporter)

Comment 1

10 years ago
Bug 444013 reduced the duplicate code. I think that nsILookAndFeel and nsITheme should be merged since all our supported platforms provide an nsITheme implementation (and a default one is fairly easy).
Component: Widget: Win32 → Widget
OS: Windows Vista → All
QA Contact: win32 → general
Hardware: PC → All

Updated

10 years ago
Blocks: 386929

Updated

9 months ago
Status: NEW → RESOLVED
Last Resolved: 9 months ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.