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

Side by Side Diff: Source/core/paint/SVGInlineTextBoxPainter.h

Issue 654873002: Fold away SVGInlineTextBoxPainter::paintDecorationWithStyle (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 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
« no previous file with comments | « no previous file | Source/core/paint/SVGInlineTextBoxPainter.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef SVGInlineTextBoxPainter_h 5 #ifndef SVGInlineTextBoxPainter_h
6 #define SVGInlineTextBoxPainter_h 6 #define SVGInlineTextBoxPainter_h
7 7
8 #include "core/rendering/style/RenderStyleConstants.h" 8 #include "core/rendering/style/RenderStyleConstants.h"
9 #include "core/rendering/svg/RenderSVGResource.h" 9 #include "core/rendering/svg/RenderSVGResource.h"
10 10
(...skipping 13 matching lines...) Expand all
24 24
25 class SVGInlineTextBoxPainter { 25 class SVGInlineTextBoxPainter {
26 public: 26 public:
27 SVGInlineTextBoxPainter(SVGInlineTextBox& svgInlineTextBox) : m_svgInlineTex tBox(svgInlineTextBox) { } 27 SVGInlineTextBoxPainter(SVGInlineTextBox& svgInlineTextBox) : m_svgInlineTex tBox(svgInlineTextBox) { }
28 void paint(PaintInfo&, const LayoutPoint&); 28 void paint(PaintInfo&, const LayoutPoint&);
29 void paintSelectionBackground(PaintInfo&); 29 void paintSelectionBackground(PaintInfo&);
30 virtual void paintTextMatchMarker(GraphicsContext*, const FloatPoint&, Docum entMarker*, RenderStyle*, const Font&); 30 virtual void paintTextMatchMarker(GraphicsContext*, const FloatPoint&, Docum entMarker*, RenderStyle*, const Font&);
31 31
32 private: 32 private:
33 void paintDecoration(GraphicsContext*, TextDecoration, const SVGTextFragment &); 33 void paintDecoration(GraphicsContext*, TextDecoration, const SVGTextFragment &);
34 void paintDecorationWithStyle(GraphicsContext*, TextDecoration, const SVGTex tFragment&, RenderObject* decorationRenderer, RenderSVGResourceMode);
35 void paintTextWithShadows(GraphicsContext*, RenderStyle*, TextRun&, const SV GTextFragment&, int startPosition, int endPosition, RenderSVGResourceMode); 34 void paintTextWithShadows(GraphicsContext*, RenderStyle*, TextRun&, const SV GTextFragment&, int startPosition, int endPosition, RenderSVGResourceMode);
36 void paintText(GraphicsContext*, RenderStyle*, RenderStyle* selectionStyle, const SVGTextFragment&, RenderSVGResourceMode, bool hasSelection, bool paintSele ctedTextOnly); 35 void paintText(GraphicsContext*, RenderStyle*, RenderStyle* selectionStyle, const SVGTextFragment&, RenderSVGResourceMode, bool hasSelection, bool paintSele ctedTextOnly);
37 36
38 SVGInlineTextBox& m_svgInlineTextBox; 37 SVGInlineTextBox& m_svgInlineTextBox;
39 }; 38 };
40 39
41 } // namespace blink 40 } // namespace blink
42 41
43 #endif // SVGInlineTextBoxPainter_h 42 #endif // SVGInlineTextBoxPainter_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/paint/SVGInlineTextBoxPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698