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

Unified Diff: content/browser/browser_plugin/browser_plugin_embedder.h

Issue 1042743002: Make Edit>Speech>Speak Selection work for PDFs on Mac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 9 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/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..9efaaf0625ea91f299cb820caef07b7529b640a1 100644
--- a/content/browser/browser_plugin/browser_plugin_embedder.h
+++ b/content/browser/browser_plugin/browser_plugin_embedder.h
@@ -67,12 +67,7 @@ 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);
+ BrowserPluginGuest* GetFullPageGuest();
private:
explicit BrowserPluginEmbedder(WebContentsImpl* web_contents);
@@ -89,11 +84,8 @@ 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);
+ static bool GetFullPageGuestHelper(BrowserPluginGuest** result,
+ WebContents* guest_web_contents);
// Message handlers.

Powered by Google App Engine
This is Rietveld 408576698