Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(272)

Side by Side Diff: content/shell/renderer/test_runner/test_runner.h

Issue 963493002: Revert of Retry to add MockPresentationClient to use in layout tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 bool has_absolute, bool absolute); 303 bool has_absolute, bool absolute);
304 304
305 void SetMockScreenOrientation(const std::string& orientation); 305 void SetMockScreenOrientation(const std::string& orientation);
306 306
307 void DidChangeBatteryStatus(bool charging, 307 void DidChangeBatteryStatus(bool charging,
308 double chargingTime, 308 double chargingTime,
309 double dischargingTime, 309 double dischargingTime,
310 double level); 310 double level);
311 void ResetBatteryStatus(); 311 void ResetBatteryStatus();
312 312
313 // Presentation API related functions.
314 void SetMockScreenAvailability(bool available);
315
316 void DidAcquirePointerLock(); 313 void DidAcquirePointerLock();
317 void DidNotAcquirePointerLock(); 314 void DidNotAcquirePointerLock();
318 void DidLosePointerLock(); 315 void DidLosePointerLock();
319 void SetPointerLockWillFailSynchronously(); 316 void SetPointerLockWillFailSynchronously();
320 void SetPointerLockWillRespondAsynchronously(); 317 void SetPointerLockWillRespondAsynchronously();
321 318
322 /////////////////////////////////////////////////////////////////////////// 319 ///////////////////////////////////////////////////////////////////////////
323 // Methods modifying WebPreferences. 320 // Methods modifying WebPreferences.
324 321
325 // Set the WebPreference that controls webkit's popup blocking. 322 // Set the WebPreference that controls webkit's popup blocking.
(...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after
802 bool use_mock_theme_; 799 bool use_mock_theme_;
803 800
804 base::WeakPtrFactory<TestRunner> weak_factory_; 801 base::WeakPtrFactory<TestRunner> weak_factory_;
805 802
806 DISALLOW_COPY_AND_ASSIGN(TestRunner); 803 DISALLOW_COPY_AND_ASSIGN(TestRunner);
807 }; 804 };
808 805
809 } // namespace content 806 } // namespace content
810 807
811 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_RUNNER_H_ 808 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_RUNNER_H_
OLDNEW
« no previous file with comments | « content/shell/renderer/test_runner/mock_presentation_service.cc ('k') | content/shell/renderer/test_runner/test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698