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

Side by Side Diff: Source/core/paint/DeprecatedPaintLayerScrollableArea.h

Issue 1318603005: Revert of Replace pinch scrollbars with regular scrollbars. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 3 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 void dispose(); 78 void dispose();
79 79
80 bool hasHorizontalScrollbar() const { return horizontalScrollbar(); } 80 bool hasHorizontalScrollbar() const { return horizontalScrollbar(); }
81 bool hasVerticalScrollbar() const { return verticalScrollbar(); } 81 bool hasVerticalScrollbar() const { return verticalScrollbar(); }
82 82
83 Scrollbar* horizontalScrollbar() const override { return m_hBar.get(); } 83 Scrollbar* horizontalScrollbar() const override { return m_hBar.get(); }
84 Scrollbar* verticalScrollbar() const override { return m_vBar.get(); } 84 Scrollbar* verticalScrollbar() const override { return m_vBar.get(); }
85 85
86 HostWindow* hostWindow() const override; 86 HostWindow* hostWindow() const override;
87 87
88 GraphicsLayer* layerForScrollbarContainer() const override;
89 GraphicsLayer* layerForScrolling() const override; 88 GraphicsLayer* layerForScrolling() const override;
90 GraphicsLayer* layerForHorizontalScrollbar() const override; 89 GraphicsLayer* layerForHorizontalScrollbar() const override;
91 GraphicsLayer* layerForVerticalScrollbar() const override; 90 GraphicsLayer* layerForVerticalScrollbar() const override;
92 GraphicsLayer* layerForScrollCorner() const override; 91 GraphicsLayer* layerForScrollCorner() const override;
93 bool usesCompositedScrolling() const override; 92 bool usesCompositedScrolling() const override;
94 void invalidateScrollbarRect(Scrollbar*, const IntRect&) override; 93 void invalidateScrollbarRect(Scrollbar*, const IntRect&) override;
95 void invalidateScrollCornerRect(const IntRect&) override; 94 void invalidateScrollCornerRect(const IntRect&) override;
96 bool shouldUseIntegerScrollOffset() const override; 95 bool shouldUseIntegerScrollOffset() const override;
97 bool isActive() const override; 96 bool isActive() const override;
98 bool isScrollCornerVisible() const override; 97 bool isScrollCornerVisible() const override;
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 LayoutScrollbarPart* m_resizer; 300 LayoutScrollbarPart* m_resizer;
302 301
303 #if ENABLE(ASSERT) 302 #if ENABLE(ASSERT)
304 bool m_hasBeenDisposed; 303 bool m_hasBeenDisposed;
305 #endif 304 #endif
306 }; 305 };
307 306
308 } // namespace blink 307 } // namespace blink
309 308
310 #endif // LayerScrollableArea_h 309 #endif // LayerScrollableArea_h
OLDNEW
« no previous file with comments | « Source/core/page/scrolling/ScrollingCoordinator.cpp ('k') | Source/core/paint/DeprecatedPaintLayerScrollableArea.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698