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

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

Issue 336823002: [DeviceLight] Add Layout support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove unrelated changes Created 6 years, 5 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 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 // all tests that rely on this... well, unfortunate behavior. See 272 // all tests that rely on this... well, unfortunate behavior. See
273 // http://crbug.com/309760 for the plan. 273 // http://crbug.com/309760 for the plan.
274 void UseUnfortunateSynchronousResizeMode(); 274 void UseUnfortunateSynchronousResizeMode();
275 275
276 bool EnableAutoResizeMode(int min_width, 276 bool EnableAutoResizeMode(int min_width,
277 int min_height, 277 int min_height,
278 int max_width, 278 int max_width,
279 int max_height); 279 int max_height);
280 bool DisableAutoResizeMode(int new_width, int new_height); 280 bool DisableAutoResizeMode(int new_width, int new_height);
281 281
282 void SetMockDeviceLight(double value);
283 void ResetDeviceLight();
282 // Device Motion / Device Orientation related functions 284 // Device Motion / Device Orientation related functions
283 void SetMockDeviceMotion(bool has_acceleration_x, double acceleration_x, 285 void SetMockDeviceMotion(bool has_acceleration_x, double acceleration_x,
284 bool has_acceleration_y, double acceleration_y, 286 bool has_acceleration_y, double acceleration_y,
285 bool has_acceleration_z, double acceleration_z, 287 bool has_acceleration_z, double acceleration_z,
286 bool has_acceleration_including_gravity_x, 288 bool has_acceleration_including_gravity_x,
287 double acceleration_including_gravity_x, 289 double acceleration_including_gravity_x,
288 bool has_acceleration_including_gravity_y, 290 bool has_acceleration_including_gravity_y,
289 double acceleration_including_gravity_y, 291 double acceleration_including_gravity_y,
290 bool has_acceleration_including_gravity_z, 292 bool has_acceleration_including_gravity_z,
291 double acceleration_including_gravity_z, 293 double acceleration_including_gravity_z,
(...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after
753 bool use_mock_theme_; 755 bool use_mock_theme_;
754 756
755 base::WeakPtrFactory<TestRunner> weak_factory_; 757 base::WeakPtrFactory<TestRunner> weak_factory_;
756 758
757 DISALLOW_COPY_AND_ASSIGN(TestRunner); 759 DISALLOW_COPY_AND_ASSIGN(TestRunner);
758 }; 760 };
759 761
760 } // namespace content 762 } // namespace content
761 763
762 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_RUNNER_H_ 764 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_RUNNER_H_
OLDNEW
« no previous file with comments | « content/shell/renderer/test_runner/WebTestDelegate.h ('k') | content/shell/renderer/test_runner/test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698