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

Unified Diff: Source/web/ScrollbarGroup.cpp

Issue 23480037: Fix RTL scroll bars being misrendered on Android. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: isLeftSideVerticalScrollbar Created 7 years, 3 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/web/ScrollbarGroup.h ('k') | Source/web/WebPluginScrollbarImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/ScrollbarGroup.cpp
diff --git a/Source/web/ScrollbarGroup.cpp b/Source/web/ScrollbarGroup.cpp
index f44ec53d67af4d33f50ec5c4575114ebedd6ea9f..b92b1ee920034f5b22123b54e0bf70772144b116 100644
--- a/Source/web/ScrollbarGroup.cpp
+++ b/Source/web/ScrollbarGroup.cpp
@@ -265,6 +265,11 @@ bool ScrollbarGroup::userInputScrollable(ScrollbarOrientation orientation) const
return orientation == HorizontalScrollbar ? horizontalScrollbar() : verticalScrollbar();
}
+bool ScrollbarGroup::shouldPlaceVerticalScrollbarOnLeft() const
+{
+ return false;
jamesr 2013/09/06 22:46:56 interesting, i guess we never RTL-flip scrollbars
+}
+
int ScrollbarGroup::pageStep(ScrollbarOrientation orientation) const
{
int length;
« no previous file with comments | « Source/web/ScrollbarGroup.h ('k') | Source/web/WebPluginScrollbarImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698