Chromium Code Reviews| 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 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_ | |
| OLD | NEW |