| 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 <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <utility> | 10 #include <utility> |
| (...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 244 | 244 |
| 245 #if defined(OS_POSIX) && !defined(OS_MACOSX) | 245 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
| 246 void GetAdditionalMappedFilesForChildProcess( | 246 void GetAdditionalMappedFilesForChildProcess( |
| 247 const base::CommandLine& command_line, | 247 const base::CommandLine& command_line, |
| 248 int child_process_id, | 248 int child_process_id, |
| 249 content::FileDescriptorInfo* mappings) override; | 249 content::FileDescriptorInfo* mappings) override; |
| 250 #endif | 250 #endif |
| 251 #if defined(OS_WIN) | 251 #if defined(OS_WIN) |
| 252 const wchar_t* GetResourceDllName() override; | 252 const wchar_t* GetResourceDllName() override; |
| 253 void PreSpawnRenderer(sandbox::TargetPolicy* policy, bool* success) override; | 253 void PreSpawnRenderer(sandbox::TargetPolicy* policy, bool* success) override; |
| 254 base::string16 GetAppContainerSidForSandboxType( |
| 255 int sandbox_type) const override; |
| 254 #endif | 256 #endif |
| 255 void OverrideRenderFrameMojoServices( | 257 void OverrideRenderFrameMojoServices( |
| 256 content::ServiceRegistry* registry, | 258 content::ServiceRegistry* registry, |
| 257 content::RenderFrameHost* render_frame_host) override; | 259 content::RenderFrameHost* render_frame_host) override; |
| 258 void RegisterMojoApplications(StaticMojoApplicationMap* apps) override; | 260 void RegisterMojoApplications(StaticMojoApplicationMap* apps) override; |
| 259 void OpenURL(content::BrowserContext* browser_context, | 261 void OpenURL(content::BrowserContext* browser_context, |
| 260 const content::OpenURLParams& params, | 262 const content::OpenURLParams& params, |
| 261 const base::Callback<void(content::WebContents*)>& callback) | 263 const base::Callback<void(content::WebContents*)>& callback) |
| 262 override; | 264 override; |
| 263 content::PresentationServiceDelegate* GetPresentationServiceDelegate( | 265 content::PresentationServiceDelegate* GetPresentationServiceDelegate( |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 319 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 321 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
| 320 | 322 |
| 321 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 323 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
| 322 | 324 |
| 323 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 325 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 324 }; | 326 }; |
| 325 | 327 |
| 326 } // namespace chrome | 328 } // namespace chrome |
| 327 | 329 |
| 328 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 330 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |