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 74f259e72cb9c42b396ccfe5c645a4380f21687e..721814f504fd19807159c2fa3c96040f80d8f526 100644 |
--- a/content/browser/browser_plugin/browser_plugin_embedder.h |
+++ b/content/browser/browser_plugin/browser_plugin_embedder.h |
@@ -67,12 +67,10 @@ 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. |
+ BrowserPluginGuest* GetFullPageGuest(); |
private: |
explicit BrowserPluginEmbedder(WebContentsImpl* web_contents); |
@@ -89,12 +87,6 @@ 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); |
- |
// Message handlers. |
void OnAttach(RenderFrameHost* render_frame_host, |