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> | 7 #include <stddef.h> |
8 #include <limits> | 8 #include <limits> |
9 #include <utility> | 9 #include <utility> |
10 | 10 |
(...skipping 17 matching lines...) Expand all Loading... |
28 #include "third_party/WebKit/public/platform/WebCanvas.h" | 28 #include "third_party/WebKit/public/platform/WebCanvas.h" |
29 #include "third_party/WebKit/public/platform/WebData.h" | 29 #include "third_party/WebKit/public/platform/WebData.h" |
30 #include "third_party/WebKit/public/platform/WebPasswordCredential.h" | 30 #include "third_party/WebKit/public/platform/WebPasswordCredential.h" |
31 #include "third_party/WebKit/public/platform/WebPoint.h" | 31 #include "third_party/WebKit/public/platform/WebPoint.h" |
32 #include "third_party/WebKit/public/platform/WebURLResponse.h" | 32 #include "third_party/WebKit/public/platform/WebURLResponse.h" |
33 #include "third_party/WebKit/public/platform/modules/device_orientation/WebDevic
eMotionData.h" | 33 #include "third_party/WebKit/public/platform/modules/device_orientation/WebDevic
eMotionData.h" |
34 #include "third_party/WebKit/public/platform/modules/device_orientation/WebDevic
eOrientationData.h" | 34 #include "third_party/WebKit/public/platform/modules/device_orientation/WebDevic
eOrientationData.h" |
35 #include "third_party/WebKit/public/platform/modules/serviceworker/WebServiceWor
kerRegistration.h" | 35 #include "third_party/WebKit/public/platform/modules/serviceworker/WebServiceWor
kerRegistration.h" |
36 #include "third_party/WebKit/public/web/WebArrayBuffer.h" | 36 #include "third_party/WebKit/public/web/WebArrayBuffer.h" |
37 #include "third_party/WebKit/public/web/WebArrayBufferConverter.h" | 37 #include "third_party/WebKit/public/web/WebArrayBufferConverter.h" |
38 #include "third_party/WebKit/public/web/WebBindings.h" | |
39 #include "third_party/WebKit/public/web/WebDataSource.h" | 38 #include "third_party/WebKit/public/web/WebDataSource.h" |
40 #include "third_party/WebKit/public/web/WebDocument.h" | 39 #include "third_party/WebKit/public/web/WebDocument.h" |
41 #include "third_party/WebKit/public/web/WebFindOptions.h" | 40 #include "third_party/WebKit/public/web/WebFindOptions.h" |
42 #include "third_party/WebKit/public/web/WebFrame.h" | 41 #include "third_party/WebKit/public/web/WebFrame.h" |
43 #include "third_party/WebKit/public/web/WebInputElement.h" | 42 #include "third_party/WebKit/public/web/WebInputElement.h" |
44 #include "third_party/WebKit/public/web/WebKit.h" | 43 #include "third_party/WebKit/public/web/WebKit.h" |
45 #include "third_party/WebKit/public/web/WebLocalFrame.h" | 44 #include "third_party/WebKit/public/web/WebLocalFrame.h" |
46 #include "third_party/WebKit/public/web/WebPageImportanceSignals.h" | 45 #include "third_party/WebKit/public/web/WebPageImportanceSignals.h" |
47 #include "third_party/WebKit/public/web/WebScriptSource.h" | 46 #include "third_party/WebKit/public/web/WebScriptSource.h" |
48 #include "third_party/WebKit/public/web/WebSecurityPolicy.h" | 47 #include "third_party/WebKit/public/web/WebSecurityPolicy.h" |
(...skipping 3130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3179 } | 3178 } |
3180 | 3179 |
3181 void TestRunner::DidLosePointerLockInternal() { | 3180 void TestRunner::DidLosePointerLockInternal() { |
3182 bool was_locked = pointer_locked_; | 3181 bool was_locked = pointer_locked_; |
3183 pointer_locked_ = false; | 3182 pointer_locked_ = false; |
3184 if (was_locked) | 3183 if (was_locked) |
3185 web_view_->didLosePointerLock(); | 3184 web_view_->didLosePointerLock(); |
3186 } | 3185 } |
3187 | 3186 |
3188 } // namespace test_runner | 3187 } // namespace test_runner |
OLD | NEW |