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 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
302 override; | 302 override; |
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 bool RedirectNonUINonIOBrowserThreadsToTaskScheduler() override; |
312 | 313 |
313 #if BUILDFLAG(ENABLE_MEDIA_REMOTING) | 314 #if BUILDFLAG(ENABLE_MEDIA_REMOTING) |
314 void CreateMediaRemoter(content::RenderFrameHost* render_frame_host, | 315 void CreateMediaRemoter(content::RenderFrameHost* render_frame_host, |
315 media::mojom::RemotingSourcePtr source, | 316 media::mojom::RemotingSourcePtr source, |
316 media::mojom::RemoterRequest request) final; | 317 media::mojom::RemoterRequest request) final; |
317 #endif // BUILDFLAG(ENABLE_MEDIA_REMOTING) | 318 #endif // BUILDFLAG(ENABLE_MEDIA_REMOTING) |
318 | 319 |
319 private: | 320 private: |
320 friend class DisableWebRtcEncryptionFlagTest; | 321 friend class DisableWebRtcEncryptionFlagTest; |
321 | 322 |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
361 // Vector of additional ChromeContentBrowserClientParts. | 362 // Vector of additional ChromeContentBrowserClientParts. |
362 // Parts are deleted in the reverse order they are added. | 363 // Parts are deleted in the reverse order they are added. |
363 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 364 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
364 | 365 |
365 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 366 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
366 | 367 |
367 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 368 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
368 }; | 369 }; |
369 | 370 |
370 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 371 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |