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

Unified Diff: content/public/browser/browser_plugin_guest_delegate.h

Issue 597753003: Implement find in page support for top level BrowserPlugins. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
Index: content/public/browser/browser_plugin_guest_delegate.h
diff --git a/content/public/browser/browser_plugin_guest_delegate.h b/content/public/browser/browser_plugin_guest_delegate.h
index 0b7372f52bbc73f5647d23485463f541ecda0247..cca9bdc527752416a92b94603b8fbb4ff76d627d 100644
--- a/content/public/browser/browser_plugin_guest_delegate.h
+++ b/content/public/browser/browser_plugin_guest_delegate.h
@@ -66,6 +66,13 @@ class CONTENT_EXPORT BrowserPluginGuestDelegate {
typedef base::Callback<void()> DestructionCallback;
virtual void RegisterDestructionCallback(
const DestructionCallback& callback) {}
+
+ // Find the given |search_text| in the page. Returns true if the find request
+ // is handled by this browser plugin guest delegate.
+ virtual bool Find(int request_id,
+ const base::string16& search_text,
+ const blink::WebFindOptions& options,
+ bool is_full_page_plugin);
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698