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

Unified Diff: third_party/WebKit/public/platform/WebThemeEngine.h

Issue 2006643004: Fix scrollbar buttons on ChromeOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: test Created 4 years, 7 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: third_party/WebKit/public/platform/WebThemeEngine.h
diff --git a/third_party/WebKit/public/platform/WebThemeEngine.h b/third_party/WebKit/public/platform/WebThemeEngine.h
index 5340e491de5fbbb8b25085ee2f926a38439e908c..21c869af55d6c5cd62512479a7a49c26af5674f7 100644
--- a/third_party/WebKit/public/platform/WebThemeEngine.h
+++ b/third_party/WebKit/public/platform/WebThemeEngine.h
@@ -152,6 +152,9 @@ public:
// the track while the height will be the minimum height.
virtual WebSize getSize(Part) { return WebSize(); }
+ // Returns whether or not buttons should be drawn on the scrollbars.
+ virtual bool hasScrollbarButtons() { return true; }
+
struct ScrollbarStyle {
int thumbThickness;
int scrollbarMargin;

Powered by Google App Engine
This is Rietveld 408576698