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

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

Issue 267253005: Remove unused RenderLayer accessors (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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 | « no previous file | no next file » | 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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 118
119 void addChild(RenderLayer* newChild, RenderLayer* beforeChild = 0); 119 void addChild(RenderLayer* newChild, RenderLayer* beforeChild = 0);
120 RenderLayer* removeChild(RenderLayer*); 120 RenderLayer* removeChild(RenderLayer*);
121 121
122 void removeOnlyThisLayer(); 122 void removeOnlyThisLayer();
123 void insertOnlyThisLayer(); 123 void insertOnlyThisLayer();
124 124
125 void styleChanged(StyleDifference, const RenderStyle* oldStyle); 125 void styleChanged(StyleDifference, const RenderStyle* oldStyle);
126 126
127 bool isSelfPaintingLayer() const { return m_isSelfPaintingLayer; } 127 bool isSelfPaintingLayer() const { return m_isSelfPaintingLayer; }
128 bool isOverflowOnlyLayer() const { return m_layerType == OverflowClipLayer; }
129 bool isForcedLayer() const { return m_layerType == ForcedLayer; }
130 128
131 void setLayerType(LayerType layerType) { m_layerType = layerType; } 129 void setLayerType(LayerType layerType) { m_layerType = layerType; }
132 130
133 bool cannotBlitToWindow() const; 131 bool cannotBlitToWindow() const;
134 132
135 bool isTransparent() const; 133 bool isTransparent() const;
136 RenderLayer* transparentPaintingAncestor(); 134 RenderLayer* transparentPaintingAncestor();
137 void beginTransparencyLayers(GraphicsContext*, const RenderLayer* rootLayer, const LayoutRect& paintDirtyRect, const LayoutSize& subPixelAccumulation, Paint Behavior); 135 void beginTransparencyLayers(GraphicsContext*, const RenderLayer* rootLayer, const LayoutRect& paintDirtyRect, const LayoutSize& subPixelAccumulation, Paint Behavior);
138 136
139 bool isReflection() const { return renderer()->isReplica(); } 137 bool isReflection() const { return renderer()->isReplica(); }
(...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after
765 763
766 } // namespace WebCore 764 } // namespace WebCore
767 765
768 #ifndef NDEBUG 766 #ifndef NDEBUG
769 // Outside the WebCore namespace for ease of invocation from gdb. 767 // Outside the WebCore namespace for ease of invocation from gdb.
770 void showLayerTree(const WebCore::RenderLayer*); 768 void showLayerTree(const WebCore::RenderLayer*);
771 void showLayerTree(const WebCore::RenderObject*); 769 void showLayerTree(const WebCore::RenderObject*);
772 #endif 770 #endif
773 771
774 #endif // RenderLayer_h 772 #endif // RenderLayer_h
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698