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

Unified Diff: components/web_view/frame_tree_delegate.h

Issue 1371773003: mandoline: Add find in page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase to ToT Created 5 years, 2 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: components/web_view/frame_tree_delegate.h
diff --git a/components/web_view/frame_tree_delegate.h b/components/web_view/frame_tree_delegate.h
index d14fe72a4e9359a1e6b9da3ed471c375ac4b40e6..b1eab678daecbd30e34cfbdfbf4a8b25304558c9 100644
--- a/components/web_view/frame_tree_delegate.h
+++ b/components/web_view/frame_tree_delegate.h
@@ -84,6 +84,15 @@ class FrameTreeDelegate {
// action.
virtual void OnViewEmbeddedInFrameDisconnected(Frame* frame);
+ // Reports the current find state back to our owner.
+ virtual void OnFindInFrameCountUpdated(int32_t request_id,
+ Frame* frame,
+ int32_t count,
+ bool final_update);
+ virtual void OnFindInPageSelectionUpdated(int32_t request_id,
+ Frame* frame,
+ int32_t active_match_ordinal);
+
protected:
virtual ~FrameTreeDelegate() {}
};

Powered by Google App Engine
This is Rietveld 408576698