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

Unified Diff: third_party/WebKit/Source/WebKit/chromium/public/WebScrollbar.h

Issue 7538006: Pepper and WebKit API change to support a plugin knowing if a scrollbar is an overlay one. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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: third_party/WebKit/Source/WebKit/chromium/public/WebScrollbar.h
===================================================================
--- third_party/WebKit/Source/WebKit/chromium/public/WebScrollbar.h (revision 91997)
+++ third_party/WebKit/Source/WebKit/chromium/public/WebScrollbar.h (working copy)
@@ -67,6 +67,9 @@
// Gets the thickness of the scrollbar in pixels.
WEBKIT_API static int defaultThickness();
+ // Return true if this is an overlay scrollbar.
+ virtual bool isOverlay() = 0;
+
// Sets the rectangle of the scrollbar.
virtual void setLocation(const WebRect&) = 0;

Powered by Google App Engine
This is Rietveld 408576698