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

Unified Diff: Source/platform/scroll/ScrollbarThemeMacNonOverlayAPI.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
Index: Source/platform/scroll/ScrollbarThemeMacNonOverlayAPI.h
diff --git a/Source/platform/scroll/ScrollbarThemeMacNonOverlayAPI.h b/Source/platform/scroll/ScrollbarThemeMacNonOverlayAPI.h
index 27a260bd6065d0e5455d3c82f99e8474d2d10205..88e6ef8b0f3a3952285b0d150995aeaa60360b09 100644
--- a/Source/platform/scroll/ScrollbarThemeMacNonOverlayAPI.h
+++ b/Source/platform/scroll/ScrollbarThemeMacNonOverlayAPI.h
@@ -48,7 +48,7 @@ protected:
IntRect backButtonRect(ScrollbarThemeClient*, ScrollbarPart, bool painting = false) override;
IntRect forwardButtonRect(ScrollbarThemeClient*, ScrollbarPart, bool painting = false) override;
- void updateButtonPlacement(const std::string& buttonPlacement) override;
+ void updateButtonPlacement(ScrollbarButtonsPlacement) override;
bool hasButtons(ScrollbarThemeClient*) override;
bool hasThumb(ScrollbarThemeClient*) override;
« no previous file with comments | « Source/platform/scroll/ScrollbarThemeMacCommon.mm ('k') | Source/platform/scroll/ScrollbarThemeMacNonOverlayAPI.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698