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

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

Issue 1245323002: Pass scroll bar placement as an enum instead of std::string (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updates per code review Created 5 years, 5 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/platform/scroll/ScrollTypes.h ('k') | Source/platform/scroll/ScrollbarThemeMacCommon.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/scroll/ScrollbarTheme.h
diff --git a/Source/platform/scroll/ScrollbarTheme.h b/Source/platform/scroll/ScrollbarTheme.h
index 0dac245f59be9197e83f26195e3eedf4919ff8fc..adeb08cc06b8495681c6340701b03e3a65040fd6 100644
--- a/Source/platform/scroll/ScrollbarTheme.h
+++ b/Source/platform/scroll/ScrollbarTheme.h
@@ -30,6 +30,7 @@
#include "platform/geometry/IntRect.h"
#include "platform/graphics/paint/DisplayItem.h"
#include "platform/scroll/ScrollTypes.h"
+#include "public/platform/mac/MacScrollTypes.h"
namespace blink {
@@ -52,7 +53,7 @@ public:
virtual int scrollbarThickness(ScrollbarControlSize = RegularScrollbar) { return 0; }
virtual int scrollbarMargin() const { return 0; }
- virtual ScrollbarButtonsPlacement buttonsPlacement() const { return ScrollbarButtonsSingle; }
+ virtual ScrollbarButtonsPlacement buttonsPlacement() const { return ScrollbarButtonsPlacementSingle; }
virtual bool supportsControlTints() const { return false; }
virtual bool usesOverlayScrollbars() const { return false; }
« no previous file with comments | « Source/platform/scroll/ScrollTypes.h ('k') | Source/platform/scroll/ScrollbarThemeMacCommon.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698