| 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 #ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_RUNNER_H_ | 5 #ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_RUNNER_H_ |
| 6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_RUNNER_H_ | 6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_RUNNER_H_ |
| 7 | 7 |
| 8 #include <deque> | 8 #include <deque> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 288 double rotation_rate_alpha, | 288 double rotation_rate_alpha, |
| 289 bool has_rotation_rate_beta, | 289 bool has_rotation_rate_beta, |
| 290 double rotation_rate_beta, | 290 double rotation_rate_beta, |
| 291 bool has_rotation_rate_gamma, | 291 bool has_rotation_rate_gamma, |
| 292 double rotation_rate_gamma, | 292 double rotation_rate_gamma, |
| 293 double interval); | 293 double interval); |
| 294 void SetMockDeviceOrientation(bool has_alpha, double alpha, | 294 void SetMockDeviceOrientation(bool has_alpha, double alpha, |
| 295 bool has_beta, double beta, | 295 bool has_beta, double beta, |
| 296 bool has_gamma, double gamma, | 296 bool has_gamma, double gamma, |
| 297 bool has_absolute, bool absolute); | 297 bool has_absolute, bool absolute); |
| 298 // Device Light |
| 299 void SetMockDeviceLight(double value); |
| 298 | 300 |
| 299 void SetMockScreenOrientation(const std::string& orientation); | 301 void SetMockScreenOrientation(const std::string& orientation); |
| 300 | 302 |
| 301 void DidAcquirePointerLock(); | 303 void DidAcquirePointerLock(); |
| 302 void DidNotAcquirePointerLock(); | 304 void DidNotAcquirePointerLock(); |
| 303 void DidLosePointerLock(); | 305 void DidLosePointerLock(); |
| 304 void SetPointerLockWillFailSynchronously(); | 306 void SetPointerLockWillFailSynchronously(); |
| 305 void SetPointerLockWillRespondAsynchronously(); | 307 void SetPointerLockWillRespondAsynchronously(); |
| 306 | 308 |
| 307 /////////////////////////////////////////////////////////////////////////// | 309 /////////////////////////////////////////////////////////////////////////// |
| (...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 697 bool use_mock_theme_; | 699 bool use_mock_theme_; |
| 698 | 700 |
| 699 base::WeakPtrFactory<TestRunner> weak_factory_; | 701 base::WeakPtrFactory<TestRunner> weak_factory_; |
| 700 | 702 |
| 701 DISALLOW_COPY_AND_ASSIGN(TestRunner); | 703 DISALLOW_COPY_AND_ASSIGN(TestRunner); |
| 702 }; | 704 }; |
| 703 | 705 |
| 704 } // namespace content | 706 } // namespace content |
| 705 | 707 |
| 706 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_RUNNER_H_ | 708 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_RUNNER_H_ |
| OLD | NEW |