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

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

Issue 1331053002: Propagate resource-triggered repaints to text node children of <text> (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Name/comment updates. Created 5 years, 3 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/layout/LayoutBoxModelObject.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 1062 matching lines...) Expand 10 before | Expand all | Expand 10 after
1073 void setMayNeedPaintInvalidation(); 1073 void setMayNeedPaintInvalidation();
1074 1074
1075 bool shouldInvalidateSelection() const { return m_bitfields.shouldInvalidate Selection(); } 1075 bool shouldInvalidateSelection() const { return m_bitfields.shouldInvalidate Selection(); }
1076 void setShouldInvalidateSelection(); 1076 void setShouldInvalidateSelection();
1077 1077
1078 bool shouldCheckForPaintInvalidation(const PaintInvalidationState& paintInva lidationState) const 1078 bool shouldCheckForPaintInvalidation(const PaintInvalidationState& paintInva lidationState) const
1079 { 1079 {
1080 // Should check for paint invalidation if some ancestor changed location , because this object 1080 // Should check for paint invalidation if some ancestor changed location , because this object
1081 // may also change paint offset or location in paint invalidation contai ner, even if there is 1081 // may also change paint offset or location in paint invalidation contai ner, even if there is
1082 // no paint invalidation flag set. 1082 // no paint invalidation flag set.
1083 return paintInvalidationState.ancestorHadPaintInvalidationForLocationCha nge() || shouldCheckForPaintInvalidationRegardlessOfPaintInvalidationState(); 1083 return paintInvalidationState.forcedSubtreeInvalidationWithinContainer() || shouldCheckForPaintInvalidationRegardlessOfPaintInvalidationState();
1084 } 1084 }
1085 1085
1086 bool shouldCheckForPaintInvalidationRegardlessOfPaintInvalidationState() con st 1086 bool shouldCheckForPaintInvalidationRegardlessOfPaintInvalidationState() con st
1087 { 1087 {
1088 return mayNeedPaintInvalidation() || shouldDoFullPaintInvalidation() || shouldInvalidateSelection() || m_bitfields.childShouldCheckForPaintInvalidation( ); 1088 return mayNeedPaintInvalidation() || shouldDoFullPaintInvalidation() || shouldInvalidateSelection() || m_bitfields.childShouldCheckForPaintInvalidation( );
1089 } 1089 }
1090 1090
1091 virtual bool supportsPaintInvalidationStateCachedOffsets() const { return !h asTransformRelatedProperty() && !hasReflection() && !style()->isFlippedBlocksWri tingMode(); } 1091 virtual bool supportsPaintInvalidationStateCachedOffsets() const { return !h asTransformRelatedProperty() && !hasReflection() && !style()->isFlippedBlocksWri tingMode(); }
1092 1092
1093 virtual LayoutRect viewRect() const; 1093 virtual LayoutRect viewRect() const;
(...skipping 701 matching lines...) Expand 10 before | Expand all | Expand 10 after
1795 void showTree(const blink::LayoutObject*); 1795 void showTree(const blink::LayoutObject*);
1796 void showLineTree(const blink::LayoutObject*); 1796 void showLineTree(const blink::LayoutObject*);
1797 void showLayoutTree(const blink::LayoutObject* object1); 1797 void showLayoutTree(const blink::LayoutObject* object1);
1798 // We don't make object2 an optional parameter so that showLayoutTree 1798 // We don't make object2 an optional parameter so that showLayoutTree
1799 // can be called from gdb easily. 1799 // can be called from gdb easily.
1800 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec t* object2); 1800 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec t* object2);
1801 1801
1802 #endif 1802 #endif
1803 1803
1804 #endif // LayoutObject_h 1804 #endif // LayoutObject_h
OLDNEW
« no previous file with comments | « Source/core/layout/LayoutBoxModelObject.cpp ('k') | Source/core/layout/LayoutObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698