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

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

Issue 264013002: Allow layers that need squashing to draw into the squashing layer in some cases. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Adjust. 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
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 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 // the <html> layer and the root layer). 240 // the <html> layer and the root layer).
241 RenderLayer* enclosingPositionedAncestor() const; 241 RenderLayer* enclosingPositionedAncestor() const;
242 242
243 RenderLayer* enclosingOverflowClipLayer(IncludeSelfOrNot = IncludeSelf) cons t; 243 RenderLayer* enclosingOverflowClipLayer(IncludeSelfOrNot = IncludeSelf) cons t;
244 244
245 // Enclosing compositing layer; if includeSelf is true, may return this. 245 // Enclosing compositing layer; if includeSelf is true, may return this.
246 RenderLayer* enclosingCompositingLayer(IncludeSelfOrNot = IncludeSelf) const ; 246 RenderLayer* enclosingCompositingLayer(IncludeSelfOrNot = IncludeSelf) const ;
247 RenderLayer* enclosingCompositingLayerForRepaint(IncludeSelfOrNot = IncludeS elf) const; 247 RenderLayer* enclosingCompositingLayerForRepaint(IncludeSelfOrNot = IncludeS elf) const;
248 // Ancestor compositing layer, excluding this. 248 // Ancestor compositing layer, excluding this.
249 RenderLayer* ancestorCompositingLayer() const { return enclosingCompositingL ayer(ExcludeSelf); } 249 RenderLayer* ancestorCompositingLayer() const { return enclosingCompositingL ayer(ExcludeSelf); }
250 RenderLayer* containingGroupedLayer() const;
250 251
251 // Ancestor composited scrolling layer at or above our containing block. 252 // Ancestor composited scrolling layer at or above our containing block.
252 RenderLayer* ancestorCompositedScrollingLayer() const; 253 RenderLayer* ancestorCompositedScrollingLayer() const;
253 254
254 // Ancestor scrolling layer at or above our containing block. 255 // Ancestor scrolling layer at or above our containing block.
255 RenderLayer* ancestorScrollingLayer() const; 256 RenderLayer* ancestorScrollingLayer() const;
256 257
257 RenderLayer* enclosingFilterLayer(IncludeSelfOrNot = IncludeSelf) const; 258 RenderLayer* enclosingFilterLayer(IncludeSelfOrNot = IncludeSelf) const;
258 bool hasAncestorWithFilterOutsets() const; 259 bool hasAncestorWithFilterOutsets() const;
259 260
(...skipping 507 matching lines...) Expand 10 before | Expand all | Expand 10 after
767 768
768 } // namespace WebCore 769 } // namespace WebCore
769 770
770 #ifndef NDEBUG 771 #ifndef NDEBUG
771 // Outside the WebCore namespace for ease of invocation from gdb. 772 // Outside the WebCore namespace for ease of invocation from gdb.
772 void showLayerTree(const WebCore::RenderLayer*); 773 void showLayerTree(const WebCore::RenderLayer*);
773 void showLayerTree(const WebCore::RenderObject*); 774 void showLayerTree(const WebCore::RenderObject*);
774 #endif 775 #endif
775 776
776 #endif // RenderLayer_h 777 #endif // RenderLayer_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/rendering/RenderLayer.cpp » ('j') | Source/core/rendering/RenderLayer.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698