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

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, 8 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
« no previous file with comments | « no previous file | content/browser/browser_plugin/browser_plugin_embedder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « no previous file | content/browser/browser_plugin/browser_plugin_embedder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698