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

Unified Diff: third_party/WebKit/Source/platform/scroll/ScrollableArea.h

Issue 2426793002: Aura overlay scrollbars adjust color for dark backgrounds (Closed)
Patch Set: update 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..888aa52b49ace23f375cad17b6df3048d80a0f20 100644
--- a/third_party/WebKit/Source/platform/scroll/ScrollableArea.h
+++ b/third_party/WebKit/Source/platform/scroll/ScrollableArea.h
@@ -121,8 +121,10 @@ class PLATFORM_EXPORT ScrollableArea : public GarbageCollectedMixin {
bool hasOverlayScrollbars() const;
void setScrollbarOverlayStyle(ScrollbarOverlayStyle);
- void recalculateScrollbarOverlayStyle(Color);
- ScrollbarOverlayStyle getScrollbarOverlayStyle() const {
+ static ScrollbarOverlayStyle calculateScrollbarOverlayStyle(
+ Color backgroundColor);
+ void recalculateScrollbarOverlayStyle(Color, bool isTransparent);
+ virtual ScrollbarOverlayStyle getScrollbarOverlayStyle() const {
return static_cast<ScrollbarOverlayStyle>(m_scrollbarOverlayStyle);
}

Powered by Google App Engine
This is Rietveld 408576698