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

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

Issue 2426793002: Aura overlay scrollbars adjust color for dark backgrounds (Closed)
Patch Set: fix test 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
« no previous file with comments | « third_party/WebKit/public/platform/WebScrollbarOverlayColorTheme.h ('k') | ui/native_theme/native_theme.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..8fe876d11d9b8f6647bde8d53955354c46014e4d 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 thumb. Used only for overlay scrollbars.
+ 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
« no previous file with comments | « third_party/WebKit/public/platform/WebScrollbarOverlayColorTheme.h ('k') | ui/native_theme/native_theme.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698