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

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

Issue 20103002: Make composited scrolling codepaths co-operate. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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
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 842 matching lines...) Expand 10 before | Expand all | Expand 10 after
853 853
854 void setAncestorChainHasSelfPaintingLayerDescendant(); 854 void setAncestorChainHasSelfPaintingLayerDescendant();
855 void dirtyAncestorChainHasSelfPaintingLayerDescendantStatus(); 855 void dirtyAncestorChainHasSelfPaintingLayerDescendantStatus();
856 856
857 void setAncestorChainHasOutOfFlowPositionedDescendant(); 857 void setAncestorChainHasOutOfFlowPositionedDescendant();
858 void dirtyAncestorChainHasOutOfFlowPositionedDescendantStatus(); 858 void dirtyAncestorChainHasOutOfFlowPositionedDescendantStatus();
859 859
860 bool acceleratedCompositingForOverflowScrollEnabled() const; 860 bool acceleratedCompositingForOverflowScrollEnabled() const;
861 // FIXME: This is a temporary flag and should be removed once accelerated 861 // FIXME: This is a temporary flag and should be removed once accelerated
862 // overflow scroll is ready (crbug.com/254111). 862 // overflow scroll is ready (crbug.com/254111).
863 bool useCompositorDrivenAcceleratedScrolling() const;
863 bool compositorDrivenAcceleratedScrollingEnabled() const; 864 bool compositorDrivenAcceleratedScrollingEnabled() const;
864 bool scrollsWithRespectTo(const RenderLayer*) const; 865 bool scrollsWithRespectTo(const RenderLayer*) const;
865 void updateCanBeStackingContainer(); 866 void updateCanBeStackingContainer();
866 void collectBeforePromotionZOrderList(RenderLayer* ancestorStackingContext, OwnPtr<Vector<RenderLayer*> >& posZOrderListBeforePromote, OwnPtr<Vector<RenderL ayer*> >& negZOrderListBeforePromote); 867 void collectBeforePromotionZOrderList(RenderLayer* ancestorStackingContext, OwnPtr<Vector<RenderLayer*> >& posZOrderListBeforePromote, OwnPtr<Vector<RenderL ayer*> >& negZOrderListBeforePromote);
867 void collectAfterPromotionZOrderList(RenderLayer* ancestorStackingContext, O wnPtr<Vector<RenderLayer*> >& posZOrderListAfterPromote, OwnPtr<Vector<RenderLay er*> >& negZOrderListAfterPromote); 868 void collectAfterPromotionZOrderList(RenderLayer* ancestorStackingContext, O wnPtr<Vector<RenderLayer*> >& posZOrderListAfterPromote, OwnPtr<Vector<RenderLay er*> >& negZOrderListAfterPromote);
868 869
869 void dirtyNormalFlowListCanBePromotedToStackingContainer(); 870 void dirtyNormalFlowListCanBePromotedToStackingContainer();
870 void dirtySiblingStackingContextCanBePromotedToStackingContainer(); 871 void dirtySiblingStackingContextCanBePromotedToStackingContainer();
871 872
872 void computeRepaintRects(const RenderLayerModelObject* repaintContainer, con st RenderGeometryMap* = 0); 873 void computeRepaintRects(const RenderLayerModelObject* repaintContainer, con st RenderGeometryMap* = 0);
(...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after
1324 1325
1325 } // namespace WebCore 1326 } // namespace WebCore
1326 1327
1327 #ifndef NDEBUG 1328 #ifndef NDEBUG
1328 // Outside the WebCore namespace for ease of invocation from gdb. 1329 // Outside the WebCore namespace for ease of invocation from gdb.
1329 void showLayerTree(const WebCore::RenderLayer*); 1330 void showLayerTree(const WebCore::RenderLayer*);
1330 void showLayerTree(const WebCore::RenderObject*); 1331 void showLayerTree(const WebCore::RenderObject*);
1331 #endif 1332 #endif
1332 1333
1333 #endif // RenderLayer_h 1334 #endif // RenderLayer_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698