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

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, 2 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 21e115a203044853e87ac3bc540c1544361ed191..90abc5ddfdaabaf298217e16ec78c5e61117f60b 100644
--- a/content/public/browser/browser_plugin_guest_delegate.h
+++ b/content/public/browser/browser_plugin_guest_delegate.h
@@ -62,6 +62,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
« no previous file with comments | « content/common/browser_plugin/browser_plugin_messages.h ('k') | content/public/browser/browser_plugin_guest_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698