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

Side by Side Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGText.h

Issue 2000763003: Check subtree paint invalidation when overflow clip status changes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006 Apple Computer, Inc. 2 * Copyright (C) 2006 Apple Computer, Inc.
3 * Copyright (C) 2007 Nikolas Zimmermann <zimmermann@kde.org> 3 * Copyright (C) 2007 Nikolas Zimmermann <zimmermann@kde.org>
4 * Copyright (C) Research In Motion Limited 2010-2012. All rights reserved. 4 * Copyright (C) Research In Motion Limited 2010-2012. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 PositionWithAffinity positionForPoint(const LayoutPoint&) override; 66 PositionWithAffinity positionForPoint(const LayoutPoint&) override;
67 67
68 void layout() override; 68 void layout() override;
69 69
70 void absoluteQuads(Vector<FloatQuad>&) const override; 70 void absoluteQuads(Vector<FloatQuad>&) const override;
71 71
72 void addChild(LayoutObject* child, LayoutObject* beforeChild = nullptr) over ride; 72 void addChild(LayoutObject* child, LayoutObject* beforeChild = nullptr) over ride;
73 void removeChild(LayoutObject*) override; 73 void removeChild(LayoutObject*) override;
74 void willBeDestroyed() override; 74 void willBeDestroyed() override;
75 75
76 void invalidateTreeIfNeeded(const PaintInvalidationState&) override;
77
78 RootInlineBox* createRootInlineBox() override; 76 RootInlineBox* createRootInlineBox() override;
79 77
80 void invalidatePositioningValues(LayoutInvalidationReasonForTracing); 78 void invalidatePositioningValues(LayoutInvalidationReasonForTracing);
81 79
82 bool m_needsReordering : 1; 80 bool m_needsReordering : 1;
83 bool m_needsPositioningValuesUpdate : 1; 81 bool m_needsPositioningValuesUpdate : 1;
84 bool m_needsTransformUpdate : 1; 82 bool m_needsTransformUpdate : 1;
85 bool m_needsTextMetricsUpdate : 1; 83 bool m_needsTextMetricsUpdate : 1;
86 Vector<LayoutSVGInlineText*> m_descendantTextNodes; 84 Vector<LayoutSVGInlineText*> m_descendantTextNodes;
87 }; 85 };
88 86
89 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutSVGText, isSVGText()); 87 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutSVGText, isSVGText());
90 88
91 } // namespace blink 89 } // namespace blink
92 90
93 #endif 91 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698