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

Unified Diff: Source/core/platform/ScrollbarTheme.h

Issue 26501002: Remove platform dependency upon page/Settings class which is a layering violation. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: Created 7 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
« no previous file with comments | « Source/core/page/Settings.cpp ('k') | Source/core/platform/ScrollbarTheme.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/platform/ScrollbarTheme.h
diff --git a/Source/core/platform/ScrollbarTheme.h b/Source/core/platform/ScrollbarTheme.h
index 7065c2ee27522c38e9f4df63e19b9c3876ef1ec3..cd84390c2a94d027f3b9de2cebe5055f35944878 100644
--- a/Source/core/platform/ScrollbarTheme.h
+++ b/Source/core/platform/ScrollbarTheme.h
@@ -138,8 +138,12 @@ public:
static ScrollbarTheme* theme();
+ static void setMockScrollbarsEnabled(bool flag);
+ static bool mockScrollbarsEnabled();
+
private:
static ScrollbarTheme* nativeTheme(); // Must be implemented to return the correct theme subclass.
+ static bool gMockScrollbarsEnabled;
};
}
« no previous file with comments | « Source/core/page/Settings.cpp ('k') | Source/core/platform/ScrollbarTheme.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698