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

Unified Diff: components/html_viewer/document_resource_waiter.cc

Issue 1371773003: mandoline: Add find in page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Final documentation changes. 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
« no previous file with comments | « components/html_viewer/document_resource_waiter.h ('k') | components/html_viewer/html_frame.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/html_viewer/document_resource_waiter.cc
diff --git a/components/html_viewer/document_resource_waiter.cc b/components/html_viewer/document_resource_waiter.cc
index 3905f868cbffb364e8ab470912d6ad40143d212b..99a5364242ec588e95836567bb80c3813529e401 100644
--- a/components/html_viewer/document_resource_waiter.cc
+++ b/components/html_viewer/document_resource_waiter.cc
@@ -186,6 +186,31 @@ void DocumentResourceWaiter::OnDispatchFrameLoadEvent(uint32_t frame_id) {
NOTREACHED();
}
+void DocumentResourceWaiter::Find(int32_t request_id,
+ const mojo::String& search_text,
+ const FindCallback& callback) {
+ // It is assumed we receive OnConnect() (which unbinds) before anything else.
+ NOTREACHED();
+}
+
+void DocumentResourceWaiter::StopFinding(bool clear_selection) {
+ // It is assumed we receive OnConnect() (which unbinds) before anything else.
+ NOTREACHED();
+}
+
+void DocumentResourceWaiter::HighlightFindResults(
+ int32_t request_id,
+ const mojo::String& search_test,
+ bool reset) {
+ // It is assumed we receive OnConnect() (which unbinds) before anything else.
+ NOTREACHED();
+}
+
+void DocumentResourceWaiter::StopHighlightingFindResults() {
+ // It is assumed we receive OnConnect() (which unbinds) before anything else.
+ NOTREACHED();
+}
+
void DocumentResourceWaiter::OnViewViewportMetricsChanged(
mus::View* view,
const mojo::ViewportMetrics& old_metrics,
« no previous file with comments | « components/html_viewer/document_resource_waiter.h ('k') | components/html_viewer/html_frame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698