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

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

Issue 899163003: Move rendering/RenderObject to layout/LayoutObject. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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
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/RenderSVGResourcePaintServer.h" 9 #include "core/rendering/svg/RenderSVGResourcePaintServer.h"
10 10
(...skipping 12 matching lines...) Expand all
23 23
24 class SVGInlineTextBoxPainter { 24 class SVGInlineTextBoxPainter {
25 public: 25 public:
26 SVGInlineTextBoxPainter(SVGInlineTextBox& svgInlineTextBox) : m_svgInlineTex tBox(svgInlineTextBox) { } 26 SVGInlineTextBoxPainter(SVGInlineTextBox& svgInlineTextBox) : m_svgInlineTex tBox(svgInlineTextBox) { }
27 void paint(const PaintInfo&, const LayoutPoint&); 27 void paint(const PaintInfo&, const LayoutPoint&);
28 void paintSelectionBackground(const PaintInfo&); 28 void paintSelectionBackground(const PaintInfo&);
29 virtual void paintTextMatchMarker(GraphicsContext*, const FloatPoint&, Docum entMarker*, const RenderStyle&, const Font&); 29 virtual void paintTextMatchMarker(GraphicsContext*, const FloatPoint&, Docum entMarker*, const RenderStyle&, const Font&);
30 30
31 private: 31 private:
32 bool shouldPaintSelection() const; 32 bool shouldPaintSelection() const;
33 void paintTextFragments(const PaintInfo&, RenderObject&); 33 void paintTextFragments(const PaintInfo&, LayoutObject&);
34 void paintDecoration(const PaintInfo&, TextDecoration, const SVGTextFragment &); 34 void paintDecoration(const PaintInfo&, TextDecoration, const SVGTextFragment &);
35 void paintTextWithShadows(const PaintInfo&, const RenderStyle&, TextRun&, co nst SVGTextFragment&, int startPosition, int endPosition, RenderSVGResourceMode) ; 35 void paintTextWithShadows(const PaintInfo&, const RenderStyle&, TextRun&, co nst SVGTextFragment&, int startPosition, int endPosition, RenderSVGResourceMode) ;
36 void paintText(const PaintInfo&, const RenderStyle&, const RenderStyle& sele ctionStyle, const SVGTextFragment&, RenderSVGResourceMode, bool shouldPaintSelec tion); 36 void paintText(const PaintInfo&, const RenderStyle&, const RenderStyle& sele ctionStyle, const SVGTextFragment&, RenderSVGResourceMode, bool shouldPaintSelec tion);
37 37
38 SVGInlineTextBox& m_svgInlineTextBox; 38 SVGInlineTextBox& m_svgInlineTextBox;
39 }; 39 };
40 40
41 } // namespace blink 41 } // namespace blink
42 42
43 #endif // SVGInlineTextBoxPainter_h 43 #endif // SVGInlineTextBoxPainter_h
OLDNEW
« no previous file with comments | « Source/core/paint/SVGContainerPainter.cpp ('k') | Source/core/paint/SVGInlineTextBoxPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698