| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "shell/android/main.h" | 5 #include "shell/android/main.h" |
| 6 | 6 |
| 7 #include <stdio.h> | 7 #include <stdio.h> |
| 8 | 8 |
| 9 #include "base/android/fifo_utils.h" | 9 #include "base/android/fifo_utils.h" |
| 10 #include "base/android/jni_android.h" | 10 #include "base/android/jni_android.h" |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 #include "base/message_loop/message_loop.h" | 21 #include "base/message_loop/message_loop.h" |
| 22 #include "base/run_loop.h" | 22 #include "base/run_loop.h" |
| 23 #include "base/synchronization/waitable_event.h" | 23 #include "base/synchronization/waitable_event.h" |
| 24 #include "base/task_runner_util.h" | 24 #include "base/task_runner_util.h" |
| 25 #include "base/threading/simple_thread.h" | 25 #include "base/threading/simple_thread.h" |
| 26 #include "gpu/config/gpu_util.h" | 26 #include "gpu/config/gpu_util.h" |
| 27 #include "jni/ShellService_jni.h" | 27 #include "jni/ShellService_jni.h" |
| 28 #include "mojo/common/binding_set.h" | 28 #include "mojo/common/binding_set.h" |
| 29 #include "mojo/message_pump/message_pump_mojo.h" | 29 #include "mojo/message_pump/message_pump_mojo.h" |
| 30 #include "mojo/services/network/interfaces/network_service.mojom.h" | 30 #include "mojo/services/network/interfaces/network_service.mojom.h" |
| 31 #include "mojo/services/window_manager/interfaces/window_manager.mojom.h" | |
| 32 #include "shell/android/android_handler_loader.h" | 31 #include "shell/android/android_handler_loader.h" |
| 33 #include "shell/android/java_application_loader.h" | 32 #include "shell/android/java_application_loader.h" |
| 34 #include "shell/android/native_viewport_application_loader.h" | 33 #include "shell/android/native_viewport_application_loader.h" |
| 35 #include "shell/android/ui_application_loader_android.h" | 34 #include "shell/android/ui_application_loader_android.h" |
| 36 #include "shell/android/url_response_disk_cache_delegate_impl.h" | 35 #include "shell/android/url_response_disk_cache_delegate_impl.h" |
| 37 #include "shell/application_manager/application_loader.h" | 36 #include "shell/application_manager/application_loader.h" |
| 38 #include "shell/application_manager/shell_impl.h" | 37 #include "shell/application_manager/shell_impl.h" |
| 39 #include "shell/background_application_loader.h" | 38 #include "shell/background_application_loader.h" |
| 40 #include "shell/command_line_util.h" | 39 #include "shell/command_line_util.h" |
| 41 #include "shell/context.h" | 40 #include "shell/context.h" |
| (...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 344 static void QuitShell(JNIEnv* env, jclass jcaller) { | 343 static void QuitShell(JNIEnv* env, jclass jcaller) { |
| 345 g_internal_data.Get().shell_task_runner->PostTask( | 344 g_internal_data.Get().shell_task_runner->PostTask( |
| 346 FROM_HERE, base::MessageLoop::QuitWhenIdleClosure()); | 345 FROM_HERE, base::MessageLoop::QuitWhenIdleClosure()); |
| 347 } | 346 } |
| 348 | 347 |
| 349 bool RegisterShellService(JNIEnv* env) { | 348 bool RegisterShellService(JNIEnv* env) { |
| 350 return RegisterNativesImpl(env); | 349 return RegisterNativesImpl(env); |
| 351 } | 350 } |
| 352 | 351 |
| 353 } // namespace shell | 352 } // namespace shell |
| OLD | NEW |