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

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: rebase 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);
282 // Device Motion / Device Orientation related functions 283 // Device Motion / Device Orientation related functions
283 void SetMockDeviceMotion(bool has_acceleration_x, double acceleration_x, 284 void SetMockDeviceMotion(bool has_acceleration_x, double acceleration_x,
284 bool has_acceleration_y, double acceleration_y, 285 bool has_acceleration_y, double acceleration_y,
285 bool has_acceleration_z, double acceleration_z, 286 bool has_acceleration_z, double acceleration_z,
286 bool has_acceleration_including_gravity_x, 287 bool has_acceleration_including_gravity_x,
287 double acceleration_including_gravity_x, 288 double acceleration_including_gravity_x,
288 bool has_acceleration_including_gravity_y, 289 bool has_acceleration_including_gravity_y,
289 double acceleration_including_gravity_y, 290 double acceleration_including_gravity_y,
290 bool has_acceleration_including_gravity_z, 291 bool has_acceleration_including_gravity_z,
291 double acceleration_including_gravity_z, 292 double acceleration_including_gravity_z,
(...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after
753 bool use_mock_theme_; 754 bool use_mock_theme_;
754 755
755 base::WeakPtrFactory<TestRunner> weak_factory_; 756 base::WeakPtrFactory<TestRunner> weak_factory_;
756 757
757 DISALLOW_COPY_AND_ASSIGN(TestRunner); 758 DISALLOW_COPY_AND_ASSIGN(TestRunner);
758 }; 759 };
759 760
760 } // namespace content 761 } // namespace content
761 762
762 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_RUNNER_H_ 763 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_RUNNER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698