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

Unified Diff: Source/core/rendering/RenderListBox.h

Issue 16982005: Allow objects without scrollbars to be scrollable (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: CR Fixes Created 7 years, 6 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/rendering/RenderListBox.h
diff --git a/Source/core/rendering/RenderListBox.h b/Source/core/rendering/RenderListBox.h
index 1b53fda3f2648a040a287cdeaa3f9a146ecdc34f..61d9673a776af988d192fac630042789a5214a32 100644
--- a/Source/core/rendering/RenderListBox.h
+++ b/Source/core/rendering/RenderListBox.h
@@ -104,6 +104,7 @@ private:
// ScrollableArea interface.
virtual int scrollSize(ScrollbarOrientation) const OVERRIDE;
virtual int scrollPosition(Scrollbar*) const OVERRIDE;
+ virtual IntPoint scrollPosition() const OVERRIDE;
virtual void setScrollOffset(const IntPoint&) OVERRIDE;
virtual void invalidateScrollbarRect(Scrollbar*, const IntRect&) OVERRIDE;
virtual bool isActive() const OVERRIDE;
@@ -122,6 +123,11 @@ private:
virtual bool shouldSuspendScrollAnimations() const OVERRIDE;
virtual bool scrollbarsCanBeActive() const OVERRIDE;
virtual IntPoint maximumScrollPosition() const OVERRIDE;
+ virtual bool userInputScrollable(ScrollbarOrientation) const OVERRIDE;
+ virtual int lineStep(ScrollbarOrientation) const;
+ virtual int pageStep(ScrollbarOrientation) const;
+ virtual float pixelStep(ScrollbarOrientation) const;
+
virtual ScrollableArea* enclosingScrollableArea() const OVERRIDE;
virtual IntRect scrollableAreaBoundingBox() const OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698