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

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

Issue 456963002: Delete RenderLayer::setHasVisibleContent (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove dangling declaration Created 6 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 * 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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 const RenderLayerStackingNode* stackingNode() const { return m_stackingNode. get(); } 169 const RenderLayerStackingNode* stackingNode() const { return m_stackingNode. get(); }
170 170
171 bool subtreeIsInvisible() const { return !hasVisibleContent() && !hasVisible Descendant(); } 171 bool subtreeIsInvisible() const { return !hasVisibleContent() && !hasVisible Descendant(); }
172 172
173 // FIXME: hasVisibleContent() should call updateDescendantDependentFlags() i f m_visibleContentStatusDirty. 173 // FIXME: hasVisibleContent() should call updateDescendantDependentFlags() i f m_visibleContentStatusDirty.
174 bool hasVisibleContent() const { ASSERT(!m_visibleContentStatusDirty); retur n m_hasVisibleContent; } 174 bool hasVisibleContent() const { ASSERT(!m_visibleContentStatusDirty); retur n m_hasVisibleContent; }
175 175
176 // FIXME: hasVisibleDescendant() should call updateDescendantDependentFlags( ) if m_visibleDescendantStatusDirty. 176 // FIXME: hasVisibleDescendant() should call updateDescendantDependentFlags( ) if m_visibleDescendantStatusDirty.
177 bool hasVisibleDescendant() const { ASSERT(!m_visibleDescendantStatusDirty); return m_hasVisibleDescendant; } 177 bool hasVisibleDescendant() const { ASSERT(!m_visibleDescendantStatusDirty); return m_hasVisibleDescendant; }
178 178
179 void setHasVisibleContent();
180 void dirtyVisibleContentStatus(); 179 void dirtyVisibleContentStatus();
181 void potentiallyDirtyVisibleContentStatus(EVisibility); 180 void potentiallyDirtyVisibleContentStatus(EVisibility);
182 181
183 bool hasBoxDecorationsOrBackground() const; 182 bool hasBoxDecorationsOrBackground() const;
184 bool hasVisibleBoxDecorations() const; 183 bool hasVisibleBoxDecorations() const;
185 // Returns true if this layer has visible content (ignoring any child layers ). 184 // Returns true if this layer has visible content (ignoring any child layers ).
186 bool isVisuallyNonEmpty() const; 185 bool isVisuallyNonEmpty() const;
187 // True if this layer container renderers that paint. 186 // True if this layer container renderers that paint.
188 bool hasNonEmptyChildRenderers() const; 187 bool hasNonEmptyChildRenderers() const;
189 188
(...skipping 545 matching lines...) Expand 10 before | Expand all | Expand 10 after
735 734
736 } // namespace blink 735 } // namespace blink
737 736
738 #ifndef NDEBUG 737 #ifndef NDEBUG
739 // Outside the WebCore namespace for ease of invocation from gdb. 738 // Outside the WebCore namespace for ease of invocation from gdb.
740 void showLayerTree(const blink::RenderLayer*); 739 void showLayerTree(const blink::RenderLayer*);
741 void showLayerTree(const blink::RenderObject*); 740 void showLayerTree(const blink::RenderObject*);
742 #endif 741 #endif
743 742
744 #endif // RenderLayer_h 743 #endif // RenderLayer_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698