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 <limits> | 7 #include <limits> |
8 | 8 |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
(...skipping 18 matching lines...) Expand all Loading... |
29 #include "third_party/WebKit/public/platform/modules/device_orientation/WebDevic
eMotionData.h" | 29 #include "third_party/WebKit/public/platform/modules/device_orientation/WebDevic
eMotionData.h" |
30 #include "third_party/WebKit/public/platform/modules/device_orientation/WebDevic
eOrientationData.h" | 30 #include "third_party/WebKit/public/platform/modules/device_orientation/WebDevic
eOrientationData.h" |
31 #include "third_party/WebKit/public/platform/modules/serviceworker/WebServiceWor
kerRegistration.h" | 31 #include "third_party/WebKit/public/platform/modules/serviceworker/WebServiceWor
kerRegistration.h" |
32 #include "third_party/WebKit/public/web/WebArrayBuffer.h" | 32 #include "third_party/WebKit/public/web/WebArrayBuffer.h" |
33 #include "third_party/WebKit/public/web/WebArrayBufferConverter.h" | 33 #include "third_party/WebKit/public/web/WebArrayBufferConverter.h" |
34 #include "third_party/WebKit/public/web/WebBindings.h" | 34 #include "third_party/WebKit/public/web/WebBindings.h" |
35 #include "third_party/WebKit/public/web/WebDataSource.h" | 35 #include "third_party/WebKit/public/web/WebDataSource.h" |
36 #include "third_party/WebKit/public/web/WebDocument.h" | 36 #include "third_party/WebKit/public/web/WebDocument.h" |
37 #include "third_party/WebKit/public/web/WebFindOptions.h" | 37 #include "third_party/WebKit/public/web/WebFindOptions.h" |
38 #include "third_party/WebKit/public/web/WebFrame.h" | 38 #include "third_party/WebKit/public/web/WebFrame.h" |
39 #include "third_party/WebKit/public/web/WebGraphicsContext.h" | |
40 #include "third_party/WebKit/public/web/WebInputElement.h" | 39 #include "third_party/WebKit/public/web/WebInputElement.h" |
41 #include "third_party/WebKit/public/web/WebKit.h" | 40 #include "third_party/WebKit/public/web/WebKit.h" |
42 #include "third_party/WebKit/public/web/WebLocalFrame.h" | 41 #include "third_party/WebKit/public/web/WebLocalFrame.h" |
43 #include "third_party/WebKit/public/web/WebScriptSource.h" | 42 #include "third_party/WebKit/public/web/WebScriptSource.h" |
44 #include "third_party/WebKit/public/web/WebSecurityPolicy.h" | 43 #include "third_party/WebKit/public/web/WebSecurityPolicy.h" |
45 #include "third_party/WebKit/public/web/WebSerializedScriptValue.h" | 44 #include "third_party/WebKit/public/web/WebSerializedScriptValue.h" |
46 #include "third_party/WebKit/public/web/WebSettings.h" | 45 #include "third_party/WebKit/public/web/WebSettings.h" |
47 #include "third_party/WebKit/public/web/WebSurroundingText.h" | 46 #include "third_party/WebKit/public/web/WebSurroundingText.h" |
48 #include "third_party/WebKit/public/web/WebView.h" | 47 #include "third_party/WebKit/public/web/WebView.h" |
49 #include "third_party/skia/include/core/SkBitmap.h" | 48 #include "third_party/skia/include/core/SkBitmap.h" |
(...skipping 3104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3154 } | 3153 } |
3155 | 3154 |
3156 void TestRunner::DidLosePointerLockInternal() { | 3155 void TestRunner::DidLosePointerLockInternal() { |
3157 bool was_locked = pointer_locked_; | 3156 bool was_locked = pointer_locked_; |
3158 pointer_locked_ = false; | 3157 pointer_locked_ = false; |
3159 if (was_locked) | 3158 if (was_locked) |
3160 web_view_->didLosePointerLock(); | 3159 web_view_->didLosePointerLock(); |
3161 } | 3160 } |
3162 | 3161 |
3163 } // namespace test_runner | 3162 } // namespace test_runner |
OLD | NEW |