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

Side by Side Diff: Source/core/layout/LayoutObject.h

Issue 1164713010: Invalidate non-composited subtree on needsPaintInvalidationLayer (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update expectations Created 5 years, 6 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
« no previous file with comments | « Source/core/frame/FrameView.cpp ('k') | Source/core/layout/LayoutObject.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) 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 853 matching lines...) Expand 10 before | Expand all | Expand 10 after
864 void invalidatePaintRectangle(const LayoutRect&) const; 864 void invalidatePaintRectangle(const LayoutRect&) const;
865 void invalidatePaintRectangleNotInvalidatingDisplayItemClients(const LayoutR ect& r) const { invalidatePaintRectangleInternal(r); } 865 void invalidatePaintRectangleNotInvalidatingDisplayItemClients(const LayoutR ect& r) const { invalidatePaintRectangleInternal(r); }
866 866
867 // Walk the tree after layout issuing paint invalidations for layoutObjects that have changed or moved, updating bounds that have changed, and clearing pain t invalidation state. 867 // Walk the tree after layout issuing paint invalidations for layoutObjects that have changed or moved, updating bounds that have changed, and clearing pain t invalidation state.
868 virtual void invalidateTreeIfNeeded(PaintInvalidationState&); 868 virtual void invalidateTreeIfNeeded(PaintInvalidationState&);
869 869
870 virtual void invalidatePaintForOverflow(); 870 virtual void invalidatePaintForOverflow();
871 void invalidatePaintForOverflowIfNeeded(); 871 void invalidatePaintForOverflowIfNeeded();
872 872
873 void invalidatePaintIncludingNonCompositingDescendants(); 873 void invalidatePaintIncludingNonCompositingDescendants();
874 void setShouldDoFullPaintInvalidationIncludingNonCompositingDescendants();
874 875
875 // Returns the rect that should have paint invalidated whenever this object changes. The rect is in the view's 876 // Returns the rect that should have paint invalidated whenever this object changes. The rect is in the view's
876 // coordinate space. This method deals with outlines and overflow. 877 // coordinate space. This method deals with outlines and overflow.
877 virtual LayoutRect absoluteClippedOverflowRect() const; 878 virtual LayoutRect absoluteClippedOverflowRect() const;
878 virtual LayoutRect clippedOverflowRectForPaintInvalidation(const LayoutBoxMo delObject* paintInvalidationContainer, const PaintInvalidationState* = 0) const; 879 virtual LayoutRect clippedOverflowRectForPaintInvalidation(const LayoutBoxMo delObject* paintInvalidationContainer, const PaintInvalidationState* = 0) const;
879 virtual LayoutRect rectWithOutlineForPaintInvalidation(const LayoutBoxModelO bject* paintInvalidationContainer, LayoutUnit outlineWidth, const PaintInvalidat ionState* = 0) const; 880 virtual LayoutRect rectWithOutlineForPaintInvalidation(const LayoutBoxModelO bject* paintInvalidationContainer, LayoutUnit outlineWidth, const PaintInvalidat ionState* = 0) const;
880 881
881 // Given a rect in the object's coordinate space, compute a rect suitable fo r invalidating paints of 882 // Given a rect in the object's coordinate space, compute a rect suitable fo r invalidating paints of
882 // that rect in the coordinate space of paintInvalidationContainer. 883 // that rect in the coordinate space of paintInvalidationContainer.
883 virtual void mapRectToPaintInvalidationBacking(const LayoutBoxModelObject* p aintInvalidationContainer, LayoutRect&, const PaintInvalidationState*) const; 884 virtual void mapRectToPaintInvalidationBacking(const LayoutBoxModelObject* p aintInvalidationContainer, LayoutRect&, const PaintInvalidationState*) const;
(...skipping 778 matching lines...) Expand 10 before | Expand all | Expand 10 after
1662 void showTree(const blink::LayoutObject*); 1663 void showTree(const blink::LayoutObject*);
1663 void showLineTree(const blink::LayoutObject*); 1664 void showLineTree(const blink::LayoutObject*);
1664 void showLayoutTree(const blink::LayoutObject* object1); 1665 void showLayoutTree(const blink::LayoutObject* object1);
1665 // We don't make object2 an optional parameter so that showLayoutTree 1666 // We don't make object2 an optional parameter so that showLayoutTree
1666 // can be called from gdb easily. 1667 // can be called from gdb easily.
1667 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec t* object2); 1668 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec t* object2);
1668 1669
1669 #endif 1670 #endif
1670 1671
1671 #endif // LayoutObject_h 1672 #endif // LayoutObject_h
OLDNEW
« no previous file with comments | « Source/core/frame/FrameView.cpp ('k') | Source/core/layout/LayoutObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698