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

Unified Diff: third_party/WebKit/Source/platform/scroll/Scrollbar.cpp

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/Scrollbar.cpp
diff --git a/third_party/WebKit/Source/platform/scroll/Scrollbar.cpp b/third_party/WebKit/Source/platform/scroll/Scrollbar.cpp
index 84b5b4099679a7c7426243db0c27b62b94999579..8f9fd16502a679e68efd27872abd9dcfbd0d4ae7 100644
--- a/third_party/WebKit/Source/platform/scroll/Scrollbar.cpp
+++ b/third_party/WebKit/Source/platform/scroll/Scrollbar.cpp
@@ -94,9 +94,9 @@ void Scrollbar::setFrameRect(const IntRect& frameRect) {
setNeedsPaintInvalidation(AllParts);
}
-ScrollbarOverlayStyle Scrollbar::getScrollbarOverlayStyle() const {
- return m_scrollableArea ? m_scrollableArea->getScrollbarOverlayStyle()
- : ScrollbarOverlayStyleDefault;
+ScrollbarOverlayColorTheme Scrollbar::getScrollbarOverlayColorTheme() const {
+ return m_scrollableArea ? m_scrollableArea->getScrollbarOverlayColorTheme()
+ : ScrollbarOverlayColorThemeDark;
}
void Scrollbar::getTickmarks(Vector<IntRect>& tickmarks) const {
« no previous file with comments | « third_party/WebKit/Source/platform/scroll/Scrollbar.h ('k') | third_party/WebKit/Source/platform/scroll/ScrollbarTheme.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698