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 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
293 service_manager::InterfaceRegistry* registry, | 293 service_manager::InterfaceRegistry* registry, |
294 content::RenderFrameHost* render_frame_host) override; | 294 content::RenderFrameHost* render_frame_host) override; |
295 void ExposeInterfacesToGpuProcess( | 295 void ExposeInterfacesToGpuProcess( |
296 service_manager::InterfaceRegistry* registry, | 296 service_manager::InterfaceRegistry* registry, |
297 content::GpuProcessHost* render_process_host) override; | 297 content::GpuProcessHost* render_process_host) override; |
298 void RegisterInProcessServices(StaticServiceMap* services) override; | 298 void RegisterInProcessServices(StaticServiceMap* services) override; |
299 void RegisterOutOfProcessServices( | 299 void RegisterOutOfProcessServices( |
300 OutOfProcessServiceMap* services) override; | 300 OutOfProcessServiceMap* services) override; |
301 std::unique_ptr<base::Value> GetServiceManifestOverlay( | 301 std::unique_ptr<base::Value> GetServiceManifestOverlay( |
302 const std::string& name) override; | 302 const std::string& name) override; |
| 303 std::vector<content::ContentBrowserClient::ServiceManifestInfo> |
| 304 GetExtraServiceManifests() override; |
303 void OpenURL(content::BrowserContext* browser_context, | 305 void OpenURL(content::BrowserContext* browser_context, |
304 const content::OpenURLParams& params, | 306 const content::OpenURLParams& params, |
305 const base::Callback<void(content::WebContents*)>& callback) | 307 const base::Callback<void(content::WebContents*)>& callback) |
306 override; | 308 override; |
307 content::PresentationServiceDelegate* GetPresentationServiceDelegate( | 309 content::PresentationServiceDelegate* GetPresentationServiceDelegate( |
308 content::WebContents* web_contents) override; | 310 content::WebContents* web_contents) override; |
309 void RecordURLMetric(const std::string& metric, const GURL& url) override; | 311 void RecordURLMetric(const std::string& metric, const GURL& url) override; |
310 ScopedVector<content::NavigationThrottle> CreateThrottlesForNavigation( | 312 ScopedVector<content::NavigationThrottle> CreateThrottlesForNavigation( |
311 content::NavigationHandle* handle) override; | 313 content::NavigationHandle* handle) override; |
312 std::unique_ptr<content::NavigationUIData> GetNavigationUIData( | 314 std::unique_ptr<content::NavigationUIData> GetNavigationUIData( |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
365 // Vector of additional ChromeContentBrowserClientParts. | 367 // Vector of additional ChromeContentBrowserClientParts. |
366 // Parts are deleted in the reverse order they are added. | 368 // Parts are deleted in the reverse order they are added. |
367 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 369 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
368 | 370 |
369 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 371 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
370 | 372 |
371 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 373 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
372 }; | 374 }; |
373 | 375 |
374 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 376 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |