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 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
273 void PreSpawnRenderer(sandbox::TargetPolicy* policy, bool* success) override; | 273 void PreSpawnRenderer(sandbox::TargetPolicy* policy, bool* success) override; |
274 base::string16 GetAppContainerSidForSandboxType( | 274 base::string16 GetAppContainerSidForSandboxType( |
275 int sandbox_type) const override; | 275 int sandbox_type) const override; |
276 #endif | 276 #endif |
277 void RegisterFrameMojoShellServices( | 277 void RegisterFrameMojoShellServices( |
278 content::ServiceRegistry* registry, | 278 content::ServiceRegistry* registry, |
279 content::RenderFrameHost* render_frame_host) override; | 279 content::RenderFrameHost* render_frame_host) override; |
280 void RegisterRenderFrameMojoServices( | 280 void RegisterRenderFrameMojoServices( |
281 content::ServiceRegistry* registry, | 281 content::ServiceRegistry* registry, |
282 content::RenderFrameHost* render_frame_host) override; | 282 content::RenderFrameHost* render_frame_host) override; |
| 283 void RegisterOutOfProcessMojoApplications( |
| 284 OutOfProcessMojoApplicationMap* apps) override; |
283 void OpenURL(content::BrowserContext* browser_context, | 285 void OpenURL(content::BrowserContext* browser_context, |
284 const content::OpenURLParams& params, | 286 const content::OpenURLParams& params, |
285 const base::Callback<void(content::WebContents*)>& callback) | 287 const base::Callback<void(content::WebContents*)>& callback) |
286 override; | 288 override; |
287 content::PresentationServiceDelegate* GetPresentationServiceDelegate( | 289 content::PresentationServiceDelegate* GetPresentationServiceDelegate( |
288 content::WebContents* web_contents) override; | 290 content::WebContents* web_contents) override; |
289 | 291 |
290 void RecordURLMetric(const std::string& metric, const GURL& url) override; | 292 void RecordURLMetric(const std::string& metric, const GURL& url) override; |
291 ScopedVector<content::NavigationThrottle> CreateThrottlesForNavigation( | 293 ScopedVector<content::NavigationThrottle> CreateThrottlesForNavigation( |
292 content::NavigationHandle* handle) override; | 294 content::NavigationHandle* handle) override; |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
336 // Vector of additional ChromeContentBrowserClientParts. | 338 // Vector of additional ChromeContentBrowserClientParts. |
337 // Parts are deleted in the reverse order they are added. | 339 // Parts are deleted in the reverse order they are added. |
338 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 340 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
339 | 341 |
340 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 342 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
341 | 343 |
342 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 344 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
343 }; | 345 }; |
344 | 346 |
345 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 347 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |