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

Unified Diff: content/browser/theme_helper_mac.h

Issue 1642553004: Make a test not depend on system settings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 | « content/browser/site_per_process_browsertest.cc ('k') | content/browser/theme_helper_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/theme_helper_mac.h
diff --git a/content/browser/theme_helper_mac.h b/content/browser/theme_helper_mac.h
index be507d9535116cd0a5edbf81560ecc6bbc436175..a1aabfc4d87478b43fe52ce1722cee86ae47a96c 100644
--- a/content/browser/theme_helper_mac.h
+++ b/content/browser/theme_helper_mac.h
@@ -13,6 +13,17 @@
namespace content {
+class CONTENT_EXPORT ScopedPreferredScrollerStyleOveride {
tapted 2016/01/31 23:33:13 ObjectiveC gives us a cheaty way to do this kind o
+ public:
+ ScopedPreferredScrollerStyleOveride(blink::ScrollerStyle value);
tapted 2016/01/31 23:33:13 nit: explicit
+ ~ScopedPreferredScrollerStyleOveride();
+
+ blink::ScrollerStyle value() const { return value_; }
+
+ private:
+ blink::ScrollerStyle value_;
+};
tapted 2016/01/31 23:33:13 nit: DISALLOW_COPY_AND_ASSIGN(..)
+
class ThemeHelperMac : public NotificationObserver {
public:
// Return pointer to the singleton instance for the current process, or NULL
« no previous file with comments | « content/browser/site_per_process_browsertest.cc ('k') | content/browser/theme_helper_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698