| OLD | NEW |
| 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 CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 270 int child_process_id, | 270 int child_process_id, |
| 271 content::FileDescriptorInfo* mappings) override; | 271 content::FileDescriptorInfo* mappings) override; |
| 272 #endif // defined(OS_ANDROID) | 272 #endif // defined(OS_ANDROID) |
| 273 #if defined(OS_WIN) | 273 #if defined(OS_WIN) |
| 274 const wchar_t* GetResourceDllName() override; | 274 const wchar_t* GetResourceDllName() override; |
| 275 bool PreSpawnRenderer(sandbox::TargetPolicy* policy) override; | 275 bool PreSpawnRenderer(sandbox::TargetPolicy* policy) override; |
| 276 base::string16 GetAppContainerSidForSandboxType( | 276 base::string16 GetAppContainerSidForSandboxType( |
| 277 int sandbox_type) const override; | 277 int sandbox_type) const override; |
| 278 #endif | 278 #endif |
| 279 void ExposeInterfacesToRenderer( | 279 void ExposeInterfacesToRenderer( |
| 280 shell::InterfaceRegistry* registry, | 280 service_manager::InterfaceRegistry* registry, |
| 281 content::RenderProcessHost* render_process_host) override; | 281 content::RenderProcessHost* render_process_host) override; |
| 282 void ExposeInterfacesToMediaService( | 282 void ExposeInterfacesToMediaService( |
| 283 shell::InterfaceRegistry* registry, | 283 service_manager::InterfaceRegistry* registry, |
| 284 content::RenderFrameHost* render_frame_host) override; | 284 content::RenderFrameHost* render_frame_host) override; |
| 285 void RegisterRenderFrameMojoInterfaces( | 285 void RegisterRenderFrameMojoInterfaces( |
| 286 shell::InterfaceRegistry* registry, | 286 service_manager::InterfaceRegistry* registry, |
| 287 content::RenderFrameHost* render_frame_host) override; | 287 content::RenderFrameHost* render_frame_host) override; |
| 288 void ExposeInterfacesToGpuProcess( | 288 void ExposeInterfacesToGpuProcess( |
| 289 shell::InterfaceRegistry* registry, | 289 service_manager::InterfaceRegistry* registry, |
| 290 content::GpuProcessHost* render_process_host) override; | 290 content::GpuProcessHost* render_process_host) override; |
| 291 void RegisterInProcessServices(StaticServiceMap* services) override; | 291 void RegisterInProcessServices(StaticServiceMap* services) override; |
| 292 void RegisterOutOfProcessServices( | 292 void RegisterOutOfProcessServices( |
| 293 OutOfProcessServiceMap* services) override; | 293 OutOfProcessServiceMap* services) override; |
| 294 std::unique_ptr<base::Value> GetServiceManifestOverlay( | 294 std::unique_ptr<base::Value> GetServiceManifestOverlay( |
| 295 const std::string& name) override; | 295 const std::string& name) override; |
| 296 void OpenURL(content::BrowserContext* browser_context, | 296 void OpenURL(content::BrowserContext* browser_context, |
| 297 const content::OpenURLParams& params, | 297 const content::OpenURLParams& params, |
| 298 const base::Callback<void(content::WebContents*)>& callback) | 298 const base::Callback<void(content::WebContents*)>& callback) |
| 299 override; | 299 override; |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 353 // Vector of additional ChromeContentBrowserClientParts. | 353 // Vector of additional ChromeContentBrowserClientParts. |
| 354 // Parts are deleted in the reverse order they are added. | 354 // Parts are deleted in the reverse order they are added. |
| 355 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 355 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
| 356 | 356 |
| 357 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 357 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
| 358 | 358 |
| 359 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 359 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 360 }; | 360 }; |
| 361 | 361 |
| 362 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 362 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |