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