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 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
290 content::GpuProcessHost* render_process_host) override; | 290 content::GpuProcessHost* render_process_host) override; |
291 void RegisterInProcessServices(StaticServiceMap* services) override; | 291 void RegisterInProcessServices(StaticServiceMap* services) override; |
292 void RegisterOutOfProcessServices( | 292 void RegisterOutOfProcessServices( |
293 OutOfProcessServiceMap* services) override; | 293 OutOfProcessServiceMap* services) override; |
294 std::unique_ptr<base::Value> GetServiceManifestOverlay( | 294 std::unique_ptr<base::Value> GetServiceManifestOverlay( |
295 const std::string& name) override; | 295 const std::string& name) override; |
296 void OpenURL(content::BrowserContext* browser_context, | 296 void OpenURL(content::BrowserContext* browser_context, |
297 const content::OpenURLParams& params, | 297 const content::OpenURLParams& params, |
298 const base::Callback<void(content::WebContents*)>& callback) | 298 const base::Callback<void(content::WebContents*)>& callback) |
299 override; | 299 override; |
300 content::PresentationServiceDelegate* GetPresentationServiceDelegate( | 300 content::ControllerPresentationServiceDelegate* |
| 301 GetControllerPresentationServiceDelegate( |
| 302 content::WebContents* web_contents) override; |
| 303 content::ReceiverPresentationServiceDelegate* |
| 304 GetReceiverPresentationServiceDelegate( |
301 content::WebContents* web_contents) override; | 305 content::WebContents* web_contents) override; |
302 | 306 |
303 void RecordURLMetric(const std::string& metric, const GURL& url) override; | 307 void RecordURLMetric(const std::string& metric, const GURL& url) override; |
304 ScopedVector<content::NavigationThrottle> CreateThrottlesForNavigation( | 308 ScopedVector<content::NavigationThrottle> CreateThrottlesForNavigation( |
305 content::NavigationHandle* handle) override; | 309 content::NavigationHandle* handle) override; |
306 std::unique_ptr<content::NavigationUIData> GetNavigationUIData( | 310 std::unique_ptr<content::NavigationUIData> GetNavigationUIData( |
307 content::NavigationHandle* navigation_handle) override; | 311 content::NavigationHandle* navigation_handle) override; |
308 std::unique_ptr<content::MemoryCoordinatorDelegate> | 312 std::unique_ptr<content::MemoryCoordinatorDelegate> |
309 GetMemoryCoordinatorDelegate() override; | 313 GetMemoryCoordinatorDelegate() override; |
310 | 314 |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
353 // Vector of additional ChromeContentBrowserClientParts. | 357 // Vector of additional ChromeContentBrowserClientParts. |
354 // Parts are deleted in the reverse order they are added. | 358 // Parts are deleted in the reverse order they are added. |
355 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 359 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
356 | 360 |
357 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 361 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
358 | 362 |
359 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 363 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
360 }; | 364 }; |
361 | 365 |
362 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 366 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |