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 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
303 content::PresentationServiceDelegate* GetPresentationServiceDelegate( | 303 content::PresentationServiceDelegate* GetPresentationServiceDelegate( |
304 content::WebContents* web_contents) override; | 304 content::WebContents* web_contents) override; |
305 void RecordURLMetric(const std::string& metric, const GURL& url) override; | 305 void RecordURLMetric(const std::string& metric, const GURL& url) override; |
306 ScopedVector<content::NavigationThrottle> CreateThrottlesForNavigation( | 306 ScopedVector<content::NavigationThrottle> CreateThrottlesForNavigation( |
307 content::NavigationHandle* handle) override; | 307 content::NavigationHandle* handle) override; |
308 std::unique_ptr<content::NavigationUIData> GetNavigationUIData( | 308 std::unique_ptr<content::NavigationUIData> GetNavigationUIData( |
309 content::NavigationHandle* navigation_handle) override; | 309 content::NavigationHandle* navigation_handle) override; |
310 std::unique_ptr<content::MemoryCoordinatorDelegate> | 310 std::unique_ptr<content::MemoryCoordinatorDelegate> |
311 GetMemoryCoordinatorDelegate() override; | 311 GetMemoryCoordinatorDelegate() override; |
312 ::rappor::RapporService* GetRapporService() override; | 312 ::rappor::RapporService* GetRapporService() override; |
| 313 bool RedirectNonUINonIOBrowserThreadsToTaskScheduler() override; |
313 | 314 |
314 #if BUILDFLAG(ENABLE_MEDIA_REMOTING) | 315 #if BUILDFLAG(ENABLE_MEDIA_REMOTING) |
315 void CreateMediaRemoter(content::RenderFrameHost* render_frame_host, | 316 void CreateMediaRemoter(content::RenderFrameHost* render_frame_host, |
316 media::mojom::RemotingSourcePtr source, | 317 media::mojom::RemotingSourcePtr source, |
317 media::mojom::RemoterRequest request) final; | 318 media::mojom::RemoterRequest request) final; |
318 #endif // BUILDFLAG(ENABLE_MEDIA_REMOTING) | 319 #endif // BUILDFLAG(ENABLE_MEDIA_REMOTING) |
319 | 320 |
320 private: | 321 private: |
321 friend class DisableWebRtcEncryptionFlagTest; | 322 friend class DisableWebRtcEncryptionFlagTest; |
322 | 323 |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
362 // Vector of additional ChromeContentBrowserClientParts. | 363 // Vector of additional ChromeContentBrowserClientParts. |
363 // Parts are deleted in the reverse order they are added. | 364 // Parts are deleted in the reverse order they are added. |
364 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 365 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
365 | 366 |
366 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 367 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
367 | 368 |
368 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 369 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
369 }; | 370 }; |
370 | 371 |
371 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 372 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |