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

Side by Side 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, 10 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 class BrowserPluginGuestDelegate; 89 class BrowserPluginGuestDelegate;
90 class BrowserPpapiHost; 90 class BrowserPpapiHost;
91 class BrowserURLHandler; 91 class BrowserURLHandler;
92 class DevToolsManagerDelegate; 92 class DevToolsManagerDelegate;
93 class ExternalVideoSurfaceContainer; 93 class ExternalVideoSurfaceContainer;
94 class LocationProvider; 94 class LocationProvider;
95 class MediaObserver; 95 class MediaObserver;
96 class NavigatorConnectContext; 96 class NavigatorConnectContext;
97 class NavigatorConnectServiceFactory; 97 class NavigatorConnectServiceFactory;
98 class PlatformNotificationService; 98 class PlatformNotificationService;
99 class PresentationServiceDelegate;
99 class QuotaPermissionContext; 100 class QuotaPermissionContext;
100 class RenderFrameHost; 101 class RenderFrameHost;
101 class RenderProcessHost; 102 class RenderProcessHost;
102 class RenderViewHost; 103 class RenderViewHost;
103 class ResourceContext; 104 class ResourceContext;
104 class ServiceRegistry; 105 class ServiceRegistry;
105 class SiteInstance; 106 class SiteInstance;
106 class SpeechRecognitionManagerDelegate; 107 class SpeechRecognitionManagerDelegate;
107 class WebContents; 108 class WebContents;
108 class WebContentsViewDelegate; 109 class WebContentsViewDelegate;
(...skipping 486 matching lines...) Expand 10 before | Expand all | Expand 10 after
595 // particular NavigatorConnectContext. 596 // particular NavigatorConnectContext.
596 virtual void GetAdditionalNavigatorConnectServices( 597 virtual void GetAdditionalNavigatorConnectServices(
597 const scoped_refptr<NavigatorConnectContext>& context) {} 598 const scoped_refptr<NavigatorConnectContext>& context) {}
598 599
599 // Allows to override the visibility state of a RenderFrameHost. 600 // Allows to override the visibility state of a RenderFrameHost.
600 // |visibility_state| should not be null. It will only be set if needed. 601 // |visibility_state| should not be null. It will only be set if needed.
601 virtual void OverridePageVisibilityState( 602 virtual void OverridePageVisibilityState(
602 RenderFrameHost* render_frame_host, 603 RenderFrameHost* render_frame_host,
603 blink::WebPageVisibilityState* visibility_state) {} 604 blink::WebPageVisibilityState* visibility_state) {}
604 605
606 // Allows an embedder to provide its own PresentationServiceDelegate
607 // implementation. Returns nullptr if unavailable.
608 virtual PresentationServiceDelegate* GetPresentationServiceDelegate(
609 WebContents* web_contents);
610
605 #if defined(OS_POSIX) && !defined(OS_MACOSX) 611 #if defined(OS_POSIX) && !defined(OS_MACOSX)
606 // Populates |mappings| with all files that need to be mapped before launching 612 // Populates |mappings| with all files that need to be mapped before launching
607 // a child process. 613 // a child process.
608 virtual void GetAdditionalMappedFilesForChildProcess( 614 virtual void GetAdditionalMappedFilesForChildProcess(
609 const base::CommandLine& command_line, 615 const base::CommandLine& command_line,
610 int child_process_id, 616 int child_process_id,
611 FileDescriptorInfo* mappings) {} 617 FileDescriptorInfo* mappings) {}
612 #endif 618 #endif
613 619
614 #if defined(OS_WIN) 620 #if defined(OS_WIN)
(...skipping 11 matching lines...) Expand all
626 // Allows an embedder to provide its own ExternalVideoSurfaceContainer 632 // Allows an embedder to provide its own ExternalVideoSurfaceContainer
627 // implementation. Return nullptr to disable external surface video. 633 // implementation. Return nullptr to disable external surface video.
628 virtual ExternalVideoSurfaceContainer* 634 virtual ExternalVideoSurfaceContainer*
629 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents); 635 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents);
630 #endif 636 #endif
631 }; 637 };
632 638
633 } // namespace content 639 } // namespace content
634 640
635 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 641 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« 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