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

Unified Diff: third_party/WebKit/Source/core/layout/line/InlineTextBox.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/layout/line/InlineTextBox.h
diff --git a/third_party/WebKit/Source/core/layout/line/InlineTextBox.h b/third_party/WebKit/Source/core/layout/line/InlineTextBox.h
index 30aceba9ac01a100c89709258c4aa6a17a915cfb..eaf5c99c9e088c0e7d1ef6b72d6132483b1bc12b 100644
--- a/third_party/WebKit/Source/core/layout/line/InlineTextBox.h
+++ b/third_party/WebKit/Source/core/layout/line/InlineTextBox.h
@@ -35,6 +35,7 @@ namespace blink {
class DocumentMarker;
class GraphicsContext;
+class TextMatchMarker;
// The two truncation values below are used as tokens representing truncation
// state for the text box, are intended to be relative to |m_start|, and are set
@@ -143,12 +144,12 @@ class CORE_EXPORT InlineTextBox : public InlineBox {
bool grammar) const;
virtual void paintTextMatchMarkerForeground(const PaintInfo&,
const LayoutPoint& boxOrigin,
- const DocumentMarker&,
+ const TextMatchMarker&,
const ComputedStyle&,
const Font&) const;
virtual void paintTextMatchMarkerBackground(const PaintInfo&,
const LayoutPoint& boxOrigin,
- const DocumentMarker&,
+ const TextMatchMarker&,
const ComputedStyle&,
const Font&) const;

Powered by Google App Engine
This is Rietveld 408576698