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

Unified Diff: third_party/WebKit/Source/WebKit/chromium/src/WebScrollbarImpl.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/src/WebScrollbarImpl.h
===================================================================
--- third_party/WebKit/Source/WebKit/chromium/src/WebScrollbarImpl.h (revision 91997)
+++ third_party/WebKit/Source/WebKit/chromium/src/WebScrollbarImpl.h (working copy)
@@ -49,6 +49,7 @@
~WebScrollbarImpl();
// WebKit::WebScrollbar methods
+ virtual bool isOverlay();
virtual void setLocation(const WebRect&);
virtual int value() const;
virtual void setValue(int position);
@@ -74,6 +75,8 @@
virtual int visibleWidth() const;
virtual WebCore::IntSize contentsSize() const;
virtual WebCore::IntSize overhangAmount() const;
+ virtual void scrollbarStyleChanged();
+ virtual bool isOnActivePage() const;
private:
bool onMouseDown(const WebInputEvent& event);

Powered by Google App Engine
This is Rietveld 408576698