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

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

Issue 30383002: Merge 159961 "Defer the real work in updateCompositingLayers unt..." (Closed) Base URL: svn://svn.chromium.org/blink/branches/chromium/1675/
Patch Set: Created 7 years, 2 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/rendering/RenderGeometryMap.cpp ('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 * Copyright (C) 2013 Intel Corporation. All rights reserved. 3 * Copyright (C) 2013 Intel Corporation. All rights reserved.
4 * 4 *
5 * Portions are Copyright (C) 1998 Netscape Communications Corporation. 5 * Portions are Copyright (C) 1998 Netscape Communications Corporation.
6 * 6 *
7 * Other contributors: 7 * Other contributors:
8 * Robert O'Callahan <roc+@cs.cmu.edu> 8 * Robert O'Callahan <roc+@cs.cmu.edu>
9 * David Baron <dbaron@fas.harvard.edu> 9 * David Baron <dbaron@fas.harvard.edu>
10 * Christian Biesinger <cbiesinger@web.de> 10 * Christian Biesinger <cbiesinger@web.de>
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 UpdatePagination = 1 << 4 186 UpdatePagination = 1 << 4
187 }; 187 };
188 typedef unsigned UpdateLayerPositionsFlags; 188 typedef unsigned UpdateLayerPositionsFlags;
189 static const UpdateLayerPositionsFlags defaultFlags = CheckForRepaint | IsCo mpositingUpdateRoot | UpdateCompositingLayers; 189 static const UpdateLayerPositionsFlags defaultFlags = CheckForRepaint | IsCo mpositingUpdateRoot | UpdateCompositingLayers;
190 190
191 void updateLayerPositionsAfterLayout(const RenderLayer* rootLayer, UpdateLay erPositionsFlags); 191 void updateLayerPositionsAfterLayout(const RenderLayer* rootLayer, UpdateLay erPositionsFlags);
192 192
193 void updateLayerPositionsAfterOverflowScroll(); 193 void updateLayerPositionsAfterOverflowScroll();
194 void updateLayerPositionsAfterDocumentScroll(); 194 void updateLayerPositionsAfterDocumentScroll();
195 195
196 void positionNewlyCreatedOverflowControls();
197 196
198 bool isPaginated() const { return m_isPaginated; } 197 bool isPaginated() const { return m_isPaginated; }
199 RenderLayer* enclosingPaginationLayer() const { return m_enclosingPagination Layer; } 198 RenderLayer* enclosingPaginationLayer() const { return m_enclosingPagination Layer; }
200 199
201 void updateTransform(); 200 void updateTransform();
202 201
203 void updateBlendMode(); 202 void updateBlendMode();
204 203
205 const LayoutSize& offsetForInFlowPosition() const { return m_offsetForInFlow Position; } 204 const LayoutSize& offsetForInFlowPosition() const { return m_offsetForInFlow Position; }
206 205
(...skipping 537 matching lines...) Expand 10 before | Expand all | Expand 10 after
744 void updateOrRemoveFilterClients(); 743 void updateOrRemoveFilterClients();
745 void updateOrRemoveFilterEffectRenderer(); 744 void updateOrRemoveFilterEffectRenderer();
746 745
747 void parentClipRects(const ClipRectsContext&, ClipRects&) const; 746 void parentClipRects(const ClipRectsContext&, ClipRects&) const;
748 ClipRect backgroundClipRect(const ClipRectsContext&) const; 747 ClipRect backgroundClipRect(const ClipRectsContext&) const;
749 748
750 LayoutRect paintingExtent(const RenderLayer* rootLayer, const LayoutRect& pa intDirtyRect, PaintBehavior); 749 LayoutRect paintingExtent(const RenderLayer* rootLayer, const LayoutRect& pa intDirtyRect, PaintBehavior);
751 750
752 RenderLayer* enclosingTransformedAncestor() const; 751 RenderLayer* enclosingTransformedAncestor() const;
753 752
753 // If IntSize is not given, then we must incur additional overhead to instan tiate a RenderGeometryMap
754 // and compute the correct offset ourselves.
755 void positionOverflowControls();
754 void positionOverflowControls(const IntSize&); 756 void positionOverflowControls(const IntSize&);
755 757
756 void updatePagination(); 758 void updatePagination();
757 759
758 // FIXME: Temporary. Remove when new columns come online. 760 // FIXME: Temporary. Remove when new columns come online.
759 bool useRegionBasedColumns() const; 761 bool useRegionBasedColumns() const;
760 762
761 bool hasCompositingDescendant() const { return m_compositingProperties.hasCo mpositingDescendant; } 763 bool hasCompositingDescendant() const { return m_compositingProperties.hasCo mpositingDescendant; }
762 void setHasCompositingDescendant(bool b) { m_compositingProperties.hasCompo sitingDescendant = b; } 764 void setHasCompositingDescendant(bool b) { m_compositingProperties.hasCompo sitingDescendant = b; }
763 765
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
963 965
964 } // namespace WebCore 966 } // namespace WebCore
965 967
966 #ifndef NDEBUG 968 #ifndef NDEBUG
967 // Outside the WebCore namespace for ease of invocation from gdb. 969 // Outside the WebCore namespace for ease of invocation from gdb.
968 void showLayerTree(const WebCore::RenderLayer*); 970 void showLayerTree(const WebCore::RenderLayer*);
969 void showLayerTree(const WebCore::RenderObject*); 971 void showLayerTree(const WebCore::RenderObject*);
970 #endif 972 #endif
971 973
972 #endif // RenderLayer_h 974 #endif // RenderLayer_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderGeometryMap.cpp ('k') | Source/core/rendering/RenderLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698