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

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

Issue 1152703005: Don't check under invalidation for delayed invalidated object (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 | « no previous file | Source/core/paint/LayoutObjectDrawingRecorder.h » ('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 1003 matching lines...) Expand 10 before | Expand all | Expand 10 after
1014 bool isRelayoutBoundaryForInspector() const; 1014 bool isRelayoutBoundaryForInspector() const;
1015 1015
1016 // The previous paint invalidation rect in the object's previous paint backi ng. 1016 // The previous paint invalidation rect in the object's previous paint backi ng.
1017 const LayoutRect& previousPaintInvalidationRect() const { return m_previousP aintInvalidationRect; } 1017 const LayoutRect& previousPaintInvalidationRect() const { return m_previousP aintInvalidationRect; }
1018 void setPreviousPaintInvalidationRect(const LayoutRect& rect) { m_previousPa intInvalidationRect = rect; } 1018 void setPreviousPaintInvalidationRect(const LayoutRect& rect) { m_previousPa intInvalidationRect = rect; }
1019 1019
1020 // The previous position of the top-left corner of the object in its previou s paint backing. 1020 // The previous position of the top-left corner of the object in its previou s paint backing.
1021 const LayoutPoint& previousPositionFromPaintInvalidationBacking() const { re turn m_previousPositionFromPaintInvalidationBacking; } 1021 const LayoutPoint& previousPositionFromPaintInvalidationBacking() const { re turn m_previousPositionFromPaintInvalidationBacking; }
1022 void setPreviousPositionFromPaintInvalidationBacking(const LayoutPoint& posi tionFromPaintInvalidationBacking) { m_previousPositionFromPaintInvalidationBacki ng = positionFromPaintInvalidationBacking; } 1022 void setPreviousPositionFromPaintInvalidationBacking(const LayoutPoint& posi tionFromPaintInvalidationBacking) { m_previousPositionFromPaintInvalidationBacki ng = positionFromPaintInvalidationBacking; }
1023 1023
1024 PaintInvalidationReason fullPaintInvalidationReason() { return m_bitfields.f ullPaintInvalidationReason(); } 1024 PaintInvalidationReason fullPaintInvalidationReason() const { return m_bitfi elds.fullPaintInvalidationReason(); }
1025 bool shouldDoFullPaintInvalidation() const { return m_bitfields.fullPaintInv alidationReason() != PaintInvalidationNone; } 1025 bool shouldDoFullPaintInvalidation() const { return m_bitfields.fullPaintInv alidationReason() != PaintInvalidationNone; }
1026 void setShouldDoFullPaintInvalidation(PaintInvalidationReason = PaintInvalid ationFull); 1026 void setShouldDoFullPaintInvalidation(PaintInvalidationReason = PaintInvalid ationFull);
1027 void clearShouldDoFullPaintInvalidation() { m_bitfields.setFullPaintInvalida tionReason(PaintInvalidationNone); } 1027 void clearShouldDoFullPaintInvalidation() { m_bitfields.setFullPaintInvalida tionReason(PaintInvalidationNone); }
1028 1028
1029 bool shouldInvalidateOverflowForPaint() const { return m_bitfields.shouldInv alidateOverflowForPaint(); } 1029 bool shouldInvalidateOverflowForPaint() const { return m_bitfields.shouldInv alidateOverflowForPaint(); }
1030 1030
1031 virtual void clearPaintInvalidationState(const PaintInvalidationState&); 1031 virtual void clearPaintInvalidationState(const PaintInvalidationState&);
1032 1032
1033 // Indicates whether this layout object was re-laid-out since the last frame . 1033 // Indicates whether this layout object was re-laid-out since the last frame .
1034 // The flag will be cleared during invalidateTreeIfNeeded. 1034 // The flag will be cleared during invalidateTreeIfNeeded.
(...skipping 631 matching lines...) Expand 10 before | Expand all | Expand 10 after
1666 void showTree(const blink::LayoutObject*); 1666 void showTree(const blink::LayoutObject*);
1667 void showLineTree(const blink::LayoutObject*); 1667 void showLineTree(const blink::LayoutObject*);
1668 void showLayoutTree(const blink::LayoutObject* object1); 1668 void showLayoutTree(const blink::LayoutObject* object1);
1669 // We don't make object2 an optional parameter so that showLayoutTree 1669 // We don't make object2 an optional parameter so that showLayoutTree
1670 // can be called from gdb easily. 1670 // can be called from gdb easily.
1671 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec t* object2); 1671 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec t* object2);
1672 1672
1673 #endif 1673 #endif
1674 1674
1675 #endif // LayoutObject_h 1675 #endif // LayoutObject_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/paint/LayoutObjectDrawingRecorder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698