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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 #include "net/socket/client_socket_factory.h" | 57 #include "net/socket/client_socket_factory.h" |
58 #include "net/ssl/ssl_config_service.h" | 58 #include "net/ssl/ssl_config_service.h" |
59 #include "ui/base/clipboard/clipboard.h" | 59 #include "ui/base/clipboard/clipboard.h" |
60 | 60 |
61 #if defined(USE_AURA) | 61 #if defined(USE_AURA) |
62 #include "content/browser/aura/image_transport_factory.h" | 62 #include "content/browser/aura/image_transport_factory.h" |
63 #endif | 63 #endif |
64 | 64 |
65 #if defined(OS_ANDROID) | 65 #if defined(OS_ANDROID) |
66 #include "base/android/jni_android.h" | 66 #include "base/android/jni_android.h" |
67 #include "content/browser/android/browser_startup_config.h" | 67 #include "content/browser/android/browser_startup_controller.h" |
68 #include "content/browser/android/surface_texture_peer_browser_impl.h" | 68 #include "content/browser/android/surface_texture_peer_browser_impl.h" |
69 #endif | 69 #endif |
70 | 70 |
71 #if defined(OS_WIN) | 71 #if defined(OS_WIN) |
72 #include <windows.h> | 72 #include <windows.h> |
73 #include <commctrl.h> | 73 #include <commctrl.h> |
74 #include <shellapi.h> | 74 #include <shellapi.h> |
75 | 75 |
76 #include "base/win/text_services_message_filter.h" | 76 #include "base/win/text_services_message_filter.h" |
77 #include "content/browser/system_message_window_win.h" | 77 #include "content/browser/system_message_window_win.h" |
(...skipping 881 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
959 if (parameters_.ui_task) | 959 if (parameters_.ui_task) |
960 base::MessageLoopForUI::current()->PostTask(FROM_HERE, | 960 base::MessageLoopForUI::current()->PostTask(FROM_HERE, |
961 *parameters_.ui_task); | 961 *parameters_.ui_task); |
962 | 962 |
963 base::RunLoop run_loop; | 963 base::RunLoop run_loop; |
964 run_loop.Run(); | 964 run_loop.Run(); |
965 #endif | 965 #endif |
966 } | 966 } |
967 | 967 |
968 } // namespace content | 968 } // namespace content |
OLD | NEW |