Chromium Code Reviews| 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 |