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

Side by Side Diff: Source/core/layout/svg/LayoutSVGText.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
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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 PositionWithAffinity positionForPoint(const LayoutPoint&) override; 69 PositionWithAffinity positionForPoint(const LayoutPoint&) override;
70 70
71 void layout() override; 71 void layout() override;
72 72
73 void absoluteQuads(Vector<FloatQuad>&, bool* wasFixed) const override; 73 void absoluteQuads(Vector<FloatQuad>&, bool* wasFixed) const override;
74 74
75 void addChild(LayoutObject* child, LayoutObject* beforeChild = nullptr) over ride; 75 void addChild(LayoutObject* child, LayoutObject* beforeChild = nullptr) over ride;
76 void removeChild(LayoutObject*) override; 76 void removeChild(LayoutObject*) override;
77 void willBeDestroyed() override; 77 void willBeDestroyed() override;
78 78
79 void invalidateTreeIfNeeded(PaintInvalidationState&) override;
80
79 RootInlineBox* createRootInlineBox() override; 81 RootInlineBox* createRootInlineBox() override;
80 82
81 bool shouldHandleSubtreeMutations() const; 83 bool shouldHandleSubtreeMutations() const;
82 84
83 bool m_needsReordering : 1; 85 bool m_needsReordering : 1;
84 bool m_needsPositioningValuesUpdate : 1; 86 bool m_needsPositioningValuesUpdate : 1;
85 bool m_needsTransformUpdate : 1; 87 bool m_needsTransformUpdate : 1;
86 bool m_needsTextMetricsUpdate : 1; 88 bool m_needsTextMetricsUpdate : 1;
87 SVGTextLayoutAttributesBuilder m_layoutAttributesBuilder; 89 SVGTextLayoutAttributesBuilder m_layoutAttributesBuilder;
88 Vector<SVGTextLayoutAttributes*> m_layoutAttributes; 90 Vector<SVGTextLayoutAttributes*> m_layoutAttributes;
89 }; 91 };
90 92
91 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutSVGText, isSVGText()); 93 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutSVGText, isSVGText());
92 94
93 } 95 }
94 96
95 #endif 97 #endif
OLDNEW
« no previous file with comments | « Source/core/layout/svg/LayoutSVGResourceContainer.cpp ('k') | Source/core/layout/svg/LayoutSVGText.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698