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

Side by Side Diff: content/browser/browser_main_loop.cc

Issue 22912014: Correctly use IsThreadedCompositingEnabled in content_browsertests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 months 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | content/browser/gpu/compositor_util.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "content/browser/browser_main_loop.h" 5 #include "content/browser/browser_main_loop.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/debug/trace_event.h" 9 #include "base/debug/trace_event.h"
10 #include "base/file_util.h" 10 #include "base/file_util.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/message_loop/message_loop.h" 12 #include "base/message_loop/message_loop.h"
13 #include "base/metrics/field_trial.h" 13 #include "base/metrics/field_trial.h"
14 #include "base/metrics/histogram.h" 14 #include "base/metrics/histogram.h"
15 #include "base/path_service.h" 15 #include "base/path_service.h"
16 #include "base/pending_task.h" 16 #include "base/pending_task.h"
17 #include "base/power_monitor/power_monitor.h" 17 #include "base/power_monitor/power_monitor.h"
18 #include "base/power_monitor/power_monitor_device_source.h" 18 #include "base/power_monitor/power_monitor_device_source.h"
19 #include "base/process/process_metrics.h" 19 #include "base/process/process_metrics.h"
20 #include "base/run_loop.h" 20 #include "base/run_loop.h"
21 #include "base/strings/string_number_conversions.h" 21 #include "base/strings/string_number_conversions.h"
22 #include "base/system_monitor/system_monitor.h" 22 #include "base/system_monitor/system_monitor.h"
23 #include "base/threading/thread_restrictions.h" 23 #include "base/threading/thread_restrictions.h"
24 #include "base/timer/hi_res_timer_manager.h" 24 #include "base/timer/hi_res_timer_manager.h"
25 #include "content/browser/browser_thread_impl.h" 25 #include "content/browser/browser_thread_impl.h"
26 #include "content/browser/device_orientation/device_motion_service.h" 26 #include "content/browser/device_orientation/device_motion_service.h"
27 #include "content/browser/download/save_file_manager.h" 27 #include "content/browser/download/save_file_manager.h"
28 #include "content/browser/gamepad/gamepad_service.h" 28 #include "content/browser/gamepad/gamepad_service.h"
29 #include "content/browser/gpu/browser_gpu_channel_host_factory.h" 29 #include "content/browser/gpu/browser_gpu_channel_host_factory.h"
30 #include "content/browser/gpu/compositor_util.h"
30 #include "content/browser/gpu/gpu_data_manager_impl.h" 31 #include "content/browser/gpu/gpu_data_manager_impl.h"
31 #include "content/browser/gpu/gpu_process_host.h" 32 #include "content/browser/gpu/gpu_process_host.h"
32 #include "content/browser/gpu/gpu_process_host_ui_shim.h" 33 #include "content/browser/gpu/gpu_process_host_ui_shim.h"
33 #include "content/browser/histogram_synchronizer.h" 34 #include "content/browser/histogram_synchronizer.h"
34 #include "content/browser/loader/resource_dispatcher_host_impl.h" 35 #include "content/browser/loader/resource_dispatcher_host_impl.h"
35 #include "content/browser/net/browser_online_state_observer.h" 36 #include "content/browser/net/browser_online_state_observer.h"
36 #include "content/browser/plugin_service_impl.h" 37 #include "content/browser/plugin_service_impl.h"
37 #include "content/browser/renderer_host/media/audio_mirroring_manager.h" 38 #include "content/browser/renderer_host/media/audio_mirroring_manager.h"
38 #include "content/browser/renderer_host/media/media_stream_manager.h" 39 #include "content/browser/renderer_host/media/media_stream_manager.h"
39 #include "content/browser/speech/speech_recognition_manager_impl.h" 40 #include "content/browser/speech/speech_recognition_manager_impl.h"
40 #include "content/browser/startup_task_runner.h" 41 #include "content/browser/startup_task_runner.h"
41 #include "content/browser/tracing/trace_controller_impl.h" 42 #include "content/browser/tracing/trace_controller_impl.h"
42 #include "content/browser/webui/content_web_ui_controller_factory.h" 43 #include "content/browser/webui/content_web_ui_controller_factory.h"
43 #include "content/browser/webui/url_data_manager.h" 44 #include "content/browser/webui/url_data_manager.h"
44 #include "content/public/browser/browser_main_parts.h" 45 #include "content/public/browser/browser_main_parts.h"
45 #include "content/public/browser/browser_shutdown.h" 46 #include "content/public/browser/browser_shutdown.h"
46 #include "content/public/browser/compositor_util.h"
47 #include "content/public/browser/content_browser_client.h" 47 #include "content/public/browser/content_browser_client.h"
48 #include "content/public/browser/render_process_host.h" 48 #include "content/public/browser/render_process_host.h"
49 #include "content/public/common/content_switches.h" 49 #include "content/public/common/content_switches.h"
50 #include "content/public/common/main_function_params.h" 50 #include "content/public/common/main_function_params.h"
51 #include "content/public/common/result_codes.h" 51 #include "content/public/common/result_codes.h"
52 #include "crypto/nss_util.h" 52 #include "crypto/nss_util.h"
53 #include "media/audio/audio_manager.h" 53 #include "media/audio/audio_manager.h"
54 #include "media/base/media.h" 54 #include "media/base/media.h"
55 #include "media/base/user_input_monitor.h" 55 #include "media/base/user_input_monitor.h"
56 #include "media/midi/midi_manager.h" 56 #include "media/midi/midi_manager.h"
(...skipping 911 matching lines...) Expand 10 before | Expand all | Expand 10 after
968 if (parameters_.ui_task) 968 if (parameters_.ui_task)
969 base::MessageLoopForUI::current()->PostTask(FROM_HERE, 969 base::MessageLoopForUI::current()->PostTask(FROM_HERE,
970 *parameters_.ui_task); 970 *parameters_.ui_task);
971 971
972 base::RunLoop run_loop; 972 base::RunLoop run_loop;
973 run_loop.Run(); 973 run_loop.Run();
974 #endif 974 #endif
975 } 975 }
976 976
977 } // namespace content 977 } // namespace content
OLDNEW
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | content/browser/gpu/compositor_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698