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

Side by Side Diff: components/test_runner/test_runner.h

Issue 1737443002: Make DeviceOrientationEvent.prototype.absolute non-nullable (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update tests Created 4 years, 9 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 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 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 bool has_rotation_rate_alpha, 301 bool has_rotation_rate_alpha,
302 double rotation_rate_alpha, 302 double rotation_rate_alpha,
303 bool has_rotation_rate_beta, 303 bool has_rotation_rate_beta,
304 double rotation_rate_beta, 304 double rotation_rate_beta,
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 absolute);
312 312
313 void SetMockScreenOrientation(const std::string& orientation); 313 void SetMockScreenOrientation(const std::string& orientation);
314 314
315 void DidChangeBatteryStatus(bool charging, 315 void DidChangeBatteryStatus(bool charging,
316 double chargingTime, 316 double chargingTime,
317 double dischargingTime, 317 double dischargingTime,
318 double level); 318 double level);
319 void ResetBatteryStatus(); 319 void ResetBatteryStatus();
320 320
321 void DidAcquirePointerLock(); 321 void DidAcquirePointerLock();
(...skipping 527 matching lines...) Expand 10 before | Expand all | Expand 10 after
849 bool use_mock_theme_; 849 bool use_mock_theme_;
850 850
851 base::WeakPtrFactory<TestRunner> weak_factory_; 851 base::WeakPtrFactory<TestRunner> weak_factory_;
852 852
853 DISALLOW_COPY_AND_ASSIGN(TestRunner); 853 DISALLOW_COPY_AND_ASSIGN(TestRunner);
854 }; 854 };
855 855
856 } // namespace test_runner 856 } // namespace test_runner
857 857
858 #endif // COMPONENTS_TEST_RUNNER_TEST_RUNNER_H_ 858 #endif // COMPONENTS_TEST_RUNNER_TEST_RUNNER_H_
OLDNEW
« no previous file with comments | « no previous file | components/test_runner/test_runner.cc » ('j') | components/test_runner/test_runner.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698