| 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 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 265 #endif // defined(OS_ANDROID) | 265 #endif // defined(OS_ANDROID) |
| 266 #if defined(OS_WIN) | 266 #if defined(OS_WIN) |
| 267 const wchar_t* GetResourceDllName() override; | 267 const wchar_t* GetResourceDllName() override; |
| 268 bool PreSpawnRenderer(sandbox::TargetPolicy* policy) override; | 268 bool PreSpawnRenderer(sandbox::TargetPolicy* policy) override; |
| 269 base::string16 GetAppContainerSidForSandboxType( | 269 base::string16 GetAppContainerSidForSandboxType( |
| 270 int sandbox_type) const override; | 270 int sandbox_type) const override; |
| 271 bool IsWin32kLockdownEnabledForMimeType( | 271 bool IsWin32kLockdownEnabledForMimeType( |
| 272 const std::string& mime_type) const override; | 272 const std::string& mime_type) const override; |
| 273 bool ShouldUseWindowsPrefetchArgument() const override; | 273 bool ShouldUseWindowsPrefetchArgument() const override; |
| 274 #endif | 274 #endif |
| 275 void RegisterRenderProcessMojoServices( |
| 276 content::ServiceRegistry* registry) override; |
| 275 void RegisterFrameMojoShellServices( | 277 void RegisterFrameMojoShellServices( |
| 276 content::ServiceRegistry* registry, | 278 content::ServiceRegistry* registry, |
| 277 content::RenderFrameHost* render_frame_host) override; | 279 content::RenderFrameHost* render_frame_host) override; |
| 278 void RegisterRenderFrameMojoServices( | 280 void RegisterRenderFrameMojoServices( |
| 279 content::ServiceRegistry* registry, | 281 content::ServiceRegistry* registry, |
| 280 content::RenderFrameHost* render_frame_host) override; | 282 content::RenderFrameHost* render_frame_host) override; |
| 281 void RegisterInProcessMojoApplications( | 283 void RegisterInProcessMojoApplications( |
| 282 StaticMojoApplicationMap* apps) override; | 284 StaticMojoApplicationMap* apps) override; |
| 283 void RegisterOutOfProcessMojoApplications( | 285 void RegisterOutOfProcessMojoApplications( |
| 284 OutOfProcessMojoApplicationMap* apps) override; | 286 OutOfProcessMojoApplicationMap* apps) override; |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 338 // Vector of additional ChromeContentBrowserClientParts. | 340 // Vector of additional ChromeContentBrowserClientParts. |
| 339 // Parts are deleted in the reverse order they are added. | 341 // Parts are deleted in the reverse order they are added. |
| 340 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 342 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
| 341 | 343 |
| 342 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 344 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
| 343 | 345 |
| 344 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 346 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 345 }; | 347 }; |
| 346 | 348 |
| 347 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 349 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |