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 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
302 bool has_absolute, bool absolute); | 302 bool has_absolute, bool absolute); |
303 | 303 |
304 void SetMockScreenOrientation(const std::string& orientation); | 304 void SetMockScreenOrientation(const std::string& orientation); |
305 | 305 |
306 void DidChangeBatteryStatus(bool charging, | 306 void DidChangeBatteryStatus(bool charging, |
307 double chargingTime, | 307 double chargingTime, |
308 double dischargingTime, | 308 double dischargingTime, |
309 double level); | 309 double level); |
310 void ResetBatteryStatus(); | 310 void ResetBatteryStatus(); |
311 | 311 |
312 // Presentation API related functions. | |
313 void SetMockScreenAvailability(bool available); | |
314 | |
315 void DidAcquirePointerLock(); | 312 void DidAcquirePointerLock(); |
316 void DidNotAcquirePointerLock(); | 313 void DidNotAcquirePointerLock(); |
317 void DidLosePointerLock(); | 314 void DidLosePointerLock(); |
318 void SetPointerLockWillFailSynchronously(); | 315 void SetPointerLockWillFailSynchronously(); |
319 void SetPointerLockWillRespondAsynchronously(); | 316 void SetPointerLockWillRespondAsynchronously(); |
320 | 317 |
321 /////////////////////////////////////////////////////////////////////////// | 318 /////////////////////////////////////////////////////////////////////////// |
322 // Methods modifying WebPreferences. | 319 // Methods modifying WebPreferences. |
323 | 320 |
324 // Set the WebPreference that controls webkit's popup blocking. | 321 // Set the WebPreference that controls webkit's popup blocking. |
(...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
792 bool use_mock_theme_; | 789 bool use_mock_theme_; |
793 | 790 |
794 base::WeakPtrFactory<TestRunner> weak_factory_; | 791 base::WeakPtrFactory<TestRunner> weak_factory_; |
795 | 792 |
796 DISALLOW_COPY_AND_ASSIGN(TestRunner); | 793 DISALLOW_COPY_AND_ASSIGN(TestRunner); |
797 }; | 794 }; |
798 | 795 |
799 } // namespace content | 796 } // namespace content |
800 | 797 |
801 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_RUNNER_H_ | 798 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_RUNNER_H_ |
OLD | NEW |