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

Side by Side Diff: third_party/WebKit/Source/core/paint/TextPainter.cpp

Issue 2817663002: Rewrite references to "wtf/" to "platform/wtf/" in core/paint. (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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "core/paint/TextPainter.h" 5 #include "core/paint/TextPainter.h"
6 6
7 #include "core/CSSPropertyNames.h" 7 #include "core/CSSPropertyNames.h"
8 #include "core/frame/Settings.h" 8 #include "core/frame/Settings.h"
9 #include "core/layout/LayoutObject.h" 9 #include "core/layout/LayoutObject.h"
10 #include "core/layout/LayoutTextCombine.h" 10 #include "core/layout/LayoutTextCombine.h"
11 #include "core/layout/api/LineLayoutAPIShim.h" 11 #include "core/layout/api/LineLayoutAPIShim.h"
12 #include "core/layout/api/LineLayoutItem.h" 12 #include "core/layout/api/LineLayoutItem.h"
13 #include "core/paint/BoxPainter.h" 13 #include "core/paint/BoxPainter.h"
14 #include "core/paint/PaintInfo.h" 14 #include "core/paint/PaintInfo.h"
15 #include "core/style/ComputedStyle.h" 15 #include "core/style/ComputedStyle.h"
16 #include "core/style/ShadowList.h" 16 #include "core/style/ShadowList.h"
17 #include "platform/fonts/Font.h" 17 #include "platform/fonts/Font.h"
18 #include "platform/graphics/GraphicsContext.h" 18 #include "platform/graphics/GraphicsContext.h"
19 #include "platform/graphics/GraphicsContextStateSaver.h" 19 #include "platform/graphics/GraphicsContextStateSaver.h"
20 #include "platform/text/TextRun.h" 20 #include "platform/text/TextRun.h"
21 #include "wtf/Assertions.h" 21 #include "platform/wtf/Assertions.h"
22 #include "wtf/text/CharacterNames.h" 22 #include "platform/wtf/text/CharacterNames.h"
23 23
24 namespace blink { 24 namespace blink {
25 25
26 TextPainter::TextPainter(GraphicsContext& context, 26 TextPainter::TextPainter(GraphicsContext& context,
27 const Font& font, 27 const Font& font,
28 const TextRun& run, 28 const TextRun& run,
29 const LayoutPoint& text_origin, 29 const LayoutPoint& text_origin,
30 const LayoutRect& text_bounds, 30 const LayoutRect& text_bounds,
31 bool horizontal) 31 bool horizontal)
32 : graphics_context_(context), 32 : graphics_context_(context),
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 TextRunPaintInfo text_run_paint_info(placeholder_text_run); 303 TextRunPaintInfo text_run_paint_info(placeholder_text_run);
304 text_run_paint_info.bounds = FloatRect(text_bounds_); 304 text_run_paint_info.bounds = FloatRect(text_bounds_);
305 graphics_context_.ConcatCTM(Rotation(text_bounds_, kClockwise)); 305 graphics_context_.ConcatCTM(Rotation(text_bounds_, kClockwise));
306 graphics_context_.DrawEmphasisMarks(combined_text_->OriginalFont(), 306 graphics_context_.DrawEmphasisMarks(combined_text_->OriginalFont(),
307 text_run_paint_info, emphasis_mark_, 307 text_run_paint_info, emphasis_mark_,
308 emphasis_mark_text_origin); 308 emphasis_mark_text_origin);
309 graphics_context_.ConcatCTM(Rotation(text_bounds_, kCounterclockwise)); 309 graphics_context_.ConcatCTM(Rotation(text_bounds_, kCounterclockwise));
310 } 310 }
311 311
312 } // namespace blink 312 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/paint/TextPainter.h ('k') | third_party/WebKit/Source/core/paint/ThemePainter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698