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

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

Issue 847303003: Delete selection paint invalidation code. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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
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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
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|. 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. 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. 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); 229 static LayoutPoint positionFromPaintInvalidationContainer(const RenderObject *, const RenderLayerModelObject* paintInvalidationContainer, const PaintInvalida tionState* = 0);
230 230
231 // Adjusts the given rect (in the coordinate space of the RenderObject) to t he coordinate space of |paintInvalidationContainer|'s GraphicsLayer backing.
232 static void mapRectToPaintInvalidationBacking(const RenderObject*, const Ren derLayerModelObject* paintInvalidationContainer, LayoutRect&, const PaintInvalid ationState* = 0);
233
234 bool paintsWithTransform() const; 231 bool paintsWithTransform() const;
235 232
236 // Returns true if background phase is painted opaque in the given rect. 233 // Returns true if background phase is painted opaque in the given rect.
237 // The query rect is given in local coordinates. 234 // The query rect is given in local coordinates.
238 bool backgroundIsKnownToBeOpaqueInRect(const LayoutRect&) const; 235 bool backgroundIsKnownToBeOpaqueInRect(const LayoutRect&) const;
239 236
240 bool containsDirtyOverlayScrollbars() const { return m_containsDirtyOverlayS crollbars; } 237 bool containsDirtyOverlayScrollbars() const { return m_containsDirtyOverlayS crollbars; }
241 void setContainsDirtyOverlayScrollbars(bool dirtyScrollbars) { m_containsDir tyOverlayScrollbars = dirtyScrollbars; } 238 void setContainsDirtyOverlayScrollbars(bool dirtyScrollbars) { m_containsDir tyOverlayScrollbars = dirtyScrollbars; }
242 239
243 FilterOperations computeFilterOperations(const RenderStyle*); 240 FilterOperations computeFilterOperations(const RenderStyle*);
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
548 545
549 } // namespace blink 546 } // namespace blink
550 547
551 #ifndef NDEBUG 548 #ifndef NDEBUG
552 // Outside the WebCore namespace for ease of invocation from gdb. 549 // Outside the WebCore namespace for ease of invocation from gdb.
553 void showLayerTree(const blink::RenderLayer*); 550 void showLayerTree(const blink::RenderLayer*);
554 void showLayerTree(const blink::RenderObject*); 551 void showLayerTree(const blink::RenderObject*);
555 #endif 552 #endif
556 553
557 #endif // SKY_ENGINE_CORE_RENDERING_RENDERLAYER_H_ 554 #endif // SKY_ENGINE_CORE_RENDERING_RENDERLAYER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698