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

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

Issue 209543002: Revert of Don't rely on values computed as a side effect of paint. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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 | « LayoutTests/TestExpectations ('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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 192
193 void updateTransform(); 193 void updateTransform();
194 void update3dRenderingContext(); 194 void update3dRenderingContext();
195 RenderLayer* renderingContextRoot() const { return m_3dRenderingContextRoot; } 195 RenderLayer* renderingContextRoot() const { return m_3dRenderingContextRoot; }
196 196
197 const LayoutSize& offsetForInFlowPosition() const { return m_offsetForInFlow Position; } 197 const LayoutSize& offsetForInFlowPosition() const { return m_offsetForInFlow Position; }
198 198
199 void addBlockSelectionGapsBounds(const LayoutRect&); 199 void addBlockSelectionGapsBounds(const LayoutRect&);
200 void clearBlockSelectionGapsBounds(); 200 void clearBlockSelectionGapsBounds();
201 void repaintBlockSelectionGaps(); 201 void repaintBlockSelectionGaps();
202 bool hasBlockSelectionGapBounds() const;
202 203
203 RenderLayerStackingNode* stackingNode() { return m_stackingNode.get(); } 204 RenderLayerStackingNode* stackingNode() { return m_stackingNode.get(); }
204 const RenderLayerStackingNode* stackingNode() const { return m_stackingNode. get(); } 205 const RenderLayerStackingNode* stackingNode() const { return m_stackingNode. get(); }
205 206
206 bool subtreeIsInvisible() const { return !hasVisibleContent() && !hasVisible Descendant(); } 207 bool subtreeIsInvisible() const { return !hasVisibleContent() && !hasVisible Descendant(); }
207 208
208 // FIXME: We should ASSERT(!m_visibleContentStatusDirty) here, but see https ://bugs.webkit.org/show_bug.cgi?id=71044 209 // FIXME: We should ASSERT(!m_visibleContentStatusDirty) here, but see https ://bugs.webkit.org/show_bug.cgi?id=71044
209 // ditto for hasVisibleDescendant(), see https://bugs.webkit.org/show_bug.cg i?id=71277 210 // ditto for hasVisibleDescendant(), see https://bugs.webkit.org/show_bug.cg i?id=71277
210 bool hasVisibleContent() const { return m_hasVisibleContent; } 211 bool hasVisibleContent() const { return m_hasVisibleContent; }
211 bool hasVisibleDescendant() const { return m_hasVisibleDescendant; } 212 bool hasVisibleDescendant() const { return m_hasVisibleDescendant; }
(...skipping 583 matching lines...) Expand 10 before | Expand all | Expand 10 after
795 796
796 } // namespace WebCore 797 } // namespace WebCore
797 798
798 #ifndef NDEBUG 799 #ifndef NDEBUG
799 // Outside the WebCore namespace for ease of invocation from gdb. 800 // Outside the WebCore namespace for ease of invocation from gdb.
800 void showLayerTree(const WebCore::RenderLayer*); 801 void showLayerTree(const WebCore::RenderLayer*);
801 void showLayerTree(const WebCore::RenderObject*); 802 void showLayerTree(const WebCore::RenderObject*);
802 #endif 803 #endif
803 804
804 #endif // RenderLayer_h 805 #endif // RenderLayer_h
OLDNEW
« no previous file with comments | « LayoutTests/TestExpectations ('k') | Source/core/rendering/RenderLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698