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 "components/test_runner/test_runner.h" | 5 #include "components/test_runner/test_runner.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include <limits> | 9 #include <limits> |
8 | 10 |
9 #include "base/logging.h" | 11 #include "base/logging.h" |
| 12 #include "base/macros.h" |
10 #include "base/strings/stringprintf.h" | 13 #include "base/strings/stringprintf.h" |
11 #include "build/build_config.h" | 14 #include "build/build_config.h" |
12 #include "components/test_runner/mock_credential_manager_client.h" | 15 #include "components/test_runner/mock_credential_manager_client.h" |
13 #include "components/test_runner/mock_web_speech_recognizer.h" | 16 #include "components/test_runner/mock_web_speech_recognizer.h" |
14 #include "components/test_runner/test_interfaces.h" | 17 #include "components/test_runner/test_interfaces.h" |
15 #include "components/test_runner/test_preferences.h" | 18 #include "components/test_runner/test_preferences.h" |
16 #include "components/test_runner/web_content_settings.h" | 19 #include "components/test_runner/web_content_settings.h" |
17 #include "components/test_runner/web_test_delegate.h" | 20 #include "components/test_runner/web_test_delegate.h" |
18 #include "components/test_runner/web_test_proxy.h" | 21 #include "components/test_runner/web_test_proxy.h" |
19 #include "gin/arguments.h" | 22 #include "gin/arguments.h" |
(...skipping 3156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3176 } | 3179 } |
3177 | 3180 |
3178 void TestRunner::DidLosePointerLockInternal() { | 3181 void TestRunner::DidLosePointerLockInternal() { |
3179 bool was_locked = pointer_locked_; | 3182 bool was_locked = pointer_locked_; |
3180 pointer_locked_ = false; | 3183 pointer_locked_ = false; |
3181 if (was_locked) | 3184 if (was_locked) |
3182 web_view_->didLosePointerLock(); | 3185 web_view_->didLosePointerLock(); |
3183 } | 3186 } |
3184 | 3187 |
3185 } // namespace test_runner | 3188 } // namespace test_runner |
OLD | NEW |