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

Unified Diff: public/web/WebFrame.h

Issue 198683002: Make it possible to override the tickmarks for a WebFrame. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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
« no previous file with comments | « Source/web/tests/WebFrameTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebFrame.h
diff --git a/public/web/WebFrame.h b/public/web/WebFrame.h
index 26e7c3e07ddd4d3ef916b590efa12df90547d527..1ff4e9da391251014d1bec48bf570c22b3eb35e6 100644
--- a/public/web/WebFrame.h
+++ b/public/web/WebFrame.h
@@ -595,6 +595,12 @@ public:
virtual int selectNearestFindMatch(const WebFloatPoint&,
WebRect* selectionRect) = 0;
+
+ // Set the tickmarks for the frame. This will override the default tickmarks
+ // generated by find results. If this is called with an empty array, the
+ // default behavior will be restored.
+ virtual void setTickmarks(const WebVector<WebRect>&) = 0;
+
// OrientationChange event ---------------------------------------------
// Orientation is the interface orientation in degrees.
« no previous file with comments | « Source/web/tests/WebFrameTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698