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

Unified Diff: content/browser/theme_helper_mac.h

Issue 136443008: Move preferred scrollbar style preference change listening from renderer to browser, 2 of 3. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix iOS compile Created 6 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/browser_main_loop.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 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:
« no previous file with comments | « content/browser/browser_main_loop.cc ('k') | content/browser/theme_helper_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698