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

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

Issue 823123003: Delete PaintInvalidationState. It's unused. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: proper diff Created 5 years, 11 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
« no previous file with comments | « sky/engine/core/rendering/RenderInline.cpp ('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 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 216
217 void filterNeedsPaintInvalidation(); 217 void filterNeedsPaintInvalidation();
218 bool hasFilter() const { return renderer()->hasFilter(); } 218 bool hasFilter() const { return renderer()->hasFilter(); }
219 219
220 void* operator new(size_t); 220 void* operator new(size_t);
221 // Only safe to call from RenderLayerModelObject::destroyLayer() 221 // Only safe to call from RenderLayerModelObject::destroyLayer()
222 void operator delete(void*); 222 void operator delete(void*);
223 223
224 bool needsCompositedScrolling() const { return m_scrollableArea && m_scrolla bleArea->needsCompositedScrolling(); } 224 bool needsCompositedScrolling() const { return m_scrollableArea && m_scrolla bleArea->needsCompositedScrolling(); }
225 225
226 // Computes the position of the given render object in the space of |paintIn validationContainer|.
227 // FIXME: invert the logic to have paint invalidation containers take care o f painting objects into them, rather than the reverse.
228 // This will allow us to clean up this static method messiness.
229 static LayoutPoint positionFromPaintInvalidationContainer(const RenderObject *, const RenderLayerModelObject* paintInvalidationContainer, const PaintInvalida tionState* = 0);
230
231 bool paintsWithTransform() const; 226 bool paintsWithTransform() const;
232 227
233 // Returns true if background phase is painted opaque in the given rect. 228 // Returns true if background phase is painted opaque in the given rect.
234 // The query rect is given in local coordinates. 229 // The query rect is given in local coordinates.
235 bool backgroundIsKnownToBeOpaqueInRect(const LayoutRect&) const; 230 bool backgroundIsKnownToBeOpaqueInRect(const LayoutRect&) const;
236 231
237 bool containsDirtyOverlayScrollbars() const { return m_containsDirtyOverlayS crollbars; } 232 bool containsDirtyOverlayScrollbars() const { return m_containsDirtyOverlayS crollbars; }
238 void setContainsDirtyOverlayScrollbars(bool dirtyScrollbars) { m_containsDir tyOverlayScrollbars = dirtyScrollbars; } 233 void setContainsDirtyOverlayScrollbars(bool dirtyScrollbars) { m_containsDir tyOverlayScrollbars = dirtyScrollbars; }
239 234
240 FilterOperations computeFilterOperations(const RenderStyle*); 235 FilterOperations computeFilterOperations(const RenderStyle*);
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 540
546 } // namespace blink 541 } // namespace blink
547 542
548 #ifndef NDEBUG 543 #ifndef NDEBUG
549 // Outside the WebCore namespace for ease of invocation from gdb. 544 // Outside the WebCore namespace for ease of invocation from gdb.
550 void showLayerTree(const blink::RenderLayer*); 545 void showLayerTree(const blink::RenderLayer*);
551 void showLayerTree(const blink::RenderObject*); 546 void showLayerTree(const blink::RenderObject*);
552 #endif 547 #endif
553 548
554 #endif // SKY_ENGINE_CORE_RENDERING_RENDERLAYER_H_ 549 #endif // SKY_ENGINE_CORE_RENDERING_RENDERLAYER_H_
OLDNEW
« no previous file with comments | « sky/engine/core/rendering/RenderInline.cpp ('k') | sky/engine/core/rendering/RenderLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698