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

Unified Diff: Source/platform/scroll/ScrollbarThemeOverlay.cpp

Issue 1305223004: Reland of place pinch scrollbars with regular scrollbars. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 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 | « Source/platform/scroll/ScrollbarThemeOverlay.h ('k') | Source/web/DevToolsEmulator.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/scroll/ScrollbarThemeOverlay.cpp
diff --git a/Source/platform/scroll/ScrollbarThemeOverlay.cpp b/Source/platform/scroll/ScrollbarThemeOverlay.cpp
index be49135a253f135c5709608882140cc103c273ee..50d06598da7a9969ee74f3fa06445efc91da1e0a 100644
--- a/Source/platform/scroll/ScrollbarThemeOverlay.cpp
+++ b/Source/platform/scroll/ScrollbarThemeOverlay.cpp
@@ -170,4 +170,10 @@
return ScrollbarTheme::hitTest(scrollbar, position);
}
+ScrollbarTheme* ScrollbarThemeOverlay::mobileTheme()
+{
+ DEFINE_STATIC_LOCAL(ScrollbarThemeOverlay, theme, (3, 3, ScrollbarThemeOverlay::DisallowHitTest, Color(128, 128, 128, 128)));
+ return &theme;
+}
+
} // namespace blink
« no previous file with comments | « Source/platform/scroll/ScrollbarThemeOverlay.h ('k') | Source/web/DevToolsEmulator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698