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 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 #endif // defined(OS_ANDROID) | 280 #endif // defined(OS_ANDROID) |
281 #if defined(OS_WIN) | 281 #if defined(OS_WIN) |
282 const wchar_t* GetResourceDllName() override; | 282 const wchar_t* GetResourceDllName() override; |
283 bool PreSpawnRenderer(sandbox::TargetPolicy* policy) override; | 283 bool PreSpawnRenderer(sandbox::TargetPolicy* policy) override; |
284 base::string16 GetAppContainerSidForSandboxType( | 284 base::string16 GetAppContainerSidForSandboxType( |
285 int sandbox_type) const override; | 285 int sandbox_type) const override; |
286 bool IsWin32kLockdownEnabledForMimeType( | 286 bool IsWin32kLockdownEnabledForMimeType( |
287 const std::string& mime_type) const override; | 287 const std::string& mime_type) const override; |
288 bool ShouldUseWindowsPrefetchArgument() const override; | 288 bool ShouldUseWindowsPrefetchArgument() const override; |
289 #endif | 289 #endif |
| 290 std::string GetPackagedMojoApplicationName() override; |
| 291 std::string GetMojoApplicationNameForProcess( |
| 292 content::ProcessType type) override; |
| 293 bool GetMojoApplicationManifest(const base::StringPiece& name, |
| 294 std::string* manifest_contents) override; |
290 void RegisterFrameMojoShellServices( | 295 void RegisterFrameMojoShellServices( |
291 content::ServiceRegistry* registry, | 296 content::ServiceRegistry* registry, |
292 content::RenderFrameHost* render_frame_host) override; | 297 content::RenderFrameHost* render_frame_host) override; |
293 void RegisterRenderFrameMojoServices( | 298 void RegisterRenderFrameMojoServices( |
294 content::ServiceRegistry* registry, | 299 content::ServiceRegistry* registry, |
295 content::RenderFrameHost* render_frame_host) override; | 300 content::RenderFrameHost* render_frame_host) override; |
296 void RegisterInProcessMojoApplications( | 301 void RegisterInProcessMojoApplications( |
297 StaticMojoApplicationMap* apps) override; | 302 StaticMojoApplicationMap* apps) override; |
298 void RegisterOutOfProcessMojoApplications( | 303 void RegisterOutOfProcessMojoApplications( |
299 OutOfProcessMojoApplicationMap* apps) override; | 304 OutOfProcessMojoApplicationMap* apps) override; |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
353 // Vector of additional ChromeContentBrowserClientParts. | 358 // Vector of additional ChromeContentBrowserClientParts. |
354 // Parts are deleted in the reverse order they are added. | 359 // Parts are deleted in the reverse order they are added. |
355 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 360 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
356 | 361 |
357 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 362 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
358 | 363 |
359 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 364 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
360 }; | 365 }; |
361 | 366 |
362 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 367 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |