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 COMPONENTS_TEST_RUNNER_TEST_RUNNER_H_ | 5 #ifndef COMPONENTS_TEST_RUNNER_TEST_RUNNER_H_ |
6 #define COMPONENTS_TEST_RUNNER_TEST_RUNNER_H_ | 6 #define COMPONENTS_TEST_RUNNER_TEST_RUNNER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <deque> | 10 #include <deque> |
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
297 bool has_rotation_rate_alpha, | 297 bool has_rotation_rate_alpha, |
298 double rotation_rate_alpha, | 298 double rotation_rate_alpha, |
299 bool has_rotation_rate_beta, | 299 bool has_rotation_rate_beta, |
300 double rotation_rate_beta, | 300 double rotation_rate_beta, |
301 bool has_rotation_rate_gamma, | 301 bool has_rotation_rate_gamma, |
302 double rotation_rate_gamma, | 302 double rotation_rate_gamma, |
303 double interval); | 303 double interval); |
304 void SetMockDeviceOrientation(bool has_alpha, double alpha, | 304 void SetMockDeviceOrientation(bool has_alpha, double alpha, |
305 bool has_beta, double beta, | 305 bool has_beta, double beta, |
306 bool has_gamma, double gamma, | 306 bool has_gamma, double gamma, |
307 bool has_absolute, bool absolute); | 307 bool absolute); |
308 | 308 |
309 void SetMockScreenOrientation(const std::string& orientation); | 309 void SetMockScreenOrientation(const std::string& orientation); |
310 void DisableMockScreenOrientation(); | 310 void DisableMockScreenOrientation(); |
311 | 311 |
312 void DidAcquirePointerLock(); | 312 void DidAcquirePointerLock(); |
313 void DidNotAcquirePointerLock(); | 313 void DidNotAcquirePointerLock(); |
314 void DidLosePointerLock(); | 314 void DidLosePointerLock(); |
315 void SetPointerLockWillFailSynchronously(); | 315 void SetPointerLockWillFailSynchronously(); |
316 void SetPointerLockWillRespondAsynchronously(); | 316 void SetPointerLockWillRespondAsynchronously(); |
317 | 317 |
(...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
819 bool use_mock_theme_; | 819 bool use_mock_theme_; |
820 | 820 |
821 base::WeakPtrFactory<TestRunner> weak_factory_; | 821 base::WeakPtrFactory<TestRunner> weak_factory_; |
822 | 822 |
823 DISALLOW_COPY_AND_ASSIGN(TestRunner); | 823 DISALLOW_COPY_AND_ASSIGN(TestRunner); |
824 }; | 824 }; |
825 | 825 |
826 } // namespace test_runner | 826 } // namespace test_runner |
827 | 827 |
828 #endif // COMPONENTS_TEST_RUNNER_TEST_RUNNER_H_ | 828 #endif // COMPONENTS_TEST_RUNNER_TEST_RUNNER_H_ |
OLD | NEW |