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

Unified Diff: Source/devtools/front_end/emulation/OverridesView.js

Issue 1200903003: [DevTools] Pass screen size and position to setDeviceMetricsOverrides. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: Source/devtools/front_end/emulation/OverridesView.js
diff --git a/Source/devtools/front_end/emulation/OverridesView.js b/Source/devtools/front_end/emulation/OverridesView.js
index 5c03e705e0a2ae617aa668bff64af3f11407e5ab..71cf239932a2aabe3365969e1f58c3494cffb289 100644
--- a/Source/devtools/front_end/emulation/OverridesView.js
+++ b/Source/devtools/front_end/emulation/OverridesView.js
@@ -201,7 +201,7 @@ WebInspector.OverridesView.DeviceTab.prototype = {
var rotateButton = createElement("button");
rotateButton.textContent = " \u21C4 ";
- var deviceSelect = new WebInspector.DeviceSelect(rotateButton);
+ var deviceSelect = new WebInspector.DeviceSelect(rotateButton, null);
deviceModelElement.appendChild(deviceSelect.element);
var emulateResolutionCheckbox = WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIString("Emulate screen resolution"), WebInspector.overridesSupport.settings.emulateResolution, true);
« no previous file with comments | « Source/devtools/front_end/emulation/OverridesUI.js ('k') | Source/devtools/front_end/emulation/ResponsiveDesignView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698