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

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

Issue 883953002: Add content public APIs for Presentation API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed presentation_url Created 5 years, 11 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 | « content/content_browser.gypi ('k') | content/public/browser/content_browser_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/content_browser_client.h
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
index d97a87b2d427508961d2973e1f2cbb606a7a872c..61f6a2688053dbf1f3a510ae7d2305833d11adfe 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -96,6 +96,7 @@ class MediaObserver;
class NavigatorConnectContext;
class NavigatorConnectServiceFactory;
class PlatformNotificationService;
+class PresentationServiceDelegate;
class QuotaPermissionContext;
class RenderFrameHost;
class RenderProcessHost;
@@ -602,6 +603,11 @@ class CONTENT_EXPORT ContentBrowserClient {
RenderFrameHost* render_frame_host,
blink::WebPageVisibilityState* visibility_state) {}
+ // Allows an embedder to provide its own PresentationServiceDelegate
+ // implementation. Returns nullptr if unavailable.
+ virtual PresentationServiceDelegate* GetPresentationServiceDelegate(
+ WebContents* web_contents);
+
#if defined(OS_POSIX) && !defined(OS_MACOSX)
// Populates |mappings| with all files that need to be mapped before launching
// a child process.
« no previous file with comments | « content/content_browser.gypi ('k') | content/public/browser/content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698