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

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

Issue 288193004: [Chromedriver] Add Device Metrics override support to ChromeDriver via Capabilities (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 struct 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 emulate_viewport;
16 bool fit_window;
17 bool text_autosizing;
18 double font_scale_factor;
19 };
20
21 #endif // CHROME_TEST_CHROMEDRIVER_CHROME_DEVICE_METRICS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698