| 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 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 has_absolute, 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, | |
| 316 double chargingTime, | |
| 317 double dischargingTime, | |
| 318 double level); | |
| 319 void ResetBatteryStatus(); | |
| 320 | |
| 321 void DidAcquirePointerLock(); | 315 void DidAcquirePointerLock(); |
| 322 void DidNotAcquirePointerLock(); | 316 void DidNotAcquirePointerLock(); |
| 323 void DidLosePointerLock(); | 317 void DidLosePointerLock(); |
| 324 void SetPointerLockWillFailSynchronously(); | 318 void SetPointerLockWillFailSynchronously(); |
| 325 void SetPointerLockWillRespondAsynchronously(); | 319 void SetPointerLockWillRespondAsynchronously(); |
| 326 | 320 |
| 327 /////////////////////////////////////////////////////////////////////////// | 321 /////////////////////////////////////////////////////////////////////////// |
| 328 // Methods modifying WebPreferences. | 322 // Methods modifying WebPreferences. |
| 329 | 323 |
| 330 // Set the WebPreference that controls webkit's popup blocking. | 324 // Set the WebPreference that controls webkit's popup blocking. |
| (...skipping 518 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 849 bool use_mock_theme_; | 843 bool use_mock_theme_; |
| 850 | 844 |
| 851 base::WeakPtrFactory<TestRunner> weak_factory_; | 845 base::WeakPtrFactory<TestRunner> weak_factory_; |
| 852 | 846 |
| 853 DISALLOW_COPY_AND_ASSIGN(TestRunner); | 847 DISALLOW_COPY_AND_ASSIGN(TestRunner); |
| 854 }; | 848 }; |
| 855 | 849 |
| 856 } // namespace test_runner | 850 } // namespace test_runner |
| 857 | 851 |
| 858 #endif // COMPONENTS_TEST_RUNNER_TEST_RUNNER_H_ | 852 #endif // COMPONENTS_TEST_RUNNER_TEST_RUNNER_H_ |
| OLD | NEW |