OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 // Represents the browser side of the browser <--> renderer communication | 5 // Represents the browser side of the browser <--> renderer communication |
6 // channel. There will be one RenderProcessHost per renderer process. | 6 // channel. There will be one RenderProcessHost per renderer process. |
7 | 7 |
8 #include "content/browser/renderer_host/render_process_host_impl.h" | 8 #include "content/browser/renderer_host/render_process_host_impl.h" |
9 | 9 |
10 #include <algorithm> | 10 #include <algorithm> |
(...skipping 18 matching lines...) Expand all Loading... |
29 #include "base/single_thread_task_runner.h" | 29 #include "base/single_thread_task_runner.h" |
30 #include "base/stl_util.h" | 30 #include "base/stl_util.h" |
31 #include "base/strings/string_number_conversions.h" | 31 #include "base/strings/string_number_conversions.h" |
32 #include "base/supports_user_data.h" | 32 #include "base/supports_user_data.h" |
33 #include "base/sys_info.h" | 33 #include "base/sys_info.h" |
34 #include "base/threading/thread.h" | 34 #include "base/threading/thread.h" |
35 #include "base/threading/thread_restrictions.h" | 35 #include "base/threading/thread_restrictions.h" |
36 #include "base/trace_event/trace_event.h" | 36 #include "base/trace_event/trace_event.h" |
37 #include "base/tracked_objects.h" | 37 #include "base/tracked_objects.h" |
38 #include "cc/base/switches.h" | 38 #include "cc/base/switches.h" |
| 39 #include "components/scheduler/common/scheduler_switches.h" |
39 #include "components/tracing/tracing_switches.h" | 40 #include "components/tracing/tracing_switches.h" |
40 #include "content/browser/appcache/appcache_dispatcher_host.h" | 41 #include "content/browser/appcache/appcache_dispatcher_host.h" |
41 #include "content/browser/appcache/chrome_appcache_service.h" | 42 #include "content/browser/appcache/chrome_appcache_service.h" |
42 #include "content/browser/background_sync/background_sync_service_impl.h" | 43 #include "content/browser/background_sync/background_sync_service_impl.h" |
43 #include "content/browser/bad_message.h" | 44 #include "content/browser/bad_message.h" |
44 #include "content/browser/bluetooth/bluetooth_dispatcher_host.h" | 45 #include "content/browser/bluetooth/bluetooth_dispatcher_host.h" |
45 #include "content/browser/browser_child_process_host_impl.h" | 46 #include "content/browser/browser_child_process_host_impl.h" |
46 #include "content/browser/browser_main.h" | 47 #include "content/browser/browser_main.h" |
47 #include "content/browser/browser_main_loop.h" | 48 #include "content/browser/browser_main_loop.h" |
48 #include "content/browser/browser_plugin/browser_plugin_message_filter.h" | 49 #include "content/browser/browser_plugin/browser_plugin_message_filter.h" |
(...skipping 1371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1420 cc::switches::kShowLayerAnimationBounds, | 1421 cc::switches::kShowLayerAnimationBounds, |
1421 cc::switches::kShowPropertyChangedRects, | 1422 cc::switches::kShowPropertyChangedRects, |
1422 cc::switches::kShowReplicaScreenSpaceRects, | 1423 cc::switches::kShowReplicaScreenSpaceRects, |
1423 cc::switches::kShowScreenSpaceRects, | 1424 cc::switches::kShowScreenSpaceRects, |
1424 cc::switches::kShowSurfaceDamageRects, | 1425 cc::switches::kShowSurfaceDamageRects, |
1425 cc::switches::kSlowDownRasterScaleFactor, | 1426 cc::switches::kSlowDownRasterScaleFactor, |
1426 cc::switches::kStrictLayerPropertyChangeChecking, | 1427 cc::switches::kStrictLayerPropertyChangeChecking, |
1427 cc::switches::kTopControlsHideThreshold, | 1428 cc::switches::kTopControlsHideThreshold, |
1428 cc::switches::kTopControlsShowThreshold, | 1429 cc::switches::kTopControlsShowThreshold, |
1429 | 1430 |
| 1431 scheduler::switches::kEnableVirtualizedTime, |
| 1432 |
1430 #if defined(ENABLE_PLUGINS) | 1433 #if defined(ENABLE_PLUGINS) |
1431 switches::kEnablePepperTesting, | 1434 switches::kEnablePepperTesting, |
1432 #endif | 1435 #endif |
1433 #if defined(ENABLE_WEBRTC) | 1436 #if defined(ENABLE_WEBRTC) |
1434 switches::kDisableWebRtcHWDecoding, | 1437 switches::kDisableWebRtcHWDecoding, |
1435 switches::kDisableWebRtcHWEncoding, | 1438 switches::kDisableWebRtcHWEncoding, |
1436 switches::kDisableWebRtcMultipleRoutes, | 1439 switches::kDisableWebRtcMultipleRoutes, |
1437 switches::kEnableWebRtcDtls12, | 1440 switches::kEnableWebRtcDtls12, |
1438 switches::kEnableWebRtcHWH264Encoding, | 1441 switches::kEnableWebRtcHWH264Encoding, |
1439 switches::kEnableWebRtcStunOrigin, | 1442 switches::kEnableWebRtcStunOrigin, |
(...skipping 1185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2625 void RenderProcessHostImpl::GetAudioOutputControllers( | 2628 void RenderProcessHostImpl::GetAudioOutputControllers( |
2626 const GetAudioOutputControllersCallback& callback) const { | 2629 const GetAudioOutputControllersCallback& callback) const { |
2627 audio_renderer_host()->GetOutputControllers(callback); | 2630 audio_renderer_host()->GetOutputControllers(callback); |
2628 } | 2631 } |
2629 | 2632 |
2630 BluetoothDispatcherHost* RenderProcessHostImpl::GetBluetoothDispatcherHost() { | 2633 BluetoothDispatcherHost* RenderProcessHostImpl::GetBluetoothDispatcherHost() { |
2631 return bluetooth_dispatcher_host_.get(); | 2634 return bluetooth_dispatcher_host_.get(); |
2632 } | 2635 } |
2633 | 2636 |
2634 } // namespace content | 2637 } // namespace content |
OLD | NEW |