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 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
301 bool has_rotation_rate_alpha, | 301 bool has_rotation_rate_alpha, |
302 double rotation_rate_alpha, | 302 double rotation_rate_alpha, |
303 bool has_rotation_rate_beta, | 303 bool has_rotation_rate_beta, |
304 double rotation_rate_beta, | 304 double rotation_rate_beta, |
305 bool has_rotation_rate_gamma, | 305 bool has_rotation_rate_gamma, |
306 double rotation_rate_gamma, | 306 double rotation_rate_gamma, |
307 double interval); | 307 double interval); |
308 void SetMockDeviceOrientation(bool has_alpha, double alpha, | 308 void SetMockDeviceOrientation(bool has_alpha, double alpha, |
309 bool has_beta, double beta, | 309 bool has_beta, double beta, |
310 bool has_gamma, double gamma, | 310 bool has_gamma, double gamma, |
311 bool has_absolute, bool absolute); | 311 bool absolute); |
312 | 312 |
313 void SetMockScreenOrientation(const std::string& orientation); | 313 void SetMockScreenOrientation(const std::string& orientation); |
314 | 314 |
315 void DidChangeBatteryStatus(bool charging, | 315 void DidChangeBatteryStatus(bool charging, |
316 double chargingTime, | 316 double chargingTime, |
317 double dischargingTime, | 317 double dischargingTime, |
318 double level); | 318 double level); |
319 void ResetBatteryStatus(); | 319 void ResetBatteryStatus(); |
320 | 320 |
321 void DidAcquirePointerLock(); | 321 void DidAcquirePointerLock(); |
(...skipping 527 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
849 bool use_mock_theme_; | 849 bool use_mock_theme_; |
850 | 850 |
851 base::WeakPtrFactory<TestRunner> weak_factory_; | 851 base::WeakPtrFactory<TestRunner> weak_factory_; |
852 | 852 |
853 DISALLOW_COPY_AND_ASSIGN(TestRunner); | 853 DISALLOW_COPY_AND_ASSIGN(TestRunner); |
854 }; | 854 }; |
855 | 855 |
856 } // namespace test_runner | 856 } // namespace test_runner |
857 | 857 |
858 #endif // COMPONENTS_TEST_RUNNER_TEST_RUNNER_H_ | 858 #endif // COMPONENTS_TEST_RUNNER_TEST_RUNNER_H_ |
OLD | NEW |