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 95ed9b87abc0cfea41af3eda7492ec2d0ec07cce..82cf2cdc470a609952b8e31091049edec5addf1d 100644 |
--- a/content/browser/browser_plugin/browser_plugin_embedder.h |
+++ b/content/browser/browser_plugin/browser_plugin_embedder.h |
@@ -70,6 +70,12 @@ 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); |
+ |
private: |
explicit BrowserPluginEmbedder(WebContentsImpl* web_contents); |
@@ -79,10 +85,13 @@ class CONTENT_EXPORT BrowserPluginEmbedder : public WebContentsObserver { |
bool DidSendScreenRectsCallback(WebContents* guest_web_contents); |
- bool SetZoomLevelCallback(double level, WebContents* guest_web_contents); |
- |
bool UnlockMouseIfNecessaryCallback(bool* mouse_unlocked, WebContents* guest); |
+ bool FindInGuest(int request_id, |
+ const base::string16& search_text, |
+ const blink::WebFindOptions& options, |
+ WebContents* guest); |
+ |
// Message handlers. |
void OnAttach(int instance_id, |
const BrowserPluginHostMsg_Attach_Params& params); |