summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics/GraphicsContext.h
diff options
context:
space:
mode:
authorVictoria Lease <violets@google.com>2012-02-23 12:58:43 -0800
committerVictoria Lease <violets@google.com>2012-02-23 13:15:26 -0800
commite52b702893ce72ec42d7bf62c4975b4ef61067d2 (patch)
tree9a4769ab94f1c45bb6a4f8c748db70cc26d2632d /Source/WebCore/platform/graphics/GraphicsContext.h
parenta5460bb8f4d5cad3f45fad39d1745bf31c2b2dac (diff)
downloadexternal_webkit-e52b702893ce72ec42d7bf62c4975b4ef61067d2.zip
external_webkit-e52b702893ce72ec42d7bf62c4975b4ef61067d2.tar.gz
external_webkit-e52b702893ce72ec42d7bf62c4975b4ef61067d2.tar.bz2
draw inactive find-on-page matches as outlines
Change-Id: Iacbeba1fb4e3c63f8f40c61c8b641c0b6c704cad
Diffstat (limited to 'Source/WebCore/platform/graphics/GraphicsContext.h')
-rw-r--r--Source/WebCore/platform/graphics/GraphicsContext.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/WebCore/platform/graphics/GraphicsContext.h b/Source/WebCore/platform/graphics/GraphicsContext.h
index 2b41c2e..ed43cf0 100644
--- a/Source/WebCore/platform/graphics/GraphicsContext.h
+++ b/Source/WebCore/platform/graphics/GraphicsContext.h
@@ -382,7 +382,11 @@ namespace WebCore {
void drawText(const Font&, const TextRun&, const FloatPoint&, int from = 0, int to = -1);
void drawEmphasisMarks(const Font&, const TextRun& , const AtomicString& mark, const FloatPoint&, int from = 0, int to = -1);
void drawBidiText(const Font&, const TextRun&, const FloatPoint&);
+#if PLATFORM(ANDROID)
+ void drawHighlightForText(const Font&, const TextRun&, const FloatPoint&, int h, const Color& backgroundColor, ColorSpace, int from = 0, int to = -1, bool isActive = true);
+#else
void drawHighlightForText(const Font&, const TextRun&, const FloatPoint&, int h, const Color& backgroundColor, ColorSpace, int from = 0, int to = -1);
+#endif
enum RoundingMode {
RoundAllSides,