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<std::pair<std::string, int>> GetExtraServiceManifests() override; |
302 void OpenURL(content::BrowserContext* browser_context, | 303 void OpenURL(content::BrowserContext* browser_context, |
303 const content::OpenURLParams& params, | 304 const content::OpenURLParams& params, |
304 const base::Callback<void(content::WebContents*)>& callback) | 305 const base::Callback<void(content::WebContents*)>& callback) |
305 override; | 306 override; |
306 content::PresentationServiceDelegate* GetPresentationServiceDelegate( | 307 content::PresentationServiceDelegate* GetPresentationServiceDelegate( |
307 content::WebContents* web_contents) override; | 308 content::WebContents* web_contents) override; |
308 void RecordURLMetric(const std::string& metric, const GURL& url) override; | 309 void RecordURLMetric(const std::string& metric, const GURL& url) override; |
309 ScopedVector<content::NavigationThrottle> CreateThrottlesForNavigation( | 310 ScopedVector<content::NavigationThrottle> CreateThrottlesForNavigation( |
310 content::NavigationHandle* handle) override; | 311 content::NavigationHandle* handle) override; |
311 std::unique_ptr<content::NavigationUIData> GetNavigationUIData( | 312 std::unique_ptr<content::NavigationUIData> GetNavigationUIData( |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
364 // Vector of additional ChromeContentBrowserClientParts. | 365 // Vector of additional ChromeContentBrowserClientParts. |
365 // Parts are deleted in the reverse order they are added. | 366 // Parts are deleted in the reverse order they are added. |
366 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 367 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
367 | 368 |
368 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 369 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
369 | 370 |
370 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 371 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
371 }; | 372 }; |
372 | 373 |
373 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 374 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |