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

Unified Diff: content/browser/browser_plugin/browser_plugin_embedder.h

Issue 901833002: Allow MimeHandlerViewGuest to be notified of StopFinding events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 | « no previous file | content/browser/browser_plugin/browser_plugin_embedder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/browser_plugin/browser_plugin_embedder.h
diff --git a/content/browser/browser_plugin/browser_plugin_embedder.h b/content/browser/browser_plugin/browser_plugin_embedder.h
index e826982b9d5cc9b865ac061cc97b08c4c96a1963..b4cade6edf42dd60462e0bd1021e0db4463adadc 100644
--- a/content/browser/browser_plugin/browser_plugin_embedder.h
+++ b/content/browser/browser_plugin/browser_plugin_embedder.h
@@ -75,6 +75,7 @@ class CONTENT_EXPORT BrowserPluginEmbedder : public WebContentsObserver {
bool Find(int request_id,
const base::string16& search_text,
const blink::WebFindOptions& options);
+ bool StopFinding(StopFindAction action);
private:
explicit BrowserPluginEmbedder(WebContentsImpl* web_contents);
@@ -92,6 +93,8 @@ class CONTENT_EXPORT BrowserPluginEmbedder : public WebContentsObserver {
const base::string16& search_text,
const blink::WebFindOptions& options,
WebContents* guest);
+ static bool StopFindingInGuest(StopFindAction action, WebContents* guest);
+
// Message handlers.
void OnAttach(int instance_id,
const BrowserPluginHostMsg_Attach_Params& params);
« no previous file with comments | « no previous file | content/browser/browser_plugin/browser_plugin_embedder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698