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

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

Issue 1178643004: [DevTools] Initial implementation of device modes. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Turn into class 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/DevicesSettingsTab.js
diff --git a/Source/devtools/front_end/emulation/DevicesSettingsTab.js b/Source/devtools/front_end/emulation/DevicesSettingsTab.js
index f6fe57cddc6bd1b00a1e22887e120775680cba9e..1a6c471378f8a38976133887645513865eb0542b 100644
--- a/Source/devtools/front_end/emulation/DevicesSettingsTab.js
+++ b/Source/devtools/front_end/emulation/DevicesSettingsTab.js
@@ -280,6 +280,7 @@ WebInspector.DevicesSettingsTab.prototype = {
this._editDevice.horizontal.height = this._editDevice.vertical.width;
this._editDevice.deviceScaleFactor = this._editDeviceScale.value ? parseFloat(this._editDeviceScale.value) : 0;
this._editDevice.userAgent = this._editDeviceUserAgent.value;
+ this._editDevice.createImplicitModes();
this._stopEditing();
if (this._editDeviceListItem)
« no previous file with comments | « Source/devtools/front_end/emulated_devices/module.json ('k') | Source/devtools/front_end/emulation/EmulatedDevices.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698