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

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

Issue 763013002: Get rid of the remaining uses of GraphicsLayer. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: fix diff Created 6 years 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/page/ChromeClient.h ('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 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 // FIXME: reflections should force transform-style to be flat in the style: https://bugs.webkit.org/show_bug.cgi?id=106959 253 // FIXME: reflections should force transform-style to be flat in the style: https://bugs.webkit.org/show_bug.cgi?id=106959
254 bool shouldPreserve3D() const { return renderer()->style()->transformStyle3D () == TransformStyle3DPreserve3D; } 254 bool shouldPreserve3D() const { return renderer()->style()->transformStyle3D () == TransformStyle3DPreserve3D; }
255 255
256 void filterNeedsPaintInvalidation(); 256 void filterNeedsPaintInvalidation();
257 bool hasFilter() const { return renderer()->hasFilter(); } 257 bool hasFilter() const { return renderer()->hasFilter(); }
258 258
259 void* operator new(size_t); 259 void* operator new(size_t);
260 // Only safe to call from RenderLayerModelObject::destroyLayer() 260 // Only safe to call from RenderLayerModelObject::destroyLayer()
261 void operator delete(void*); 261 void operator delete(void*);
262 262
263 GraphicsLayer* graphicsLayerBacking() const;
264
265 bool hasCompositedMask() const; 263 bool hasCompositedMask() const;
266 bool hasCompositedClippingMask() const; 264 bool hasCompositedClippingMask() const;
267 bool needsCompositedScrolling() const { return m_scrollableArea && m_scrolla bleArea->needsCompositedScrolling(); } 265 bool needsCompositedScrolling() const { return m_scrollableArea && m_scrolla bleArea->needsCompositedScrolling(); }
268 266
269 bool clipsCompositingDescendantsWithBorderRadius() const; 267 bool clipsCompositingDescendantsWithBorderRadius() const;
270 268
271 // Computes the position of the given render object in the space of |paintIn validationContainer|. 269 // Computes the position of the given render object in the space of |paintIn validationContainer|.
272 // FIXME: invert the logic to have paint invalidation containers take care o f painting objects into them, rather than the reverse. 270 // FIXME: invert the logic to have paint invalidation containers take care o f painting objects into them, rather than the reverse.
273 // This will allow us to clean up this static method messiness. 271 // This will allow us to clean up this static method messiness.
274 static LayoutPoint positionFromPaintInvalidationContainer(const RenderObject *, const RenderLayerModelObject* paintInvalidationContainer, const PaintInvalida tionState* = 0); 272 static LayoutPoint positionFromPaintInvalidationContainer(const RenderObject *, const RenderLayerModelObject* paintInvalidationContainer, const PaintInvalida tionState* = 0);
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
623 621
624 } // namespace blink 622 } // namespace blink
625 623
626 #ifndef NDEBUG 624 #ifndef NDEBUG
627 // Outside the WebCore namespace for ease of invocation from gdb. 625 // Outside the WebCore namespace for ease of invocation from gdb.
628 void showLayerTree(const blink::RenderLayer*); 626 void showLayerTree(const blink::RenderLayer*);
629 void showLayerTree(const blink::RenderObject*); 627 void showLayerTree(const blink::RenderObject*);
630 #endif 628 #endif
631 629
632 #endif // SKY_ENGINE_CORE_RENDERING_RENDERLAYER_H_ 630 #endif // SKY_ENGINE_CORE_RENDERING_RENDERLAYER_H_
OLDNEW
« no previous file with comments | « sky/engine/core/page/ChromeClient.h ('k') | sky/engine/core/rendering/RenderLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698