Index: content/browser/browser_plugin/browser_plugin_guest.h |
diff --git a/content/browser/browser_plugin/browser_plugin_guest.h b/content/browser/browser_plugin/browser_plugin_guest.h |
index cecca6de166bdef20bd3fb02d0282830af6e9146..817268d4e4658c7220ad56118d1288190161627a 100644 |
--- a/content/browser/browser_plugin/browser_plugin_guest.h |
+++ b/content/browser/browser_plugin/browser_plugin_guest.h |
@@ -205,6 +205,12 @@ class CONTENT_EXPORT BrowserPluginGuest : public WebContentsObserver { |
void SetContentsOpaque(bool opaque); |
+ // Find the given |search_text| in the page. Returns true if the find request |
+ // is handled by this browser plugin guest. |
+ bool Find(int request_id, |
+ const base::string16& search_text, |
+ const blink::WebFindOptions& options); |
+ |
private: |
class EmbedderWebContentsObserver; |
@@ -338,6 +344,8 @@ class CONTENT_EXPORT BrowserPluginGuest : public WebContentsObserver { |
bool pending_lock_request_; |
bool guest_visible_; |
bool embedder_visible_; |
+ // Whether the browser plugin is inside a plugin document. |
+ bool is_full_page_plugin_; |
// Each copy-request is identified by a unique number. The unique number is |
// used to keep track of the right callback. |