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

Unified Diff: third_party/WebKit/Source/core/paint/SVGInlineTextBoxPainter.h

Issue 2780313002: [WIP] Refactor DocumentMarker (Closed)
Patch Set: Move accessor methods into derived classes Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/paint/SVGInlineTextBoxPainter.h
diff --git a/third_party/WebKit/Source/core/paint/SVGInlineTextBoxPainter.h b/third_party/WebKit/Source/core/paint/SVGInlineTextBoxPainter.h
index 642b94785a68975583d9650fe6434870a29f7e1e..0a9d73d2b7034f545e49b76ddac427e3f4cdb300 100644
--- a/third_party/WebKit/Source/core/paint/SVGInlineTextBoxPainter.h
+++ b/third_party/WebKit/Source/core/paint/SVGInlineTextBoxPainter.h
@@ -18,8 +18,8 @@ class LayoutSVGInlineText;
class ComputedStyle;
class SVGInlineTextBox;
struct SVGTextFragment;
+class TextMatchMarker;
class TextRun;
-class DocumentMarker;
struct SVGTextFragmentWithRange {
SVGTextFragmentWithRange(const SVGTextFragment& fragment,
@@ -43,12 +43,12 @@ class SVGInlineTextBoxPainter {
void paintSelectionBackground(const PaintInfo&);
void paintTextMatchMarkerForeground(const PaintInfo&,
const LayoutPoint&,
- const DocumentMarker&,
+ const TextMatchMarker&,
const ComputedStyle&,
const Font&);
void paintTextMatchMarkerBackground(const PaintInfo&,
const LayoutPoint&,
- const DocumentMarker&,
+ const TextMatchMarker&,
const ComputedStyle&,
const Font&);
@@ -79,7 +79,7 @@ class SVGInlineTextBoxPainter {
LayoutSVGResourceMode,
bool shouldPaintSelection);
Vector<SVGTextFragmentWithRange> collectTextMatches(
- const DocumentMarker&) const;
+ const TextMatchMarker&) const;
Vector<SVGTextFragmentWithRange> collectFragmentsInRange(
int startPosition,
int endPosition) const;

Powered by Google App Engine
This is Rietveld 408576698