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