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

Unified Diff: LayoutTests/inspector/device-emulation/device-emulation-test.js

Issue 340723005: [DevTools] Remove unnecessary emulation checkboxes and simplify UX. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 6 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: LayoutTests/inspector/device-emulation/device-emulation-test.js
diff --git a/LayoutTests/inspector/device-emulation/device-emulation-test.js b/LayoutTests/inspector/device-emulation/device-emulation-test.js
index d4d5738c7dcc61ea84e7bf800a7f1d3842d3beb7..b57c398826bd686ab2cbb7f0636767915c9d8bc6 100644
--- a/LayoutTests/inspector/device-emulation/device-emulation-test.js
+++ b/LayoutTests/inspector/device-emulation/device-emulation-test.js
@@ -192,6 +192,7 @@ InspectorTest.applyEmulationAndReload = function(enabled, width, height, deviceS
WebInspector.overridesSupport.emulateDevice(new WebInspector.OverridesSupport.Device(width + "x" + height + "x" + deviceScaleFactor + "x1x1", ""));
else
WebInspector.overridesSupport.reset();
+ WebInspector.overridesSupport.settings.emulationEnabled.set(enabled);
function emulateCallback()
{

Powered by Google App Engine
This is Rietveld 408576698