 Chromium Code Reviews
 Chromium Code Reviews Issue 251933005:
  [ChromeDriver] Support mobile emulation on desktop Chrome.  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@master
    
  
    Issue 251933005:
  [ChromeDriver] Support mobile emulation on desktop Chrome.  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@master| Index: chrome/test/chromedriver/chrome/device_metrics.cc | 
| diff --git a/chrome/test/chromedriver/chrome/device_metrics.cc b/chrome/test/chromedriver/chrome/device_metrics.cc | 
| new file mode 100644 | 
| index 0000000000000000000000000000000000000000..b76c8fbb98418e004487ad68ed5018cc08660c17 | 
| --- /dev/null | 
| +++ b/chrome/test/chromedriver/chrome/device_metrics.cc | 
| @@ -0,0 +1,18 @@ | 
| +// Copyright (c) 2014 The Chromium Authors. All rights reserved. | 
| +// Use of this source code is governed by a BSD-style license that can be | 
| +// found in the LICENSE file. | 
| + | 
| +#include "chrome/test/chromedriver/chrome/device_metrics.h" | 
| + | 
| +DeviceMetrics::DeviceMetrics() {} | 
| 
samuong
2014/05/16 23:00:35
Delete.
 
sam.rawlins
2014/05/16 23:35:51
Done.
 | 
| + | 
| +DeviceMetrics::DeviceMetrics(int width, int height, double device_scale_factor) | 
| + : width(width), | 
| + height(height), | 
| + device_scale_factor(device_scale_factor), | 
| + emulate_viewport(false), | 
| + fit_window(true), | 
| + text_autosizing(true), | 
| + font_scale_factor(1) {} | 
| + | 
| +DeviceMetrics::~DeviceMetrics() {} |