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

Unified Diff: Source/core/paint/InlineTextBoxPainter.h

Issue 1220733012: Display transparent text when it's being searched and selected. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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: Source/core/paint/InlineTextBoxPainter.h
diff --git a/Source/core/paint/InlineTextBoxPainter.h b/Source/core/paint/InlineTextBoxPainter.h
index 5b8afb638c4ed1019c0e558aea3aebc7350bdb64..36de4c8dfe68f372f1cf1808f3d7531d49daa700 100644
--- a/Source/core/paint/InlineTextBoxPainter.h
+++ b/Source/core/paint/InlineTextBoxPainter.h
@@ -5,6 +5,7 @@
#ifndef InlineTextBoxPainter_h
#define InlineTextBoxPainter_h
+#include "core/paint/TextPainter.h"
#include "core/style/ComputedStyleConstants.h"
#include "platform/geometry/LayoutRect.h"
@@ -29,6 +30,7 @@ public:
InlineTextBoxPainter(InlineTextBox& inlineTextBox) : m_inlineTextBox(inlineTextBox) { }
void paint(const PaintInfo&, const LayoutPoint&);
+ void paintTextMatchMarkerText(TextPainter, int, const ComputedStyle&);
void paintDocumentMarkers(GraphicsContext*, const LayoutPoint& boxOrigin, const ComputedStyle&, const Font&, bool background);
void paintDocumentMarker(GraphicsContext*, const LayoutPoint& boxOrigin, DocumentMarker*, const ComputedStyle&, const Font&, bool grammar);
void paintTextMatchMarker(GraphicsContext*, const LayoutPoint& boxOrigin, DocumentMarker*, const ComputedStyle&, const Font&);
« no previous file with comments | « no previous file | Source/core/paint/InlineTextBoxPainter.cpp » ('j') | Source/core/paint/InlineTextBoxPainter.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698