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

Unified Diff: third_party/WebKit/public/platform/WebScrollbar.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
Index: third_party/WebKit/public/platform/WebScrollbar.h
diff --git a/third_party/WebKit/public/platform/WebScrollbar.h b/third_party/WebKit/public/platform/WebScrollbar.h
index a921510206fb7d2af93beac9217fc59503971693..ea3c0d9f68e4ed8c5c79e01f2b08da7fcd2bdafe 100644
--- a/third_party/WebKit/public/platform/WebScrollbar.h
+++ b/third_party/WebKit/public/platform/WebScrollbar.h
@@ -27,6 +27,7 @@
#include "WebPoint.h"
#include "WebRect.h"
+#include "WebScrollbarOverlayColorTheme.h"
#include "WebSize.h"
#include "WebVector.h"
@@ -62,12 +63,6 @@ class BLINK_PLATFORM_EXPORT WebScrollbar {
AllParts = 0xffffffff
};
- enum ScrollbarOverlayStyle {
- ScrollbarOverlayStyleDefault,
- ScrollbarOverlayStyleDark,
- ScrollbarOverlayStyleLight
- };
-
virtual ~WebScrollbar() {}
// Return true if this is an overlay scrollbar.
@@ -86,7 +81,7 @@ class BLINK_PLATFORM_EXPORT WebScrollbar {
virtual ScrollbarControlSize controlSize() const = 0;
virtual ScrollbarPart pressedPart() const = 0;
virtual ScrollbarPart hoveredPart() const = 0;
- virtual ScrollbarOverlayStyle scrollbarOverlayStyle() const = 0;
+ virtual WebScrollbarOverlayColorTheme scrollbarOverlayColorTheme() const = 0;
virtual bool isCustomScrollbar() const = 0;
virtual Orientation orientation() const = 0;
virtual bool isLeftSideVerticalScrollbar() const = 0;
« no previous file with comments | « third_party/WebKit/public/BUILD.gn ('k') | third_party/WebKit/public/platform/WebScrollbarOverlayColorTheme.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698