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