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

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

Issue 2809363002: Rewrite references to "wtf/" to "platform/wtf/" in core/layout. (Closed)
Patch Set: Created 3 years, 8 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 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 *
11 * This library is distributed in the hope that it will be useful, 11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details. 14 * Library General Public License for more details.
15 * 15 *
16 * You should have received a copy of the GNU Library General Public License 16 * You should have received a copy of the GNU Library General Public License
17 * along with this library; see the file COPYING.LIB. If not, write to 17 * along with this library; see the file COPYING.LIB. If not, write to
18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 * Boston, MA 02110-1301, USA. 19 * Boston, MA 02110-1301, USA.
20 */ 20 */
21 21
22 #ifndef LayoutSVGInlineText_h 22 #ifndef LayoutSVGInlineText_h
23 #define LayoutSVGInlineText_h 23 #define LayoutSVGInlineText_h
24 24
25 #include "core/layout/LayoutText.h" 25 #include "core/layout/LayoutText.h"
26 #include "core/layout/svg/SVGCharacterData.h" 26 #include "core/layout/svg/SVGCharacterData.h"
27 #include "core/layout/svg/SVGTextMetrics.h" 27 #include "core/layout/svg/SVGTextMetrics.h"
28 #include "wtf/Vector.h" 28 #include "platform/wtf/Vector.h"
29 29
30 namespace blink { 30 namespace blink {
31 31
32 class LayoutSVGInlineText final : public LayoutText { 32 class LayoutSVGInlineText final : public LayoutText {
33 public: 33 public:
34 LayoutSVGInlineText(Node*, PassRefPtr<StringImpl>); 34 LayoutSVGInlineText(Node*, PassRefPtr<StringImpl>);
35 35
36 bool CharacterStartsNewTextChunk(int position) const; 36 bool CharacterStartsNewTextChunk(int position) const;
37 SVGCharacterDataMap& CharacterDataMap() { return character_data_map_; } 37 SVGCharacterDataMap& CharacterDataMap() { return character_data_map_; }
38 const SVGCharacterDataMap& CharacterDataMap() const { 38 const SVGCharacterDataMap& CharacterDataMap() const {
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 Font scaled_font_; 87 Font scaled_font_;
88 SVGCharacterDataMap character_data_map_; 88 SVGCharacterDataMap character_data_map_;
89 Vector<SVGTextMetrics> metrics_; 89 Vector<SVGTextMetrics> 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