Closed
Bug 1371809
Opened 7 years ago
Closed 6 years ago
pass theme widget types as mozilla::ThemeWidgetType rather than uint8_t
Categories
(Core :: Graphics, enhancement, P5)
Core
Graphics
Tracking
()
RESOLVED
DUPLICATE
of bug 1478391
Tracking | Status | |
---|---|---|
firefox57 | --- | wontfix |
People
(Reporter: dbaron, Unassigned, Mentored)
References
Details
(Keywords: feature, Whiteboard: [gfx-noted])
As followup to bug 1367577, we should create a mozilla::ThemeWidgetType name that's a typedef to ThemeWidgetType, and start converting things that pass theme widget types around from using uint8_t to ThemeWidgetType. We should probably *start* with the style data and finish with the nsITheme implementations, since then we should be able to avoid casting.
Updated•7 years ago
|
Reporter | ||
Comment 1•7 years ago
|
||
I think the first patch in the series should probably be something like this:
https://hg.mozilla.org/users/dbaron_mozilla.com/patches/raw-file/76d668dbcfa7/create-theme-widget-type-in-mozilla
The second patch or set of patches would probably involve converting nsStyleDisplay::mAppearance, which will probably be the hardest piece since it involves landing coordinated stylo patches.
Once that's done (and landed), work can proceed with conversion of code in nsIFrame etc., and then with the nsITheme interface and implementations.
Mentor: dbaron
Updated•7 years ago
|
Reporter | ||
Comment 2•6 years ago
|
||
This was fixed (all at once) in bug 1478391, and with a different name.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•