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

Unified Diff: third_party/WebKit/Source/platform/scroll/ScrollableArea.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/Source/platform/scroll/ScrollableArea.h
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollableArea.h b/third_party/WebKit/Source/platform/scroll/ScrollableArea.h
index d921b2d2da5ffc99455b6c1fbf51ea7aba599a2b..17802ed6a3ff26305b8a23f95e16c7a16e7fe54c 100644
--- a/third_party/WebKit/Source/platform/scroll/ScrollableArea.h
+++ b/third_party/WebKit/Source/platform/scroll/ScrollableArea.h
@@ -120,10 +120,11 @@ class PLATFORM_EXPORT ScrollableArea : public GarbageCollectedMixin {
virtual void contentsResized();
bool hasOverlayScrollbars() const;
- void setScrollbarOverlayStyle(ScrollbarOverlayStyle);
- void recalculateScrollbarOverlayStyle(Color);
- ScrollbarOverlayStyle getScrollbarOverlayStyle() const {
- return static_cast<ScrollbarOverlayStyle>(m_scrollbarOverlayStyle);
+ void setScrollbarOverlayColorTheme(ScrollbarOverlayColorTheme);
+ void recalculateScrollbarOverlayColorTheme(Color);
+ ScrollbarOverlayColorTheme getScrollbarOverlayColorTheme() const {
+ return static_cast<ScrollbarOverlayColorTheme>(
+ m_scrollbarOverlayColorTheme);
}
// This getter will create a ScrollAnimatorBase if it doesn't already exist.
@@ -390,7 +391,7 @@ class PLATFORM_EXPORT ScrollableArea : public GarbageCollectedMixin {
mutable Member<ScrollAnimatorBase> m_scrollAnimator;
mutable Member<ProgrammaticScrollAnimator> m_programmaticScrollAnimator;
- unsigned m_scrollbarOverlayStyle : 2; // ScrollbarOverlayStyle
+ unsigned m_scrollbarOverlayColorTheme : 2;
unsigned m_scrollOriginChanged : 1;
« no previous file with comments | « third_party/WebKit/Source/platform/scroll/ScrollTypes.h ('k') | third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698