| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ |
| 6 #define CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ | 6 #define CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 | 29 |
| 30 ShellContentBrowserClient(); | 30 ShellContentBrowserClient(); |
| 31 ~ShellContentBrowserClient() override; | 31 ~ShellContentBrowserClient() override; |
| 32 | 32 |
| 33 // ContentBrowserClient overrides. | 33 // ContentBrowserClient overrides. |
| 34 BrowserMainParts* CreateBrowserMainParts( | 34 BrowserMainParts* CreateBrowserMainParts( |
| 35 const MainFunctionParams& parameters) override; | 35 const MainFunctionParams& parameters) override; |
| 36 bool DoesSiteRequireDedicatedProcess(BrowserContext* browser_context, | 36 bool DoesSiteRequireDedicatedProcess(BrowserContext* browser_context, |
| 37 const GURL& effective_site_url) override; | 37 const GURL& effective_site_url) override; |
| 38 bool IsHandledURL(const GURL& url) override; | 38 bool IsHandledURL(const GURL& url) override; |
| 39 void RegisterInProcessMojoApplications( | 39 void RegisterInProcessServices(StaticServiceMap* services) override; |
| 40 StaticMojoApplicationMap* apps) override; | 40 void RegisterOutOfProcessServices(OutOfProcessServiceMap* services) override; |
| 41 void RegisterOutOfProcessMojoApplications( | |
| 42 OutOfProcessMojoApplicationMap* apps) override; | |
| 43 std::unique_ptr<base::Value> GetServiceManifestOverlay( | 41 std::unique_ptr<base::Value> GetServiceManifestOverlay( |
| 44 const std::string& name) override; | 42 const std::string& name) override; |
| 45 void AppendExtraCommandLineSwitches(base::CommandLine* command_line, | 43 void AppendExtraCommandLineSwitches(base::CommandLine* command_line, |
| 46 int child_process_id) override; | 44 int child_process_id) override; |
| 47 void ResourceDispatcherHostCreated() override; | 45 void ResourceDispatcherHostCreated() override; |
| 48 std::string GetDefaultDownloadName() override; | 46 std::string GetDefaultDownloadName() override; |
| 49 WebContentsViewDelegate* GetWebContentsViewDelegate( | 47 WebContentsViewDelegate* GetWebContentsViewDelegate( |
| 50 WebContents* web_contents) override; | 48 WebContents* web_contents) override; |
| 51 QuotaPermissionContext* CreateQuotaPermissionContext() override; | 49 QuotaPermissionContext* CreateQuotaPermissionContext() override; |
| 52 void SelectClientCertificate( | 50 void SelectClientCertificate( |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 resource_dispatcher_host_delegate_; | 109 resource_dispatcher_host_delegate_; |
| 112 | 110 |
| 113 base::Closure select_client_certificate_callback_; | 111 base::Closure select_client_certificate_callback_; |
| 114 | 112 |
| 115 ShellBrowserMainParts* shell_browser_main_parts_; | 113 ShellBrowserMainParts* shell_browser_main_parts_; |
| 116 }; | 114 }; |
| 117 | 115 |
| 118 } // namespace content | 116 } // namespace content |
| 119 | 117 |
| 120 #endif // CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ | 118 #endif // CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |