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 #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" |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 #include "net/socket/client_socket_factory.h" | 58 #include "net/socket/client_socket_factory.h" |
59 #include "net/ssl/ssl_config_service.h" | 59 #include "net/ssl/ssl_config_service.h" |
60 #include "ui/base/clipboard/clipboard.h" | 60 #include "ui/base/clipboard/clipboard.h" |
61 | 61 |
62 #if defined(USE_AURA) | 62 #if defined(USE_AURA) |
63 #include "content/browser/aura/image_transport_factory.h" | 63 #include "content/browser/aura/image_transport_factory.h" |
64 #endif | 64 #endif |
65 | 65 |
66 #if defined(OS_ANDROID) | 66 #if defined(OS_ANDROID) |
67 #include "base/android/jni_android.h" | 67 #include "base/android/jni_android.h" |
68 #include "content/browser/android/browser_startup_config.h" | 68 #include "content/browser/android/browser_startup_controller.h" |
69 #include "content/browser/android/surface_texture_peer_browser_impl.h" | 69 #include "content/browser/android/surface_texture_peer_browser_impl.h" |
70 #endif | 70 #endif |
71 | 71 |
72 #if defined(OS_WIN) | 72 #if defined(OS_WIN) |
73 #include <windows.h> | 73 #include <windows.h> |
74 #include <commctrl.h> | 74 #include <commctrl.h> |
75 #include <shellapi.h> | 75 #include <shellapi.h> |
76 | 76 |
77 #include "base/win/text_services_message_filter.h" | 77 #include "base/win/text_services_message_filter.h" |
78 #include "content/browser/system_message_window_win.h" | 78 #include "content/browser/system_message_window_win.h" |
(...skipping 894 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
973 if (parameters_.ui_task) | 973 if (parameters_.ui_task) |
974 base::MessageLoopForUI::current()->PostTask(FROM_HERE, | 974 base::MessageLoopForUI::current()->PostTask(FROM_HERE, |
975 *parameters_.ui_task); | 975 *parameters_.ui_task); |
976 | 976 |
977 base::RunLoop run_loop; | 977 base::RunLoop run_loop; |
978 run_loop.Run(); | 978 run_loop.Run(); |
979 #endif | 979 #endif |
980 } | 980 } |
981 | 981 |
982 } // namespace content | 982 } // namespace content |
OLD | NEW |