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 68d02bc73c0f9ffd9e60edded6b87f68e20ec3f7..5e4026c978adb5dfd3ebd01b632033b8e60f8776 100644 |
--- a/content/browser/browser_plugin/browser_plugin_embedder.h |
+++ b/content/browser/browser_plugin/browser_plugin_embedder.h |
@@ -74,6 +74,13 @@ class CONTENT_EXPORT BrowserPluginEmbedder : public WebContentsObserver { |
// Used to handle special keyboard events. |
bool HandleKeyboardEvent(const NativeWebKeyboardEvent& event); |
+ // Find the given |search_text| in the page. Returns true if the find request |
+ // is handled by this browser plugin embedder. |
+ bool Find(int request_id, |
+ const base::string16& search_text, |
+ const blink::WebFindOptions& options); |
+ bool StopFinding(StopFindAction action); |
+ |
// Returns the "full page" guest if there is one. That is, if there is a |
// single BrowserPlugin in the embedder which takes up the full page, then it |
// is returned. |
@@ -101,6 +108,12 @@ class CONTENT_EXPORT BrowserPluginEmbedder : public WebContentsObserver { |
static bool UnlockMouseIfNecessaryCallback(bool* mouse_unlocked, |
WebContents* guest); |
+ static bool FindInGuest(int request_id, |
+ const base::string16& search_text, |
+ const blink::WebFindOptions& options, |
+ WebContents* guest); |
+ static bool StopFindingInGuest(StopFindAction action, WebContents* guest); |
+ |
static bool GuestRecentlyAudibleCallback(WebContents* guest); |
// Message handlers. |