| 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 <memory> | 10 #include <memory> |
| (...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 288 content::RenderProcessHost* render_process_host) override; | 288 content::RenderProcessHost* render_process_host) override; |
| 289 void ExposeInterfacesToMediaService( | 289 void ExposeInterfacesToMediaService( |
| 290 shell::InterfaceRegistry* registry, | 290 shell::InterfaceRegistry* registry, |
| 291 content::RenderFrameHost* render_frame_host) override; | 291 content::RenderFrameHost* render_frame_host) override; |
| 292 void RegisterRenderFrameMojoInterfaces( | 292 void RegisterRenderFrameMojoInterfaces( |
| 293 shell::InterfaceRegistry* registry, | 293 shell::InterfaceRegistry* registry, |
| 294 content::RenderFrameHost* render_frame_host) override; | 294 content::RenderFrameHost* render_frame_host) override; |
| 295 void ExposeInterfacesToGpuProcess( | 295 void ExposeInterfacesToGpuProcess( |
| 296 shell::InterfaceRegistry* registry, | 296 shell::InterfaceRegistry* registry, |
| 297 content::GpuProcessHost* render_process_host) override; | 297 content::GpuProcessHost* render_process_host) override; |
| 298 void RegisterInProcessMojoApplications( | 298 void RegisterInProcessServices(StaticServiceMap* services) override; |
| 299 StaticMojoApplicationMap* apps) override; | 299 void RegisterOutOfProcessServices( |
| 300 void RegisterOutOfProcessMojoApplications( | 300 OutOfProcessServiceMap* services) override; |
| 301 OutOfProcessMojoApplicationMap* apps) override; | |
| 302 std::unique_ptr<base::Value> GetServiceManifestOverlay( | 301 std::unique_ptr<base::Value> GetServiceManifestOverlay( |
| 303 const std::string& name) override; | 302 const std::string& name) override; |
| 304 void OpenURL(content::BrowserContext* browser_context, | 303 void OpenURL(content::BrowserContext* browser_context, |
| 305 const content::OpenURLParams& params, | 304 const content::OpenURLParams& params, |
| 306 const base::Callback<void(content::WebContents*)>& callback) | 305 const base::Callback<void(content::WebContents*)>& callback) |
| 307 override; | 306 override; |
| 308 content::PresentationServiceDelegate* GetPresentationServiceDelegate( | 307 content::PresentationServiceDelegate* GetPresentationServiceDelegate( |
| 309 content::WebContents* web_contents) override; | 308 content::WebContents* web_contents) override; |
| 310 | 309 |
| 311 void RecordURLMetric(const std::string& metric, const GURL& url) override; | 310 void RecordURLMetric(const std::string& metric, const GURL& url) override; |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 359 // Vector of additional ChromeContentBrowserClientParts. | 358 // Vector of additional ChromeContentBrowserClientParts. |
| 360 // Parts are deleted in the reverse order they are added. | 359 // Parts are deleted in the reverse order they are added. |
| 361 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 360 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
| 362 | 361 |
| 363 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 362 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
| 364 | 363 |
| 365 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 364 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 366 }; | 365 }; |
| 367 | 366 |
| 368 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 367 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |