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

Side by Side Diff: Source/core/rendering/RenderLayer.h

Issue 14703004: Reland "Unifies ScrollView and RenderLayer to use non-shi..." (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 7 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/platform/mac/ScrollAnimatorMac.mm ('k') | Source/core/rendering/RenderLayer.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1003 matching lines...) Expand 10 before | Expand all | Expand 10 after
1014 virtual IntSize contentsSize() const; 1014 virtual IntSize contentsSize() const;
1015 virtual IntSize overhangAmount() const; 1015 virtual IntSize overhangAmount() const;
1016 virtual IntPoint lastKnownMousePosition() const; 1016 virtual IntPoint lastKnownMousePosition() const;
1017 virtual bool shouldSuspendScrollAnimations() const; 1017 virtual bool shouldSuspendScrollAnimations() const;
1018 virtual bool scrollbarsCanBeActive() const; 1018 virtual bool scrollbarsCanBeActive() const;
1019 virtual IntRect scrollableAreaBoundingBox() const OVERRIDE; 1019 virtual IntRect scrollableAreaBoundingBox() const OVERRIDE;
1020 1020
1021 // Rectangle encompassing the scroll corner and resizer rect. 1021 // Rectangle encompassing the scroll corner and resizer rect.
1022 IntRect scrollCornerAndResizerRect() const; 1022 IntRect scrollCornerAndResizerRect() const;
1023 1023
1024 // NOTE: This should only be called by the overriden setScrollOffset from Sc rollableArea.
1025 void scrollTo(int, int);
1026 void updateCompositingLayersAfterScroll(); 1024 void updateCompositingLayersAfterScroll();
1027 1025
1028 IntSize scrollbarOffset(const Scrollbar*) const; 1026 IntSize scrollbarOffset(const Scrollbar*) const;
1029 1027
1030 void updateResizerAreaSet(); 1028 void updateResizerAreaSet();
1031 void updateScrollableAreaSet(bool hasOverflow); 1029 void updateScrollableAreaSet(bool hasOverflow);
1032 1030
1033 void dirtyAncestorChainVisibleDescendantStatus(); 1031 void dirtyAncestorChainVisibleDescendantStatus();
1034 void setAncestorChainHasVisibleDescendant(); 1032 void setAncestorChainHasVisibleDescendant();
1035 1033
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
1317 1315
1318 } // namespace WebCore 1316 } // namespace WebCore
1319 1317
1320 #ifndef NDEBUG 1318 #ifndef NDEBUG
1321 // Outside the WebCore namespace for ease of invocation from gdb. 1319 // Outside the WebCore namespace for ease of invocation from gdb.
1322 void showLayerTree(const WebCore::RenderLayer*); 1320 void showLayerTree(const WebCore::RenderLayer*);
1323 void showLayerTree(const WebCore::RenderObject*); 1321 void showLayerTree(const WebCore::RenderObject*);
1324 #endif 1322 #endif
1325 1323
1326 #endif // RenderLayer_h 1324 #endif // RenderLayer_h
OLDNEW
« no previous file with comments | « Source/core/platform/mac/ScrollAnimatorMac.mm ('k') | Source/core/rendering/RenderLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698