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 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
279 bool PreSpawnRenderer(sandbox::TargetPolicy* policy) override; | 279 bool PreSpawnRenderer(sandbox::TargetPolicy* policy) override; |
280 base::string16 GetAppContainerSidForSandboxType( | 280 base::string16 GetAppContainerSidForSandboxType( |
281 int sandbox_type) const override; | 281 int sandbox_type) const override; |
282 #endif | 282 #endif |
283 void RegisterFrameMojoShellServices( | 283 void RegisterFrameMojoShellServices( |
284 content::ServiceRegistry* registry, | 284 content::ServiceRegistry* registry, |
285 content::RenderFrameHost* render_frame_host) override; | 285 content::RenderFrameHost* render_frame_host) override; |
286 void RegisterRenderFrameMojoServices( | 286 void RegisterRenderFrameMojoServices( |
287 content::ServiceRegistry* registry, | 287 content::ServiceRegistry* registry, |
288 content::RenderFrameHost* render_frame_host) override; | 288 content::RenderFrameHost* render_frame_host) override; |
| 289 void RegisterInProcessMojoApplications( |
| 290 StaticMojoApplicationMap* apps) override; |
289 void RegisterOutOfProcessMojoApplications( | 291 void RegisterOutOfProcessMojoApplications( |
290 OutOfProcessMojoApplicationMap* apps) override; | 292 OutOfProcessMojoApplicationMap* apps) override; |
291 void OpenURL(content::BrowserContext* browser_context, | 293 void OpenURL(content::BrowserContext* browser_context, |
292 const content::OpenURLParams& params, | 294 const content::OpenURLParams& params, |
293 const base::Callback<void(content::WebContents*)>& callback) | 295 const base::Callback<void(content::WebContents*)>& callback) |
294 override; | 296 override; |
295 content::PresentationServiceDelegate* GetPresentationServiceDelegate( | 297 content::PresentationServiceDelegate* GetPresentationServiceDelegate( |
296 content::WebContents* web_contents) override; | 298 content::WebContents* web_contents) override; |
297 | 299 |
298 void RecordURLMetric(const std::string& metric, const GURL& url) override; | 300 void RecordURLMetric(const std::string& metric, const GURL& url) override; |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
344 // Vector of additional ChromeContentBrowserClientParts. | 346 // Vector of additional ChromeContentBrowserClientParts. |
345 // Parts are deleted in the reverse order they are added. | 347 // Parts are deleted in the reverse order they are added. |
346 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 348 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
347 | 349 |
348 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 350 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
349 | 351 |
350 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 352 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
351 }; | 353 }; |
352 | 354 |
353 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 355 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |