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

Unified Diff: Source/web/ScrollbarGroup.h

Issue 16982005: Allow objects without scrollbars to be scrollable (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed ScrollbarGroup pageStep Created 7 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
« no previous file with comments | « Source/core/rendering/RenderListBox.cpp ('k') | Source/web/ScrollbarGroup.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/ScrollbarGroup.h
diff --git a/Source/web/ScrollbarGroup.h b/Source/web/ScrollbarGroup.h
index 9159e4049283a2f7d0b30e8d4adde6a0c87cfe85..838338044b68d6b9c9cfc2c92773da719f7cb63c 100644
--- a/Source/web/ScrollbarGroup.h
+++ b/Source/web/ScrollbarGroup.h
@@ -50,7 +50,6 @@ public:
// WebCore::ScrollableArea methods
virtual int scrollSize(WebCore::ScrollbarOrientation) const OVERRIDE;
- virtual int scrollPosition(WebCore::Scrollbar*) const OVERRIDE;
virtual void setScrollOffset(const WebCore::IntPoint&) OVERRIDE;
virtual void invalidateScrollbarRect(WebCore::Scrollbar*, const WebCore::IntRect&) OVERRIDE;
virtual void invalidateScrollCornerRect(const WebCore::IntRect&) OVERRIDE;
@@ -74,6 +73,8 @@ public:
virtual void scrollbarStyleChanged(int newStyle, bool forceUpdate) OVERRIDE;
virtual bool scrollbarsCanBeActive() const OVERRIDE;
virtual WebCore::IntRect scrollableAreaBoundingBox() const OVERRIDE;
+ virtual bool userInputScrollable(WebCore::ScrollbarOrientation) const OVERRIDE;
+ virtual int pageStep(WebCore::ScrollbarOrientation) const OVERRIDE;
private:
WebCore::FrameView* m_frameView;
« no previous file with comments | « Source/core/rendering/RenderListBox.cpp ('k') | Source/web/ScrollbarGroup.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698