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

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

Issue 2465983002: Rename "paint invalidation rect" etc. to "visual rect". (Closed)
Patch Set: - Created 4 years, 1 month 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 23 matching lines...) Expand all
34 explicit LayoutSVGText(SVGTextElement*); 34 explicit LayoutSVGText(SVGTextElement*);
35 ~LayoutSVGText() override; 35 ~LayoutSVGText() override;
36 36
37 bool isChildAllowed(LayoutObject*, const ComputedStyle&) const override; 37 bool isChildAllowed(LayoutObject*, const ComputedStyle&) const override;
38 38
39 void setNeedsPositioningValuesUpdate() { 39 void setNeedsPositioningValuesUpdate() {
40 m_needsPositioningValuesUpdate = true; 40 m_needsPositioningValuesUpdate = true;
41 } 41 }
42 void setNeedsTransformUpdate() override { m_needsTransformUpdate = true; } 42 void setNeedsTransformUpdate() override { m_needsTransformUpdate = true; }
43 void setNeedsTextMetricsUpdate() { m_needsTextMetricsUpdate = true; } 43 void setNeedsTextMetricsUpdate() { m_needsTextMetricsUpdate = true; }
44 FloatRect paintInvalidationRectInLocalSVGCoordinates() const override; 44 FloatRect visualRectInLocalSVGCoordinates() const override;
45 FloatRect objectBoundingBox() const override { 45 FloatRect objectBoundingBox() const override {
46 return FloatRect(frameRect()); 46 return FloatRect(frameRect());
47 } 47 }
48 FloatRect strokeBoundingBox() const override; 48 FloatRect strokeBoundingBox() const override;
49 bool isObjectBoundingBoxValid() const; 49 bool isObjectBoundingBoxValid() const;
50 50
51 static LayoutSVGText* locateLayoutSVGTextAncestor(LayoutObject*); 51 static LayoutSVGText* locateLayoutSVGTextAncestor(LayoutObject*);
52 static const LayoutSVGText* locateLayoutSVGTextAncestor(const LayoutObject*); 52 static const LayoutSVGText* locateLayoutSVGTextAncestor(const LayoutObject*);
53 53
54 bool needsReordering() const { return m_needsReordering; } 54 bool needsReordering() const { return m_needsReordering; }
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 bool m_needsTransformUpdate : 1; 97 bool m_needsTransformUpdate : 1;
98 bool m_needsTextMetricsUpdate : 1; 98 bool m_needsTextMetricsUpdate : 1;
99 Vector<LayoutSVGInlineText*> m_descendantTextNodes; 99 Vector<LayoutSVGInlineText*> m_descendantTextNodes;
100 }; 100 };
101 101
102 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutSVGText, isSVGText()); 102 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutSVGText, isSVGText());
103 103
104 } // namespace blink 104 } // namespace blink
105 105
106 #endif 106 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698