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

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

Issue 1178643004: [DevTools] Initial implementation of device modes. (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 c2ab9527906684e0674c52c11563873c419c3700..e2a0e0b8a5fce846b0b58e87f970e97582b1137d 100644
--- a/Source/devtools/front_end/emulation/OverridesView.js
+++ b/Source/devtools/front_end/emulation/OverridesView.js
@@ -38,6 +38,8 @@ WebInspector.OverridesView = function()
this.setMinimumSize(0, 30);
this.registerRequiredCSS("emulation/overrides.css");
this.element.classList.add("overrides-view");
+ if (Runtime.experiments.isEnabled("deviceArt"))
+ this.element.classList.add("device-art");
this._tabbedPane = new WebInspector.TabbedPane();
this._tabbedPane.setShrinkableTabs(false);

Powered by Google App Engine
This is Rietveld 408576698