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

Side by Side Diff: Source/core/layout/LayerScrollableArea.h

Issue 882813005: Respect the smooth scrolling setting in LayerScrollableArea. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 5 years, 10 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2003, 2009, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2003, 2009, 2012 Apple Inc. All rights reserved.
3 * 3 *
4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. 4 * Portions are Copyright (C) 1998 Netscape Communications Corporation.
5 * 5 *
6 * Other contributors: 6 * Other contributors:
7 * Robert O'Callahan <roc+@cs.cmu.edu> 7 * Robert O'Callahan <roc+@cs.cmu.edu>
8 * David Baron <dbaron@fas.harvard.edu> 8 * David Baron <dbaron@fas.harvard.edu>
9 * Christian Biesinger <cbiesinger@web.de> 9 * Christian Biesinger <cbiesinger@web.de>
10 * Randall Jesup <rjesup@wgate.com> 10 * Randall Jesup <rjesup@wgate.com>
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 virtual IntPoint scrollPosition() const override; 100 virtual IntPoint scrollPosition() const override;
101 virtual DoublePoint scrollPositionDouble() const override; 101 virtual DoublePoint scrollPositionDouble() const override;
102 virtual IntPoint minimumScrollPosition() const override; 102 virtual IntPoint minimumScrollPosition() const override;
103 virtual IntPoint maximumScrollPosition() const override; 103 virtual IntPoint maximumScrollPosition() const override;
104 virtual IntRect visibleContentRect(IncludeScrollbarsInRect) const override; 104 virtual IntRect visibleContentRect(IncludeScrollbarsInRect) const override;
105 virtual int visibleHeight() const override; 105 virtual int visibleHeight() const override;
106 virtual int visibleWidth() const override; 106 virtual int visibleWidth() const override;
107 virtual IntSize contentsSize() const override; 107 virtual IntSize contentsSize() const override;
108 virtual IntSize overhangAmount() const override; 108 virtual IntSize overhangAmount() const override;
109 virtual IntPoint lastKnownMousePosition() const override; 109 virtual IntPoint lastKnownMousePosition() const override;
110 virtual bool scrollAnimatorEnabled() const override;
110 virtual bool shouldSuspendScrollAnimations() const override; 111 virtual bool shouldSuspendScrollAnimations() const override;
111 virtual bool scrollbarsCanBeActive() const override; 112 virtual bool scrollbarsCanBeActive() const override;
112 virtual IntRect scrollableAreaBoundingBox() const override; 113 virtual IntRect scrollableAreaBoundingBox() const override;
113 virtual void registerForAnimation() override; 114 virtual void registerForAnimation() override;
114 virtual void deregisterForAnimation() override; 115 virtual void deregisterForAnimation() override;
115 virtual bool userInputScrollable(ScrollbarOrientation) const override; 116 virtual bool userInputScrollable(ScrollbarOrientation) const override;
116 virtual bool shouldPlaceVerticalScrollbarOnLeft() const override; 117 virtual bool shouldPlaceVerticalScrollbarOnLeft() const override;
117 virtual int pageStep(ScrollbarOrientation) const override; 118 virtual int pageStep(ScrollbarOrientation) const override;
118 119
119 double scrollXOffset() const { return m_scrollOffset.width() + scrollOrigin( ).x(); } 120 double scrollXOffset() const { return m_scrollOffset.width() + scrollOrigin( ).x(); }
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 // Renderers to hold our custom scroll corner. 281 // Renderers to hold our custom scroll corner.
281 RenderScrollbarPart* m_scrollCorner; 282 RenderScrollbarPart* m_scrollCorner;
282 283
283 // Renderers to hold our custom resizer. 284 // Renderers to hold our custom resizer.
284 RenderScrollbarPart* m_resizer; 285 RenderScrollbarPart* m_resizer;
285 }; 286 };
286 287
287 } // namespace blink 288 } // namespace blink
288 289
289 #endif // LayerScrollableArea_h 290 #endif // LayerScrollableArea_h
OLDNEW
« no previous file with comments | « LayoutTests/fast/scroll-behavior/precise-delta-no-animate-expected.txt ('k') | Source/core/layout/LayerScrollableArea.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698