| 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 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 267 #endif // defined(OS_ANDROID) | 267 #endif // defined(OS_ANDROID) |
| 268 #if defined(OS_WIN) | 268 #if defined(OS_WIN) |
| 269 const wchar_t* GetResourceDllName() override; | 269 const wchar_t* GetResourceDllName() override; |
| 270 void PreSpawnRenderer(sandbox::TargetPolicy* policy, bool* success) override; | 270 void PreSpawnRenderer(sandbox::TargetPolicy* policy, bool* success) override; |
| 271 base::string16 GetAppContainerSidForSandboxType( | 271 base::string16 GetAppContainerSidForSandboxType( |
| 272 int sandbox_type) const override; | 272 int sandbox_type) const override; |
| 273 #endif | 273 #endif |
| 274 void RegisterFrameMojoShellServices( | 274 void RegisterFrameMojoShellServices( |
| 275 content::ServiceRegistry* registry, | 275 content::ServiceRegistry* registry, |
| 276 content::RenderFrameHost* render_frame_host) override; | 276 content::RenderFrameHost* render_frame_host) override; |
| 277 void RegisterInProcessMojoApplications( | 277 void RegisterRenderFrameMojoServices( |
| 278 StaticMojoApplicationMap* apps) override; | 278 content::ServiceRegistry* registry, |
| 279 content::RenderFrameHost* render_frame_host) override; |
| 279 void OpenURL(content::BrowserContext* browser_context, | 280 void OpenURL(content::BrowserContext* browser_context, |
| 280 const content::OpenURLParams& params, | 281 const content::OpenURLParams& params, |
| 281 const base::Callback<void(content::WebContents*)>& callback) | 282 const base::Callback<void(content::WebContents*)>& callback) |
| 282 override; | 283 override; |
| 283 content::PresentationServiceDelegate* GetPresentationServiceDelegate( | 284 content::PresentationServiceDelegate* GetPresentationServiceDelegate( |
| 284 content::WebContents* web_contents) override; | 285 content::WebContents* web_contents) override; |
| 285 | 286 |
| 286 void RecordURLMetric(const std::string& metric, const GURL& url) override; | 287 void RecordURLMetric(const std::string& metric, const GURL& url) override; |
| 287 | 288 |
| 288 private: | 289 private: |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 330 // Vector of additional ChromeContentBrowserClientParts. | 331 // Vector of additional ChromeContentBrowserClientParts. |
| 331 // Parts are deleted in the reverse order they are added. | 332 // Parts are deleted in the reverse order they are added. |
| 332 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 333 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
| 333 | 334 |
| 334 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 335 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
| 335 | 336 |
| 336 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 337 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 337 }; | 338 }; |
| 338 | 339 |
| 339 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 340 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |