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

Unified Diff: Source/platform/scroll/ScrollbarThemeMacOverlayAPI.mm

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/ScrollbarThemeMacNonOverlayAPI.mm ('k') | Source/web/mac/WebScrollbarTheme.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/scroll/ScrollbarThemeMacOverlayAPI.mm
diff --git a/Source/platform/scroll/ScrollbarThemeMacOverlayAPI.mm b/Source/platform/scroll/ScrollbarThemeMacOverlayAPI.mm
index 321a8954796cb1384c3b1a959dde86b12f57cb98..2046a60997ebd8e5d2a3000321b5bc3f670887bc 100644
--- a/Source/platform/scroll/ScrollbarThemeMacOverlayAPI.mm
+++ b/Source/platform/scroll/ScrollbarThemeMacOverlayAPI.mm
@@ -217,7 +217,7 @@ void ScrollbarThemeMacOverlayAPI::updateScrollbarOverlayStyle(ScrollbarThemeClie
ScrollbarButtonsPlacement ScrollbarThemeMacOverlayAPI::buttonsPlacement() const
{
- return ScrollbarButtonsNone;
+ return ScrollbarButtonsPlacementNone;
}
bool ScrollbarThemeMacOverlayAPI::hasThumb(ScrollbarThemeClient* scrollbar)
@@ -232,13 +232,13 @@ bool ScrollbarThemeMacOverlayAPI::hasThumb(ScrollbarThemeClient* scrollbar)
IntRect ScrollbarThemeMacOverlayAPI::backButtonRect(ScrollbarThemeClient* scrollbar, ScrollbarPart part, bool painting)
{
- ASSERT(buttonsPlacement() == ScrollbarButtonsNone);
+ ASSERT(buttonsPlacement() == ScrollbarButtonsPlacementNone);
return IntRect();
}
IntRect ScrollbarThemeMacOverlayAPI::forwardButtonRect(ScrollbarThemeClient* scrollbar, ScrollbarPart part, bool painting)
{
- ASSERT(buttonsPlacement() == ScrollbarButtonsNone);
+ ASSERT(buttonsPlacement() == ScrollbarButtonsPlacementNone);
return IntRect();
}
« no previous file with comments | « Source/platform/scroll/ScrollbarThemeMacNonOverlayAPI.mm ('k') | Source/web/mac/WebScrollbarTheme.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698