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

Unified Diff: third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeView.js

Issue 1641003003: [DevTools] Small cleanup after device mode v2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@device-mode-cleanup-split
Patch Set: Created 4 years, 11 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/emulation/MediaQueryInspector.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeView.js b/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeView.js
index 7954e046c8f607974b9c8340ec603559c19e5240..88cd2f9d59ab9acfd4795afe6fec93ca51ff1771 100644
--- a/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeView.js
+++ b/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeView.js
@@ -326,7 +326,6 @@ WebInspector.DeviceModeView.prototype = {
wasShown: function()
{
this._measureHandles();
- this._mediaInspector.setEnabled(true);
this._toolbar.restore();
},
@@ -336,7 +335,6 @@ WebInspector.DeviceModeView.prototype = {
willHide: function()
{
this._model.emulate(WebInspector.DeviceModeModel.Type.None, null, null);
- this._mediaInspector.setEnabled(false);
},
__proto__: WebInspector.VBox.prototype
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/emulation/MediaQueryInspector.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698