Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Side by Side Diff: chrome/browser/chrome_content_browser_client.h

Issue 2477573002: [Presentation API] (3rd) (1-UA) Split PresentationServiceDelegateImpl(PSDImpl) (Closed)
Patch Set: resolve code review comments from Derek Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 void OpenURL(content::BrowserContext* browser_context, 302 void OpenURL(content::BrowserContext* browser_context,
303 const content::OpenURLParams& params, 303 const content::OpenURLParams& params,
304 const base::Callback<void(content::WebContents*)>& callback) 304 const base::Callback<void(content::WebContents*)>& callback)
305 override; 305 override;
306 content::PresentationServiceDelegate* GetPresentationServiceDelegate( 306 content::ControllerPresentationServiceDelegate*
307 GetControllerPresentationServiceDelegate(
308 content::WebContents* web_contents) override;
309 content::ReceiverPresentationServiceDelegate*
310 GetReceiverPresentationServiceDelegate(
307 content::WebContents* web_contents) override; 311 content::WebContents* web_contents) override;
308 void RecordURLMetric(const std::string& metric, const GURL& url) override; 312 void RecordURLMetric(const std::string& metric, const GURL& url) override;
309 ScopedVector<content::NavigationThrottle> CreateThrottlesForNavigation( 313 ScopedVector<content::NavigationThrottle> CreateThrottlesForNavigation(
310 content::NavigationHandle* handle) override; 314 content::NavigationHandle* handle) override;
311 std::unique_ptr<content::NavigationUIData> GetNavigationUIData( 315 std::unique_ptr<content::NavigationUIData> GetNavigationUIData(
312 content::NavigationHandle* navigation_handle) override; 316 content::NavigationHandle* navigation_handle) override;
313 std::unique_ptr<content::MemoryCoordinatorDelegate> 317 std::unique_ptr<content::MemoryCoordinatorDelegate>
314 GetMemoryCoordinatorDelegate() override; 318 GetMemoryCoordinatorDelegate() override;
315 319
316 #if BUILDFLAG(ENABLE_MEDIA_REMOTING) 320 #if BUILDFLAG(ENABLE_MEDIA_REMOTING)
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 // Vector of additional ChromeContentBrowserClientParts. 368 // Vector of additional ChromeContentBrowserClientParts.
365 // Parts are deleted in the reverse order they are added. 369 // Parts are deleted in the reverse order they are added.
366 std::vector<ChromeContentBrowserClientParts*> extra_parts_; 370 std::vector<ChromeContentBrowserClientParts*> extra_parts_;
367 371
368 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; 372 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_;
369 373
370 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); 374 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient);
371 }; 375 };
372 376
373 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 377 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chrome_content_browser_client.cc » ('j') | chrome/browser/chrome_content_browser_client.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698