Commit Graph

96 Commits

Author SHA1 Message Date
Xidorn Quan
ba6daef642 Bug 1464722 part 5 - Paint scrollcorner for custom scrollbars on cocoa. r=spohl
MozReview-Commit-ID: EMj8urC6AWX
2018-06-25 09:56:38 +10:00
Xidorn Quan
3772a9b626 Bug 1464722 part 4 - Render custom scrollbars on cocoa widget. r=spohl
MozReview-Commit-ID: ITzdevItp1d
2018-06-22 14:17:22 +10:00
Mats Palmgren
c7106ed729 Bug 1466330 - Make nsITheme::GetWidgetBorder return the border directly instead of using an out-param (idempotent patch). r=emilio 2018-06-02 19:10:48 +02:00
Mats Palmgren
b19e6d0213 Bug 1461222 part 2 - Make GetWidgetPadding return LayoutDeviceIntMargin. r=emilio 2018-05-17 17:30:35 +02:00
Mats Palmgren
e188037050 Bug 1461222 part 1 - Make GetWidgetBorder return LayoutDeviceIntMargin. r=emilio 2018-05-17 17:30:35 +02:00
Markus Stange
41ef8fed6b Bug 1421088 - Move code out of DrawWidgetBackground into a new method called ComputeWidgetInfo. r=spohl
MozReview-Commit-ID: 2XeZHH4lJrj
2018-04-14 23:31:11 -04:00
Markus Stange
981f9a219c Bug 1421088 - Move rendering code out into a separate method. r=spohl
MozReview-Commit-ID: 9lxf0VPYaK8
2017-11-18 18:53:54 -05:00
Markus Stange
57ffe70b48 Bug 1421088 - Create a WidgetInfo struct and route drawing through it. r=spohl
MozReview-Commit-ID: 1pKgNAodbev
2018-04-14 23:19:18 -04:00
Markus Stange
8c74dd9143 Bug 1421088 - Create a DrawNativeTitlebar overload that takes a UnifiedToolbarParams param. r=spohl
MozReview-Commit-ID: Gxe4qIZV7HI
2017-12-01 19:54:29 -05:00
Markus Stange
be006b07d4 Bug 1421088 - Create DrawSourceList. r=spohl
MozReview-Commit-ID: AZoLMcl9YLr
2017-12-01 18:01:16 -05:00
Markus Stange
be52e3b5ca Bug 1421088 - Create DrawMenuSeparator. r=spohl
MozReview-Commit-ID: Lvab4zMrs2D
2017-12-01 17:58:02 -05:00
Markus Stange
2784e96742 Bug 1421088 - Create DrawToolbar. r=spohl
MozReview-Commit-ID: 3NMidcVazQo
2017-12-01 17:55:02 -05:00
Markus Stange
77623bf4c3 Bug 1421088 - Create DrawMultilineTextField. r=spohl
MozReview-Commit-ID: CyAhfGVmfzs
2017-12-01 18:35:45 -05:00
Markus Stange
52dde838b1 Bug 1421088 - Don't pass an nsIFrame* to DrawResizer. r=spohl
MozReview-Commit-ID: hQbnCke2zN
2017-12-01 18:31:18 -05:00
Markus Stange
6e231f922d Bug 1421088 - Don't pass an nsIFrame* to DrawStatusBar. r=spohl
MozReview-Commit-ID: 6KU2OyZb9BS
2017-12-01 18:08:35 -05:00
Markus Stange
a2ca67f0f5 Bug 1421088 - Remove unused parameters from DrawFocusOutline. r=spohl
MozReview-Commit-ID: Kd6Rxl58Xwh
2017-12-01 18:07:24 -05:00
Markus Stange
83a6a91294 Bug 1421088 - Don't pass an nsIFrame* to DrawTabPanel. r=spohl
MozReview-Commit-ID: JeWt76t7rRQ
2017-12-01 18:03:12 -05:00
Markus Stange
178b8712ce Bug 1421088 - Don't pass an nsIFrame* to DrawScale, and create DrawScrollbarTrack and DrawScrollbarThumb. r=spohl
MozReview-Commit-ID: 8MPG7ZlBvVD
2018-04-14 23:06:29 -04:00
Markus Stange
96c953e6e2 Bug 1421088 - Don't pass an nsIFrame* to DrawMeter. r=spohl
MozReview-Commit-ID: 63ZuRb6VRSY
2017-11-30 18:59:27 -05:00
Markus Stange
0754e5280b Bug 1421088 - Don't pass an nsIFrame* to DrawProgress. r=spohl
MozReview-Commit-ID: 7fxBzCyp239
2018-04-14 22:43:04 -04:00
Markus Stange
17599da5ee Bug 1421088 - Don't pass an nsIFrame* to DrawSearchField. r=spohl
MozReview-Commit-ID: 3hlBThgIDt5
2017-11-30 18:51:24 -05:00
Markus Stange
ef9d202b64 Bug 1421088 - Rename DrawFrame to DrawTextBox and stop passing an nsIFrame* to it. r=spohl
MozReview-Commit-ID: 1hGVXNhbomJ
2018-04-14 22:29:57 -04:00
Markus Stange
5c5df93b25 Bug 1421088 - Don't pass an NSWindow* to DrawUnifiedToolbar. r=spohl
MozReview-Commit-ID: 52uB5QeVsVw
2017-11-30 18:46:37 -05:00
Markus Stange
4ad091bb8c Bug 1421088 - Don't pass an nsIFrame* to DrawSegment. r=spohl
MozReview-Commit-ID: 7qe0V7agqzs
2018-04-14 22:26:24 -04:00
Markus Stange
eda62a0102 Bug 1421088 - Don't pass an nsIFrame* to DrawSpinButton / DrawSpinButtons. r=spohl
MozReview-Commit-ID: AtY1eoiXcCa
2018-04-14 22:14:19 -04:00
Markus Stange
ec6af00d15 Bug 1421088 - Don't pass an nsIFrame* to DrawDropdown. r=spohl
MozReview-Commit-ID: IdkoAb1rOjE
2018-04-14 22:07:23 -04:00
Markus Stange
10b74c88e5 Bug 1421088 - Don't pass an nsIFrame* to DrawCheckboxOrRadio. r=spohl
MozReview-Commit-ID: 6LGIVGJAQ6W
2017-11-30 17:50:33 -05:00
Markus Stange
8e961473a9 Bug 1421088 - Change the API of DrawMenuIcon and add DrawMenuItem. r=spohl
MozReview-Commit-ID: 3JedJfgx9pZ
2018-04-14 22:00:18 -04:00
Markus Stange
6e6d9776d6 Bug 1421088 - Move menu background drawing into a separate method. r=spohl
MozReview-Commit-ID: CSa4zlI8juN
2018-04-14 21:56:23 -04:00
Markus Stange
b6545cf679 Bug 1421088 - Route more button types through DrawButton. r=spohl
MozReview-Commit-ID: 8AhEnEi5UCZ
2017-11-30 16:47:59 -05:00
Markus Stange
2589902f2d Bug 1421088 - Give nsNativeThemeCocoa::DrawButton a different API. r=spohl
MozReview-Commit-ID: DjMurwHZD5K
2018-04-14 21:48:09 -04:00
Markus Stange
6e1eb318fd Bug 1421088 - Create a separate method for drawing tree header cells. r=spohl
MozReview-Commit-ID: 23CJfyrDoIN
2018-04-14 21:22:08 -04:00
Markus Stange
8c1e552a9d Bug 1421088 - Split DrawPushButton into four functions and group the frame-dependent information into a struct. r=spohl
MozReview-Commit-ID: COs3yaGTqMv
2018-04-14 21:13:10 -04:00
Markus Stange
2431454df5 Bug 1421088 - Simplify search field cell management and make the "is-within-toolbar" computation eager instead of lazy. r=spohl
MozReview-Commit-ID: GkMSvimeuaf
2018-04-13 18:19:32 -04:00
Brian Grinstead
32475594f4 Bug 1442695 - Remove unused GetScrollbarPressStates method;r=spohl
MozReview-Commit-ID: GA9kzatUKfp
2018-03-02 09:42:55 -08:00
Markus Stange
e46fd6ae67 Bug 1417709 - Implement -moz-appearance: -moz-mac-vibrant-titlebar-light/dark on macOS. r=jrmuizel
MozReview-Commit-ID: ElMpYslSXOg
2017-11-16 11:36:52 -05:00
Margareta Eliza Balazs
8fffa95b70 Backed out 5 changesets (bug 1417709) for failing X in devtools/shared/tests/unit/test_css-properties-db.js r=backout on a CLOSED TREE
Backed out changeset 5670c9582add (bug 1417709)
Backed out changeset 50f0febe43a0 (bug 1417709)
Backed out changeset 29e6c0d82193 (bug 1417709)
Backed out changeset e3a6c5b74595 (bug 1417709)
Backed out changeset a0fe569c86c0 (bug 1417709)
2017-11-23 01:17:07 +02:00
Markus Stange
096504beb4 Bug 1417709 - Implement -moz-appearance: -moz-mac-vibrant-titlebar-light/dark on macOS. r=jrmuizel
MozReview-Commit-ID: ElMpYslSXOg
2017-11-16 11:36:52 -05:00
Markus Stange
831fb23865 Bug 1417197 - Create nsITheme::CreateWebRenderCommands in order to optimize simple theme fills, and add a Mac implementation. r=jrmuizel
MozReview-Commit-ID: 1G9NHPwd5ST
2017-11-14 15:34:56 -05:00
Nicholas Nethercote
7dbfdaf890 Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro.
(Path is actually r=froydnj.)

