| 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 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 267 content::FileDescriptorInfo* mappings) override; | 267 content::FileDescriptorInfo* mappings) override; |
| 268 #endif // defined(OS_ANDROID) | 268 #endif // defined(OS_ANDROID) |
| 269 #if defined(OS_WIN) | 269 #if defined(OS_WIN) |
| 270 const wchar_t* GetResourceDllName() override; | 270 const wchar_t* GetResourceDllName() override; |
| 271 bool PreSpawnRenderer(sandbox::TargetPolicy* policy) override; | 271 bool PreSpawnRenderer(sandbox::TargetPolicy* policy) override; |
| 272 base::string16 GetAppContainerSidForSandboxType( | 272 base::string16 GetAppContainerSidForSandboxType( |
| 273 int sandbox_type) const override; | 273 int sandbox_type) const override; |
| 274 bool IsWin32kLockdownEnabledForMimeType( | 274 bool IsWin32kLockdownEnabledForMimeType( |
| 275 const std::string& mime_type) const override; | 275 const std::string& mime_type) const override; |
| 276 #endif | 276 #endif |
| 277 void RegisterRenderProcessMojoServices( | 277 void ExposeInterfacesToRenderer( |
| 278 content::ServiceRegistry* registry, | 278 shell::InterfaceRegistry* registry, |
| 279 content::RenderProcessHost* render_process_host) override; | 279 content::RenderProcessHost* render_process_host) override; |
| 280 void RegisterFrameMojoShellInterfaces( | 280 void RegisterFrameMojoShellInterfaces( |
| 281 shell::InterfaceRegistry* registry, | 281 shell::InterfaceRegistry* registry, |
| 282 content::RenderFrameHost* render_frame_host) override; | 282 content::RenderFrameHost* render_frame_host) override; |
| 283 void RegisterRenderFrameMojoInterfaces( | 283 void RegisterRenderFrameMojoInterfaces( |
| 284 shell::InterfaceRegistry* registry, | 284 shell::InterfaceRegistry* registry, |
| 285 content::RenderFrameHost* render_frame_host) override; | 285 content::RenderFrameHost* render_frame_host) override; |
| 286 void RegisterInProcessMojoApplications( | 286 void RegisterInProcessMojoApplications( |
| 287 StaticMojoApplicationMap* apps) override; | 287 StaticMojoApplicationMap* apps) override; |
| 288 void RegisterOutOfProcessMojoApplications( | 288 void RegisterOutOfProcessMojoApplications( |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 343 // Vector of additional ChromeContentBrowserClientParts. | 343 // Vector of additional ChromeContentBrowserClientParts. |
| 344 // Parts are deleted in the reverse order they are added. | 344 // Parts are deleted in the reverse order they are added. |
| 345 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 345 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
| 346 | 346 |
| 347 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 347 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
| 348 | 348 |
| 349 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 349 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 350 }; | 350 }; |
| 351 | 351 |
| 352 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 352 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |