| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/shell/test_runner/test_runner.h" | 5 #include "content/shell/test_runner/test_runner.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 #include <limits> | 8 #include <limits> |
| 9 #include <utility> | 9 #include <utility> |
| 10 | 10 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 #include "content/shell/test_runner/mock_web_speech_recognizer.h" | 25 #include "content/shell/test_runner/mock_web_speech_recognizer.h" |
| 26 #include "content/shell/test_runner/mock_web_user_media_client.h" | 26 #include "content/shell/test_runner/mock_web_user_media_client.h" |
| 27 #include "content/shell/test_runner/pixel_dump.h" | 27 #include "content/shell/test_runner/pixel_dump.h" |
| 28 #include "content/shell/test_runner/spell_check_client.h" | 28 #include "content/shell/test_runner/spell_check_client.h" |
| 29 #include "content/shell/test_runner/test_common.h" | 29 #include "content/shell/test_runner/test_common.h" |
| 30 #include "content/shell/test_runner/test_interfaces.h" | 30 #include "content/shell/test_runner/test_interfaces.h" |
| 31 #include "content/shell/test_runner/test_preferences.h" | 31 #include "content/shell/test_runner/test_preferences.h" |
| 32 #include "content/shell/test_runner/test_runner_for_specific_view.h" | 32 #include "content/shell/test_runner/test_runner_for_specific_view.h" |
| 33 #include "content/shell/test_runner/web_test_delegate.h" | 33 #include "content/shell/test_runner/web_test_delegate.h" |
| 34 #include "content/shell/test_runner/web_view_test_proxy.h" | 34 #include "content/shell/test_runner/web_view_test_proxy.h" |
| 35 #include "device/sensors/public/cpp/motion_data.h" | |
| 36 #include "device/sensors/public/cpp/orientation_data.h" | |
| 37 #include "gin/arguments.h" | 35 #include "gin/arguments.h" |
| 38 #include "gin/array_buffer.h" | 36 #include "gin/array_buffer.h" |
| 39 #include "gin/handle.h" | 37 #include "gin/handle.h" |
| 40 #include "gin/object_template_builder.h" | 38 #include "gin/object_template_builder.h" |
| 41 #include "gin/wrappable.h" | 39 #include "gin/wrappable.h" |
| 40 #include "services/device/public/cpp/sensors/motion_data.h" |
| 41 #include "services/device/public/cpp/sensors/orientation_data.h" |
| 42 #include "third_party/WebKit/public/platform/WebCanvas.h" | 42 #include "third_party/WebKit/public/platform/WebCanvas.h" |
| 43 #include "third_party/WebKit/public/platform/WebData.h" | 43 #include "third_party/WebKit/public/platform/WebData.h" |
| 44 #include "third_party/WebKit/public/platform/WebPasswordCredential.h" | 44 #include "third_party/WebKit/public/platform/WebPasswordCredential.h" |
| 45 #include "third_party/WebKit/public/platform/WebPoint.h" | 45 #include "third_party/WebKit/public/platform/WebPoint.h" |
| 46 #include "third_party/WebKit/public/platform/WebURLResponse.h" | 46 #include "third_party/WebKit/public/platform/WebURLResponse.h" |
| 47 #include "third_party/WebKit/public/platform/modules/serviceworker/WebServiceWor
kerRegistration.h" | 47 #include "third_party/WebKit/public/platform/modules/serviceworker/WebServiceWor
kerRegistration.h" |
| 48 #include "third_party/WebKit/public/web/WebArrayBuffer.h" | 48 #include "third_party/WebKit/public/web/WebArrayBuffer.h" |
| 49 #include "third_party/WebKit/public/web/WebArrayBufferConverter.h" | 49 #include "third_party/WebKit/public/web/WebArrayBufferConverter.h" |
| 50 #include "third_party/WebKit/public/web/WebDataSource.h" | 50 #include "third_party/WebKit/public/web/WebDataSource.h" |
| 51 #include "third_party/WebKit/public/web/WebDocument.h" | 51 #include "third_party/WebKit/public/web/WebDocument.h" |
| (...skipping 2790 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2842 | 2842 |
| 2843 void TestRunner::NotifyDone() { | 2843 void TestRunner::NotifyDone() { |
| 2844 if (layout_test_runtime_flags_.wait_until_done() && !topLoadingFrame() && | 2844 if (layout_test_runtime_flags_.wait_until_done() && !topLoadingFrame() && |
| 2845 !will_navigate_ && work_queue_.is_empty()) | 2845 !will_navigate_ && work_queue_.is_empty()) |
| 2846 delegate_->TestFinished(); | 2846 delegate_->TestFinished(); |
| 2847 layout_test_runtime_flags_.set_wait_until_done(false); | 2847 layout_test_runtime_flags_.set_wait_until_done(false); |
| 2848 OnLayoutTestRuntimeFlagsChanged(); | 2848 OnLayoutTestRuntimeFlagsChanged(); |
| 2849 } | 2849 } |
| 2850 | 2850 |
| 2851 } // namespace test_runner | 2851 } // namespace test_runner |
| OLD | NEW |