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

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: Added Layout Test Created 5 years, 5 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..81337086948736327b03af625fb52a50410777ff 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"
pdr. 2015/07/21 05:59:46 I think you can just forward declare this ("class
#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&);
pdr. 2015/07/21 05:59:46 TextPainter is a large class so we shouldn't pass
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&);

Powered by Google App Engine
This is Rietveld 408576698