Bug 1400459 devirtualized nsIAtom so that it is no longer a subclass of
nsISupports. This means that nsAtom is now a better name for it than nsIAtom.

MozReview-Commit-ID: 91U22X2NydP
2017-10-03 09:05:19 +11:00
Markus Stange
35882b6218 Bug 1387594 - Stop getting the font smoothing background color from the theme. r=mattwoodrow
MozReview-Commit-ID: 2r1B8SvEkEl
2017-09-14 23:09:47 +02:00
Alexis Beingessner
3117218f13 Bug 1088760 - Remove nsRenderingContext, replacing all of its uses with gfxContext. r=jwatt,jrmuizel
MozReview-Commit-ID: K1WUIOnvazF
2017-06-13 11:00:10 -04:00
Sebastian Hengst
1b1d14e565 Backed out changeset 3d1ce85e6348 (bug 1088760) for bustage, at least on Android at layout/generic/nsPluginFrame.cpp:1612. r=backout 2017-06-13 00:30:03 +02:00
Alexis Beingessner
c6fbc5e17e Bug 1088760 - Remove nsRenderingContext, replacing all of its uses with gfxContext. r=jwatt,jrmuizel
MozReview-Commit-ID: K1WUIOnvazF
2017-06-12 17:32:48 -04:00
982dc4dd56 Bug 1192053 - Implement NS_THEME_MAC_SOURCE_LIST_SELECTION and NS_THEME_MAC_ACTIVE_SOURCE_LIST_SELECTION. r=mstange. 2016-10-14 22:45:29 +02:00
Tooru Fujisawa
f3d84b73d4 Bug 1294102 - Use the original height that is not affected by the top to decide the button style on OSX. r=mstange 2016-08-13 15:34:57 +09:00
bb791bab05 Bug 1279017 - Remove code specific to 10.6-10.8 in widget/cocoa. r=mstange. 2016-06-10 23:30:25 +02:00
e6eca6706f Bug 1192053 - Native theming: Support for Mac OS X source lists (background part). r=gijs, mstange. 2016-05-17 07:37:05 +02:00
Botond Ballo
dfa7522d52 Bug 1255214 - Only repaint GTK scrollbar button if its enablement actually changed. r=mstange
MozReview-Commit-ID: ITLeksQzvVM
2016-04-20 19:49:09 -04:00
Markus Stange
466f510181 Bug 1204620 - Don't prepend 'image.' to CUIDraw image names on 10.11. r=stefanh 2015-09-15 16:31:06 +02:00