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

Side by Side Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGInlineText.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 Oliver Hunt <ojh16@student.canterbury.ac.nz> 2 * Copyright (C) 2006 Oliver Hunt <ojh16@student.canterbury.ac.nz>
3 * Copyright (C) 2006, 2008 Apple Inc. All rights reserved. 3 * Copyright (C) 2006, 2008 Apple Inc. All rights reserved.
4 * Copyright (C) 2008 Rob Buis <buis@kde.org> 4 * Copyright (C) 2008 Rob Buis <buis@kde.org>
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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 } 73 }
74 74
75 PositionWithAffinity positionForPoint(const LayoutPoint&) override; 75 PositionWithAffinity positionForPoint(const LayoutPoint&) override;
76 LayoutRect localCaretRect( 76 LayoutRect localCaretRect(
77 InlineBox*, 77 InlineBox*,
78 int caretOffset, 78 int caretOffset,
79 LayoutUnit* extraWidthToEndOfLine = nullptr) override; 79 LayoutUnit* extraWidthToEndOfLine = nullptr) override;
80 LayoutRect linesBoundingBox() const override; 80 LayoutRect linesBoundingBox() const override;
81 InlineTextBox* createTextBox(int start, unsigned short length) override; 81 InlineTextBox* createTextBox(int start, unsigned short length) override;
82 82
83 LayoutRect absoluteClippedOverflowRect() const final; 83 LayoutRect absoluteVisualRect() const final;
84 FloatRect paintInvalidationRectInLocalSVGCoordinates() const final; 84 FloatRect visualRectInLocalSVGCoordinates() const final;
85 85
86 float m_scalingFactor; 86 float m_scalingFactor;
87 Font m_scaledFont; 87 Font m_scaledFont;
88 SVGCharacterDataMap m_characterDataMap; 88 SVGCharacterDataMap m_characterDataMap;
89 Vector<SVGTextMetrics> m_metrics; 89 Vector<SVGTextMetrics> m_metrics;
90 }; 90 };
91 91
92 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutSVGInlineText, isSVGInlineText()); 92 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutSVGInlineText, isSVGInlineText());
93 93
94 } // namespace blink 94 } // namespace blink
95 95
96 #endif // LayoutSVGInlineText_h 96 #endif // LayoutSVGInlineText_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698