Commit graph

222 commits

Author SHA1 Message Date
trav90
3951327f27 [GTK3] Introduce MOZ_GTK_TEXT_VIEW_TEXT and move MOZ_GTK_RESIZER to WidgetStyleCache
The style context for MOZ_GTK_TEXT_VIEW is now created by copying from the widget instead of caching a widget and using its context.
No rendering changes are expected, unless themes are animating GtkTextView backgrounds.
2019-02-15 23:43:24 +08:00
trav90
f0e2977c10 [GTK3] Use WidgetCache to get colors at nsLookAndFeelfor menuitems, text and tree view 2019-02-15 23:43:22 +08:00
trav90
f84529230b [GTK3] Use WidgetCache to get colors at nsLookAndFeel for GtkButton, GtkWindow, GtkScrollBar 2019-02-15 23:43:21 +08:00
trav90
9461197f53 [GTK3] Use WidgetCache to get colors at nsLookAndFeel 2019-02-15 23:43:19 +08:00
trav90
6a029bbbad [GTK3] Adjust menuitem padding and check/radio indicator position for changes in GTK 3.20 2019-02-15 23:43:17 +08:00
trav90
aa3618bdd7 [GTK3] Rename subtract_margin and rectangle_inset to Inset* and swap InsetByMargin parameters for consistency. 2019-02-15 23:43:15 +08:00
trav90
cfd6edee95 [GTK] Rename radio/check menuitem and indicator as used with ClaimStyleContext.
The same name is retained for moz_gtk_widget_paint(), which is now more consistent.
2019-02-15 23:43:14 +08:00
trav90
7420a48c04 [GTK3] Use menuitem padding between menuitem and check indicator. 2019-02-15 23:43:12 +08:00
trav90
51ddd61925 [GTK3] Draw only background and frame of separator menuitems in GTK versions > 3.20
In GTK 3.20, gtk_menu_item_draw() just draws the root widget gadget, depending on the theme to style menu items with CSS name "separator" appropriately.
2019-02-15 23:43:11 +08:00
trav90
29821c238a [GTK3] Draw separator menuitem background and frame behind separator in menu 2019-02-15 23:43:09 +08:00
trav90
381de05df3 [GTK3] Draw menuitem background even when not in hover 2019-02-15 23:43:08 +08:00
wolfbeast
b77496b276 Remove unused LSPAnnotator 2019-02-15 23:39:56 +08:00
wolfbeast
434f3590e3 Remove base conditional code for crash reporter and injector. 2019-02-15 23:39:53 +08:00
janekptacijarabaci
3a4e49d048 Implement DOM page onvisibilitychange. 2019-02-15 23:36:06 +08:00
wolfbeast
2ce8b3b74e Add a signal preference for dynamic color changes to adjust "brighttext" in the front-end.
This makes all relevant toolbars pick up the fact that the Windows accent color has changed and should check and if necessary update the "brighttext" property on them for styling of controls.
This is a bit of a hack-around to the fact that there is no real easy way otherwise to notify the front-end of color changes without needing a change in focus of the window.
There is a deliberate 300ms delay built in, because otherwise the styles might not have propagated yet, resulting in brighttext not being updated properly.
2019-02-15 23:32:15 +08:00
wolfbeast
d2dfb814c1 Use more logical pref names for mouse button 4&5
Also improves comment wording.
2019-02-15 23:32:00 +08:00
wolfbeast
d07bf4bba2 Un-fold browsercomps.* from libxul
This resolves #16.
2019-02-15 23:31:09 +08:00
wolfbeast
8aa201ff06 Add -moz-windows-accent-color-is-dark
#31 point 4
2019-02-15 23:29:12 +08:00
wolfbeast
41ee5136f4 Split out the check for accent color luminance. 2019-02-15 23:29:10 +08:00
wolfbeast
1f90db3750 Add -moz-win-accentcolor(text)
#31 points 1 and 2
2019-02-15 23:29:07 +08:00
wolfbeast
6a03b3bc1a Add @media(-moz-windows-accent-color-applies)
#31 point 3
2019-02-15 23:29:05 +08:00
Roy Tam
dcd9973243 import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00