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

Side by Side Diff: chrome/test/chromedriver/chrome/device_metrics.h

Issue 251933005: [ChromeDriver] Support mobile emulation on desktop Chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleaning up DeviceMetrics architecture; adding a test Created 6 years, 7 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
(Empty)
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_TEST_CHROMEDRIVER_CHROME_DEVICE_METRICS_H_
6 #define CHROME_TEST_CHROMEDRIVER_CHROME_DEVICE_METRICS_H_
7
8 struct DeviceMetrics {
9 public:
samuong 2014/05/16 22:56:21 We usually leave off the "public:" for structs.
sam.rawlins 2014/05/16 23:35:51 Done.
10 DeviceMetrics();
samuong 2014/05/16 23:00:35 Delete.
sam.rawlins 2014/05/16 23:35:51 Done.
11 DeviceMetrics(int width, int height, double device_scale_factor);
12 ~DeviceMetrics();
13
14 int width;
15 int height;
16 double device_scale_factor;
17 bool emulate_viewport;
18 bool fit_window;
19 bool text_autosizing;
20 double font_scale_factor;
21 };
22
23 #endif // CHROME_TEST_CHROMEDRIVER_CHROME_DEVICE_METRICS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698