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

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: 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 class DeviceMetrics {
samuong 2014/05/09 17:58:54 I think it was OK having this as a struct, otherwi
sam.rawlins 2014/05/16 21:09:38 Done.
9 public:
10 DeviceMetrics();
11 DeviceMetrics(int width, int height, double device_scale_factor);
12 ~DeviceMetrics();
13
14 bool IsValid() const;
15
16 int width;
17 int height;
18 double device_scale_factor;
19 bool emulate_viewport;
20 bool fit_window;
21 bool text_autosizing;
22 double font_scale_factor;
23 };
24
25 #endif // CHROME_TEST_CHROMEDRIVER_CHROME_DEVICE_METRICS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698