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

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

Issue 757933003: Get rid of a lot of special code for RenderFlowThread invalidation. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Ahemify and pxify tests. Created 6 years 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
« no previous file with comments | « Source/core/rendering/RenderMultiColumnSet.cpp ('k') | Source/core/rendering/RenderObject.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 1030 matching lines...) Expand 10 before | Expand all | Expand 10 after
1041 return paintInvalidationState.forceCheckForPaintInvalidation() || should CheckForPaintInvalidationRegardlessOfPaintInvalidationState(); 1041 return paintInvalidationState.forceCheckForPaintInvalidation() || should CheckForPaintInvalidationRegardlessOfPaintInvalidationState();
1042 } 1042 }
1043 1043
1044 bool shouldCheckForPaintInvalidationRegardlessOfPaintInvalidationState() con st 1044 bool shouldCheckForPaintInvalidationRegardlessOfPaintInvalidationState() con st
1045 { 1045 {
1046 return layoutDidGetCalledSinceLastFrame() || mayNeedPaintInvalidation() || shouldDoFullPaintInvalidation() || shouldInvalidateSelection(); 1046 return layoutDidGetCalledSinceLastFrame() || mayNeedPaintInvalidation() || shouldDoFullPaintInvalidation() || shouldInvalidateSelection();
1047 } 1047 }
1048 1048
1049 bool needsPaint() const { return m_bitfields.needsPaint(); } 1049 bool needsPaint() const { return m_bitfields.needsPaint(); }
1050 1050
1051 bool supportsPaintInvalidationStateCachedOffsets() const { return !hasColumn s() && !hasTransformRelatedProperty() && !hasReflection() && !style()->isFlipped BlocksWritingMode(); } 1051 virtual bool supportsPaintInvalidationStateCachedOffsets() const { return !h asColumns() && !hasTransformRelatedProperty() && !hasReflection() && !style()->i sFlippedBlocksWritingMode(); }
1052 1052
1053 void setNeedsOverflowRecalcAfterStyleChange(); 1053 void setNeedsOverflowRecalcAfterStyleChange();
1054 void markContainingBlocksForOverflowRecalc(); 1054 void markContainingBlocksForOverflowRecalc();
1055 1055
1056 virtual LayoutRect viewRect() const; 1056 virtual LayoutRect viewRect() const;
1057 1057
1058 protected: 1058 protected:
1059 enum RenderObjectType { 1059 enum RenderObjectType {
1060 RenderObjectBr, 1060 RenderObjectBr,
1061 RenderObjectCanvas, 1061 RenderObjectCanvas,
(...skipping 554 matching lines...) Expand 10 before | Expand all | Expand 10 after
1616 void showTree(const blink::RenderObject*); 1616 void showTree(const blink::RenderObject*);
1617 void showLineTree(const blink::RenderObject*); 1617 void showLineTree(const blink::RenderObject*);
1618 void showRenderTree(const blink::RenderObject* object1); 1618 void showRenderTree(const blink::RenderObject* object1);
1619 // We don't make object2 an optional parameter so that showRenderTree 1619 // We don't make object2 an optional parameter so that showRenderTree
1620 // can be called from gdb easily. 1620 // can be called from gdb easily.
1621 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec t* object2); 1621 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec t* object2);
1622 1622
1623 #endif 1623 #endif
1624 1624
1625 #endif // RenderObject_h 1625 #endif // RenderObject_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderMultiColumnSet.cpp ('k') | Source/core/rendering/RenderObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698