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

Unified Diff: Source/core/platform/Scrollbar.h

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
Index: Source/core/platform/Scrollbar.h
diff --git a/Source/core/platform/Scrollbar.h b/Source/core/platform/Scrollbar.h
index 97df42ff8b96bb7cbaeeb77bd4f0575dfccee94b..f8de1fa6a2dc5680c5d9c8eba3f1bc3bac7bbb7e 100644
--- a/Source/core/platform/Scrollbar.h
+++ b/Source/core/platform/Scrollbar.h
@@ -30,7 +30,6 @@
#include "core/platform/ScrollbarThemeClient.h"
#include "core/platform/Timer.h"
#include "core/platform/Widget.h"
-#include "core/platform/text/TextDirection.h"
#include "wtf/MathExtras.h"
#include "wtf/PassRefPtr.h"
@@ -77,7 +76,7 @@ public:
virtual bool isCustomScrollbar() const { return false; }
virtual ScrollbarOrientation orientation() const { return m_orientation; }
- TextDirection textDirection() const;
+ virtual bool isLeftSideVerticalScrollbar() const;
virtual int value() const { return lroundf(m_currentPos); }
virtual float currentPos() const { return m_currentPos; }

Powered by Google App Engine
This is Rietveld 408576698