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

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

Issue 845093002: Delete an assortment of unneeded paint invalidation code. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « sky/engine/core/rendering/RenderImage.cpp ('k') | sky/engine/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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 void updateLayerPositionsAfterLayout(); 121 void updateLayerPositionsAfterLayout();
122 122
123 void updateTransformationMatrix(); 123 void updateTransformationMatrix();
124 RenderLayer* renderingContextRoot(); 124 RenderLayer* renderingContextRoot();
125 125
126 // Our current relative position offset. 126 // Our current relative position offset.
127 const LayoutSize offsetForInFlowPosition() const; 127 const LayoutSize offsetForInFlowPosition() const;
128 128
129 void addBlockSelectionGapsBounds(const LayoutRect&); 129 void addBlockSelectionGapsBounds(const LayoutRect&);
130 void clearBlockSelectionGapsBounds(); 130 void clearBlockSelectionGapsBounds();
131 void invalidatePaintForBlockSelectionGaps();
132 IntRect blockSelectionGapsBounds() const; 131 IntRect blockSelectionGapsBounds() const;
133 132
134 RenderLayerStackingNode* stackingNode() { return m_stackingNode.get(); } 133 RenderLayerStackingNode* stackingNode() { return m_stackingNode.get(); }
135 const RenderLayerStackingNode* stackingNode() const { return m_stackingNode. get(); } 134 const RenderLayerStackingNode* stackingNode() const { return m_stackingNode. get(); }
136 135
137 bool hasBoxDecorationsOrBackground() const; 136 bool hasBoxDecorationsOrBackground() const;
138 bool hasVisibleBoxDecorations() const; 137 bool hasVisibleBoxDecorations() const;
139 // Returns true if this layer has visible content (ignoring any child layers ). 138 // Returns true if this layer has visible content (ignoring any child layers ).
140 bool isVisuallyNonEmpty() const; 139 bool isVisuallyNonEmpty() const;
141 // True if this layer container renderers that paint. 140 // True if this layer container renderers that paint.
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after
560 559
561 } // namespace blink 560 } // namespace blink
562 561
563 #ifndef NDEBUG 562 #ifndef NDEBUG
564 // Outside the WebCore namespace for ease of invocation from gdb. 563 // Outside the WebCore namespace for ease of invocation from gdb.
565 void showLayerTree(const blink::RenderLayer*); 564 void showLayerTree(const blink::RenderLayer*);
566 void showLayerTree(const blink::RenderObject*); 565 void showLayerTree(const blink::RenderObject*);
567 #endif 566 #endif
568 567
569 #endif // SKY_ENGINE_CORE_RENDERING_RENDERLAYER_H_ 568 #endif // SKY_ENGINE_CORE_RENDERING_RENDERLAYER_H_
OLDNEW
« no previous file with comments | « sky/engine/core/rendering/RenderImage.cpp ('k') | sky/engine/core/rendering/RenderLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698