| 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 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 273 void GetAdditionalMappedFilesForChildProcess( | 273 void GetAdditionalMappedFilesForChildProcess( |
| 274 const base::CommandLine& command_line, | 274 const base::CommandLine& command_line, |
| 275 int child_process_id, | 275 int child_process_id, |
| 276 content::FileDescriptorInfo* mappings) override; | 276 content::FileDescriptorInfo* mappings) override; |
| 277 #endif // defined(OS_ANDROID) | 277 #endif // defined(OS_ANDROID) |
| 278 #if defined(OS_WIN) | 278 #if defined(OS_WIN) |
| 279 const wchar_t* GetResourceDllName() override; | 279 const wchar_t* GetResourceDllName() override; |
| 280 bool PreSpawnRenderer(sandbox::TargetPolicy* policy) override; | 280 bool PreSpawnRenderer(sandbox::TargetPolicy* policy) override; |
| 281 base::string16 GetAppContainerSidForSandboxType( | 281 base::string16 GetAppContainerSidForSandboxType( |
| 282 int sandbox_type) const override; | 282 int sandbox_type) const override; |
| 283 bool IsWin32kLockdownEnabledForMimeType( | |
| 284 const std::string& mime_type) const override; | |
| 285 #endif | 283 #endif |
| 286 void ExposeInterfacesToRenderer( | 284 void ExposeInterfacesToRenderer( |
| 287 shell::InterfaceRegistry* registry, | 285 shell::InterfaceRegistry* registry, |
| 288 content::RenderProcessHost* render_process_host) override; | 286 content::RenderProcessHost* render_process_host) override; |
| 289 void ExposeInterfacesToMediaService( | 287 void ExposeInterfacesToMediaService( |
| 290 shell::InterfaceRegistry* registry, | 288 shell::InterfaceRegistry* registry, |
| 291 content::RenderFrameHost* render_frame_host) override; | 289 content::RenderFrameHost* render_frame_host) override; |
| 292 void RegisterRenderFrameMojoInterfaces( | 290 void RegisterRenderFrameMojoInterfaces( |
| 293 shell::InterfaceRegistry* registry, | 291 shell::InterfaceRegistry* registry, |
| 294 content::RenderFrameHost* render_frame_host) override; | 292 content::RenderFrameHost* render_frame_host) override; |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 358 // Vector of additional ChromeContentBrowserClientParts. | 356 // Vector of additional ChromeContentBrowserClientParts. |
| 359 // Parts are deleted in the reverse order they are added. | 357 // Parts are deleted in the reverse order they are added. |
| 360 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 358 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
| 361 | 359 |
| 362 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 360 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
| 363 | 361 |
| 364 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 362 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 365 }; | 363 }; |
| 366 | 364 |
| 367 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 365 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |