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

Unified Diff: content/public/browser/browser_plugin_guest_manager.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
Index: content/public/browser/browser_plugin_guest_manager.h
diff --git a/content/public/browser/browser_plugin_guest_manager.h b/content/public/browser/browser_plugin_guest_manager.h
index 0ab13c0188882c44844e982d271a4853a6a2a26c..c809c0ff7e5e74368272a4576ce87368b857bde7 100644
--- a/content/public/browser/browser_plugin_guest_manager.h
+++ b/content/public/browser/browser_plugin_guest_manager.h
@@ -29,6 +29,11 @@ class CONTENT_EXPORT BrowserPluginGuestManager {
typedef base::Callback<bool(WebContents*)> GuestCallback;
virtual bool ForEachGuest(WebContents* embedder_web_contents,
const GuestCallback& callback);
+
+ // Returns the "full page" guest if there is one. That is, if there is a
+ // single BrowserPlugin in the given embedder which takes up the full page,
+ // then it is returned.
+ virtual WebContents* GetFullPageGuest(WebContents* embedder_web_contents);
};
} // namespace content
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/public/browser/browser_plugin_guest_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698