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

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

Issue 647903002: Remove RenderObject::checkForPaintInvalidation() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 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) 2000 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) 3 * (C) 2000 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com)
6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. All r ights reserved. 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. All r ights reserved.
7 * Copyright (C) 2009 Google Inc. All rights reserved. 7 * Copyright (C) 2009 Google Inc. All rights reserved.
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 837 matching lines...) Expand 10 before | Expand all | Expand 10 after
848 void invalidateSelectionIfNeeded(const RenderLayerModelObject&); 848 void invalidateSelectionIfNeeded(const RenderLayerModelObject&);
849 849
850 // Walk the tree after layout issuing paint invalidations for renderers that have changed or moved, updating bounds that have changed, and clearing paint in validation state. 850 // Walk the tree after layout issuing paint invalidations for renderers that have changed or moved, updating bounds that have changed, and clearing paint in validation state.
851 virtual void invalidateTreeIfNeeded(const PaintInvalidationState&); 851 virtual void invalidateTreeIfNeeded(const PaintInvalidationState&);
852 852
853 virtual void invalidatePaintForOverflow(); 853 virtual void invalidatePaintForOverflow();
854 void invalidatePaintForOverflowIfNeeded(); 854 void invalidatePaintForOverflowIfNeeded();
855 855
856 void invalidatePaintIncludingNonCompositingDescendants(); 856 void invalidatePaintIncludingNonCompositingDescendants();
857 857
858 bool checkForPaintInvalidation() const;
859
860 // Returns the rect that should have paint invalidated whenever this object changes. The rect is in the view's 858 // Returns the rect that should have paint invalidated whenever this object changes. The rect is in the view's
861 // coordinate space. This method deals with outlines and overflow. 859 // coordinate space. This method deals with outlines and overflow.
862 LayoutRect absoluteClippedOverflowRect() const; 860 LayoutRect absoluteClippedOverflowRect() const;
863 IntRect pixelSnappedAbsoluteClippedOverflowRect() const; 861 IntRect pixelSnappedAbsoluteClippedOverflowRect() const;
864 virtual LayoutRect clippedOverflowRectForPaintInvalidation(const RenderLayer ModelObject* paintInvalidationContainer, const PaintInvalidationState* = 0) cons t; 862 virtual LayoutRect clippedOverflowRectForPaintInvalidation(const RenderLayer ModelObject* paintInvalidationContainer, const PaintInvalidationState* = 0) cons t;
865 virtual LayoutRect rectWithOutlineForPaintInvalidation(const RenderLayerMode lObject* paintInvalidationContainer, LayoutUnit outlineWidth, const PaintInvalid ationState* = 0) const; 863 virtual LayoutRect rectWithOutlineForPaintInvalidation(const RenderLayerMode lObject* paintInvalidationContainer, LayoutUnit outlineWidth, const PaintInvalid ationState* = 0) const;
866 864
867 // Given a rect in the object's coordinate space, compute a rect suitable fo r invalidating paints of 865 // Given a rect in the object's coordinate space, compute a rect suitable fo r invalidating paints of
868 // that rect in the coordinate space of paintInvalidationContainer. 866 // that rect in the coordinate space of paintInvalidationContainer.
869 virtual void mapRectToPaintInvalidationBacking(const RenderLayerModelObject* paintInvalidationContainer, LayoutRect&, const PaintInvalidationState*) const; 867 virtual void mapRectToPaintInvalidationBacking(const RenderLayerModelObject* paintInvalidationContainer, LayoutRect&, const PaintInvalidationState*) const;
(...skipping 670 matching lines...) Expand 10 before | Expand all | Expand 10 after
1540 void showTree(const blink::RenderObject*); 1538 void showTree(const blink::RenderObject*);
1541 void showLineTree(const blink::RenderObject*); 1539 void showLineTree(const blink::RenderObject*);
1542 void showRenderTree(const blink::RenderObject* object1); 1540 void showRenderTree(const blink::RenderObject* object1);
1543 // We don't make object2 an optional parameter so that showRenderTree 1541 // We don't make object2 an optional parameter so that showRenderTree
1544 // can be called from gdb easily. 1542 // can be called from gdb easily.
1545 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec t* object2); 1543 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec t* object2);
1546 1544
1547 #endif 1545 #endif
1548 1546
1549 #endif // RenderObject_h 1547 #endif // RenderObject_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698