Index: content/browser/theme_helper_mac.h |
diff --git a/content/browser/theme_helper_mac.h b/content/browser/theme_helper_mac.h |
index ab04337209d6f2037e5e07369e3d1330b8dc9e34..565903bbe3e83c54ccc6a10516775c8b3440b7b4 100644 |
--- a/content/browser/theme_helper_mac.h |
+++ b/content/browser/theme_helper_mac.h |
@@ -8,6 +8,7 @@ |
#include "base/memory/singleton.h" |
#include "content/public/browser/notification_observer.h" |
#include "content/public/browser/notification_registrar.h" |
+#include "third_party/WebKit/public/web/mac/WebScrollbarTheme.h" |
namespace content { |
@@ -17,10 +18,15 @@ class ThemeHelperMac : public NotificationObserver { |
// if none. |
static ThemeHelperMac* GetInstance(); |
+ // Returns the value of +[NSScroller preferredScrollStyle] as expressed |
+ // as the blink enum value. |
+ static blink::ScrollerStyle GetPreferredScrollerStyle(); |
+ |
static void SendThemeChangeToAllRenderers( |
float initial_button_delay, |
float autoscroll_button_delay, |
bool jump_on_track_click, |
+ blink::ScrollerStyle preferred_scroller_style, |
bool redraw); |
private: |