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 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 8struct DeviceMetrics { 9 DeviceMetrics(int width, int height, double device_scale_factor); 10 ~DeviceMetrics(); 11 12 int width; 13 int height; 14 double device_scale_factor; 15 bool mobile; 16 bool fit_window; 17 bool text_autosizing; 18 double font_scale_factor; 19}; 20 21#endif // CHROME_TEST_CHROMEDRIVER_CHROME_DEVICE_METRICS_H_ 22