Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1618)

Unified Diff: third_party/WebKit/public/platform/WebThemeEngine.h

Issue 2426793002: Aura overlay scrollbars adjust color for dark backgrounds (Closed)
Patch Set: fix Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/public/platform/WebThemeEngine.h
diff --git a/third_party/WebKit/public/platform/WebThemeEngine.h b/third_party/WebKit/public/platform/WebThemeEngine.h
index 55f74b52a08b8399025b4d2a84d24d96e4f84222..baa29861d7452b322c655385697414c45d4b8a32 100644
--- a/third_party/WebKit/public/platform/WebThemeEngine.h
+++ b/third_party/WebKit/public/platform/WebThemeEngine.h
@@ -33,6 +33,7 @@
#include "WebCanvas.h"
#include "WebColor.h"
+#include "WebScrollbarOverlayColorTheme.h"
#include "WebSize.h"
namespace blink {
@@ -137,6 +138,11 @@ class WebThemeEngine {
int valueRectHeight;
};
+ // Extra parameters for Scrollbar, now only for overlay-scrollbar
bokan 2016/10/21 20:11:38 Nit: Extra parameters for scrollbar thumb. Used on
+ struct ScrollbarThumbExtraParams {
+ WebScrollbarOverlayColorTheme scrollbarTheme;
+ };
+
union ExtraParams {
ScrollbarTrackExtraParams scrollbarTrack;
ButtonExtraParams button;
@@ -145,6 +151,7 @@ class WebThemeEngine {
SliderExtraParams slider;
InnerSpinButtonExtraParams innerSpin;
ProgressBarExtraParams progressBar;
+ ScrollbarThumbExtraParams scrollbarThumb;
};
// Gets the size of the given theme part. For variable sized items

Powered by Google App Engine
This is Rietveld 408576698