| 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 <set> | 10 #include <set> |
| (...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 273 const base::CommandLine& command_line, | 273 const base::CommandLine& command_line, |
| 274 int child_process_id, | 274 int child_process_id, |
| 275 content::FileDescriptorInfo* mappings) override; | 275 content::FileDescriptorInfo* mappings) override; |
| 276 #endif // defined(OS_ANDROID) | 276 #endif // defined(OS_ANDROID) |
| 277 #if defined(OS_WIN) | 277 #if defined(OS_WIN) |
| 278 const wchar_t* GetResourceDllName() override; | 278 const wchar_t* GetResourceDllName() override; |
| 279 bool PreSpawnRenderer(sandbox::TargetPolicy* policy) override; | 279 bool PreSpawnRenderer(sandbox::TargetPolicy* policy) override; |
| 280 base::string16 GetAppContainerSidForSandboxType( | 280 base::string16 GetAppContainerSidForSandboxType( |
| 281 int sandbox_type) const override; | 281 int sandbox_type) const override; |
| 282 #endif | 282 #endif |
| 283 void RegisterRenderProcessMojoServices( |
| 284 content::ServiceRegistry* registry) override; |
| 283 void RegisterFrameMojoShellServices( | 285 void RegisterFrameMojoShellServices( |
| 284 content::ServiceRegistry* registry, | 286 content::ServiceRegistry* registry, |
| 285 content::RenderFrameHost* render_frame_host) override; | 287 content::RenderFrameHost* render_frame_host) override; |
| 286 void RegisterRenderFrameMojoServices( | 288 void RegisterRenderFrameMojoServices( |
| 287 content::ServiceRegistry* registry, | 289 content::ServiceRegistry* registry, |
| 288 content::RenderFrameHost* render_frame_host) override; | 290 content::RenderFrameHost* render_frame_host) override; |
| 289 void RegisterOutOfProcessMojoApplications( | 291 void RegisterOutOfProcessMojoApplications( |
| 290 OutOfProcessMojoApplicationMap* apps) override; | 292 OutOfProcessMojoApplicationMap* apps) override; |
| 291 void OpenURL(content::BrowserContext* browser_context, | 293 void OpenURL(content::BrowserContext* browser_context, |
| 292 const content::OpenURLParams& params, | 294 const content::OpenURLParams& params, |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 344 // Vector of additional ChromeContentBrowserClientParts. | 346 // Vector of additional ChromeContentBrowserClientParts. |
| 345 // Parts are deleted in the reverse order they are added. | 347 // Parts are deleted in the reverse order they are added. |
| 346 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 348 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
| 347 | 349 |
| 348 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 350 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
| 349 | 351 |
| 350 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 352 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 351 }; | 353 }; |
| 352 | 354 |
| 353 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 355 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |