OLD | NEW |
---|---|
(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_ | |
OLD | NEW |