| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "sky/engine/core/script/dart_controller.h" | 5 #include "sky/engine/core/script/dart_controller.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/logging.h" | 8 #include "base/logging.h" |
| 9 #include "base/single_thread_task_runner.h" | 9 #include "base/single_thread_task_runner.h" |
| 10 #include "base/trace_event/trace_event.h" | 10 #include "base/trace_event/trace_event.h" |
| 11 #include "dart/runtime/bin/embedded_dart_io.h" | 11 #include "dart/runtime/bin/embedded_dart_io.h" |
| 12 #include "dart/runtime/include/dart_mirrors_api.h" | 12 #include "dart/runtime/include/dart_mirrors_api.h" |
| 13 #include "gen/sky/platform/RuntimeEnabledFeatures.h" | 13 #include "gen/sky/platform/RuntimeEnabledFeatures.h" |
| 14 #include "sky/engine/bindings/builtin.h" | 14 #include "sky/engine/bindings/builtin.h" |
| 15 #include "sky/engine/bindings/builtin_natives.h" | 15 #include "sky/engine/bindings/builtin_natives.h" |
| 16 #include "sky/engine/bindings/builtin_sky.h" | 16 #include "sky/engine/bindings/builtin_sky.h" |
| 17 #include "sky/engine/core/app/AbstractModule.h" | 17 #include "sky/engine/core/app/AbstractModule.h" |
| 18 #include "sky/engine/core/app/Module.h" | 18 #include "sky/engine/core/app/Module.h" |
| 19 #include "sky/engine/core/dom/Element.h" | 19 #include "sky/engine/core/dom/Element.h" |
| 20 #include "sky/engine/core/frame/LocalFrame.h" | 20 #include "sky/engine/core/frame/LocalFrame.h" |
| 21 #include "sky/engine/core/loader/FrameLoaderClient.h" | 21 #include "sky/engine/core/loader/FrameLoaderClient.h" |
| 22 #include "sky/engine/core/script/dart_debugger.h" | 22 #include "sky/engine/core/script/dart_debugger.h" |
| 23 #include "sky/engine/core/script/dart_library_provider_webview.h" | |
| 24 #include "sky/engine/core/script/dart_service_isolate.h" | 23 #include "sky/engine/core/script/dart_service_isolate.h" |
| 25 #include "sky/engine/core/script/dom_dart_state.h" | 24 #include "sky/engine/core/script/dom_dart_state.h" |
| 26 #include "sky/engine/public/platform/Platform.h" | 25 #include "sky/engine/public/platform/Platform.h" |
| 27 #include "sky/engine/tonic/dart_api_scope.h" | 26 #include "sky/engine/tonic/dart_api_scope.h" |
| 28 #include "sky/engine/tonic/dart_class_library.h" | 27 #include "sky/engine/tonic/dart_class_library.h" |
| 29 #include "sky/engine/tonic/dart_dependency_catcher.h" | 28 #include "sky/engine/tonic/dart_dependency_catcher.h" |
| 30 #include "sky/engine/tonic/dart_error.h" | 29 #include "sky/engine/tonic/dart_error.h" |
| 31 #include "sky/engine/tonic/dart_gc_controller.h" | 30 #include "sky/engine/tonic/dart_gc_controller.h" |
| 32 #include "sky/engine/tonic/dart_invoke.h" | 31 #include "sky/engine/tonic/dart_invoke.h" |
| 33 #include "sky/engine/tonic/dart_isolate_scope.h" | 32 #include "sky/engine/tonic/dart_isolate_scope.h" |
| (...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 317 nullptr, // Isolate interrupt callback. | 316 nullptr, // Isolate interrupt callback. |
| 318 UnhandledExceptionCallback, IsolateShutdownCallback, | 317 UnhandledExceptionCallback, IsolateShutdownCallback, |
| 319 // File IO callbacks. | 318 // File IO callbacks. |
| 320 nullptr, nullptr, nullptr, nullptr, nullptr)); | 319 nullptr, nullptr, nullptr, nullptr, nullptr)); |
| 321 // Wait for load port- ensures handle watcher and service isolates are | 320 // Wait for load port- ensures handle watcher and service isolates are |
| 322 // running. | 321 // running. |
| 323 Dart_ServiceWaitForLoadPort(); | 322 Dart_ServiceWaitForLoadPort(); |
| 324 } | 323 } |
| 325 | 324 |
| 326 } // namespace blink | 325 } // namespace blink |
| OLD | NEW |