| 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 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 294 bool has_rotation_rate_gamma, | 294 bool has_rotation_rate_gamma, |
| 295 double rotation_rate_gamma, | 295 double rotation_rate_gamma, |
| 296 double interval); | 296 double interval); |
| 297 void SetMockDeviceOrientation(bool has_alpha, double alpha, | 297 void SetMockDeviceOrientation(bool has_alpha, double alpha, |
| 298 bool has_beta, double beta, | 298 bool has_beta, double beta, |
| 299 bool has_gamma, double gamma, | 299 bool has_gamma, double gamma, |
| 300 bool has_absolute, bool absolute); | 300 bool has_absolute, bool absolute); |
| 301 | 301 |
| 302 void SetMockScreenOrientation(const std::string& orientation); | 302 void SetMockScreenOrientation(const std::string& orientation); |
| 303 | 303 |
| 304 void DidChangeBatteryStatus(bool charging, |
| 305 double chargingTime, |
| 306 double dischargingTime, |
| 307 double level); |
| 308 void ResetBatteryStatus(); |
| 309 |
| 304 void DidAcquirePointerLock(); | 310 void DidAcquirePointerLock(); |
| 305 void DidNotAcquirePointerLock(); | 311 void DidNotAcquirePointerLock(); |
| 306 void DidLosePointerLock(); | 312 void DidLosePointerLock(); |
| 307 void SetPointerLockWillFailSynchronously(); | 313 void SetPointerLockWillFailSynchronously(); |
| 308 void SetPointerLockWillRespondAsynchronously(); | 314 void SetPointerLockWillRespondAsynchronously(); |
| 309 | 315 |
| 310 /////////////////////////////////////////////////////////////////////////// | 316 /////////////////////////////////////////////////////////////////////////// |
| 311 // Methods modifying WebPreferences. | 317 // Methods modifying WebPreferences. |
| 312 | 318 |
| 313 // Set the WebPreference that controls webkit's popup blocking. | 319 // Set the WebPreference that controls webkit's popup blocking. |
| (...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 728 bool use_mock_theme_; | 734 bool use_mock_theme_; |
| 729 | 735 |
| 730 base::WeakPtrFactory<TestRunner> weak_factory_; | 736 base::WeakPtrFactory<TestRunner> weak_factory_; |
| 731 | 737 |
| 732 DISALLOW_COPY_AND_ASSIGN(TestRunner); | 738 DISALLOW_COPY_AND_ASSIGN(TestRunner); |
| 733 }; | 739 }; |
| 734 | 740 |
| 735 } // namespace content | 741 } // namespace content |
| 736 | 742 |
| 737 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_RUNNER_H_ | 743 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_RUNNER_H_ |
| OLD | NEW |