| 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 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 293 bool has_rotation_rate_gamma, | 293 bool has_rotation_rate_gamma, |
| 294 double rotation_rate_gamma, | 294 double rotation_rate_gamma, |
| 295 double interval); | 295 double interval); |
| 296 void SetMockDeviceOrientation(bool has_alpha, double alpha, | 296 void SetMockDeviceOrientation(bool has_alpha, double alpha, |
| 297 bool has_beta, double beta, | 297 bool has_beta, double beta, |
| 298 bool has_gamma, double gamma, | 298 bool has_gamma, double gamma, |
| 299 bool has_absolute, bool absolute); | 299 bool has_absolute, bool absolute); |
| 300 | 300 |
| 301 void SetMockScreenOrientation(const std::string& orientation); | 301 void SetMockScreenOrientation(const std::string& orientation); |
| 302 | 302 |
| 303 void DidChangeBatteryStatus(bool charging, |
| 304 double chargingTime, |
| 305 double dischargingTime, |
| 306 double level); |
| 307 |
| 303 void DidAcquirePointerLock(); | 308 void DidAcquirePointerLock(); |
| 304 void DidNotAcquirePointerLock(); | 309 void DidNotAcquirePointerLock(); |
| 305 void DidLosePointerLock(); | 310 void DidLosePointerLock(); |
| 306 void SetPointerLockWillFailSynchronously(); | 311 void SetPointerLockWillFailSynchronously(); |
| 307 void SetPointerLockWillRespondAsynchronously(); | 312 void SetPointerLockWillRespondAsynchronously(); |
| 308 | 313 |
| 309 /////////////////////////////////////////////////////////////////////////// | 314 /////////////////////////////////////////////////////////////////////////// |
| 310 // Methods modifying WebPreferences. | 315 // Methods modifying WebPreferences. |
| 311 | 316 |
| 312 // Set the WebPreference that controls webkit's popup blocking. | 317 // Set the WebPreference that controls webkit's popup blocking. |
| (...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 709 bool use_mock_theme_; | 714 bool use_mock_theme_; |
| 710 | 715 |
| 711 base::WeakPtrFactory<TestRunner> weak_factory_; | 716 base::WeakPtrFactory<TestRunner> weak_factory_; |
| 712 | 717 |
| 713 DISALLOW_COPY_AND_ASSIGN(TestRunner); | 718 DISALLOW_COPY_AND_ASSIGN(TestRunner); |
| 714 }; | 719 }; |
| 715 | 720 |
| 716 } // namespace content | 721 } // namespace content |
| 717 | 722 |
| 718 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_RUNNER_H_ | 723 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_RUNNER_H_ |
| OLD | NEW |