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

Side by Side Diff: sky/engine/core/rendering/RenderLayerScrollableArea.h

Issue 681023002: Remove a bunch of frame-level scrolling machinery. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 virtual void setScrollOffset(const IntPoint&) override; 90 virtual void setScrollOffset(const IntPoint&) override;
91 virtual IntPoint scrollPosition() const override; 91 virtual IntPoint scrollPosition() const override;
92 virtual IntPoint minimumScrollPosition() const override; 92 virtual IntPoint minimumScrollPosition() const override;
93 virtual IntPoint maximumScrollPosition() const override; 93 virtual IntPoint maximumScrollPosition() const override;
94 virtual IntRect visibleContentRect(IncludeScrollbarsInRect) const override; 94 virtual IntRect visibleContentRect(IncludeScrollbarsInRect) const override;
95 virtual int visibleHeight() const override; 95 virtual int visibleHeight() const override;
96 virtual int visibleWidth() const override; 96 virtual int visibleWidth() const override;
97 virtual IntSize contentsSize() const override; 97 virtual IntSize contentsSize() const override;
98 virtual IntSize overhangAmount() const override; 98 virtual IntSize overhangAmount() const override;
99 virtual IntPoint lastKnownMousePosition() const override; 99 virtual IntPoint lastKnownMousePosition() const override;
100 virtual bool scrollbarsCanBeActive() const override;
101 virtual IntRect scrollableAreaBoundingBox() const override; 100 virtual IntRect scrollableAreaBoundingBox() const override;
102 virtual bool userInputScrollable(ScrollbarOrientation) const override; 101 virtual bool userInputScrollable(ScrollbarOrientation) const override;
103 virtual bool shouldPlaceVerticalScrollbarOnLeft() const override; 102 virtual bool shouldPlaceVerticalScrollbarOnLeft() const override;
104 virtual int pageStep(ScrollbarOrientation) const override; 103 virtual int pageStep(ScrollbarOrientation) const override;
105 104
106 int scrollXOffset() const { return m_scrollOffset.width() + scrollOrigin().x (); } 105 int scrollXOffset() const { return m_scrollOffset.width() + scrollOrigin().x (); }
107 int scrollYOffset() const { return m_scrollOffset.height() + scrollOrigin(). y(); } 106 int scrollYOffset() const { return m_scrollOffset.height() + scrollOrigin(). y(); }
108 107
109 IntSize scrollOffset() const { return m_scrollOffset; } 108 IntSize scrollOffset() const { return m_scrollOffset; }
110 109
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 IntPoint m_cachedOverlayScrollbarOffset; 236 IntPoint m_cachedOverlayScrollbarOffset;
238 237
239 // For areas with overflow, we have a pair of scrollbars. 238 // For areas with overflow, we have a pair of scrollbars.
240 RefPtr<Scrollbar> m_hBar; 239 RefPtr<Scrollbar> m_hBar;
241 RefPtr<Scrollbar> m_vBar; 240 RefPtr<Scrollbar> m_vBar;
242 }; 241 };
243 242
244 } // namespace blink 243 } // namespace blink
245 244
246 #endif // RenderLayerScrollableArea_h 245 #endif // RenderLayerScrollableArea_h
OLDNEW
« no previous file with comments | « sky/engine/core/rendering/RenderLayerClipper.cpp ('k') | sky/engine/core/rendering/RenderLayerScrollableArea.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698