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

Unified Diff: components/web_view/web_view_impl.h

Issue 1371773003: mandoline: Add find in page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: General patch cleanup. Created 5 years, 3 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/web_view_impl.h
diff --git a/components/web_view/web_view_impl.h b/components/web_view/web_view_impl.h
index c7a49d4a2bea75e664dfc693cc850fcc328e3357..a84b29c0ce07f55546cff0fd1cd33c34cb95372a 100644
--- a/components/web_view/web_view_impl.h
+++ b/components/web_view/web_view_impl.h
@@ -57,6 +57,8 @@ class WebViewImpl : public mojom::WebView,
void GetViewTreeClient(
mojo::InterfaceRequest<mojo::ViewTreeClient> view_tree_client)
override;
+ void Find(int32_t request_id, const mojo::String& search_text) override;
+ void StopFinding() override;
void GoBack() override;
void GoForward() override;
@@ -84,6 +86,11 @@ class WebViewImpl : public mojom::WebView,
const CanNavigateFrameCallback& callback) override;
void DidStartNavigation(Frame* frame) override;
void DidCommitProvisionalLoad(Frame* frame) override;
+ void ReportFindInPageMatchCount(int32_t request_id,
+ int32_t count,
+ bool final_update) override;
+ void ReportFindInPageSelection(int32_t request_id,
+ int32_t active_match_ordinal) override;
// Overridden from FrameDevToolsAgent::Delegate:
void HandlePageNavigateRequest(const GURL& url) override;

Powered by Google App Engine
This is Rietveld 408576698