Index: third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeWrapper.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeWrapper.js b/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeWrapper.js |
index 0c986301819d394148919759d80983537a6afdb1..7c5065b6b4a0c87e6d199f93ee0fbe7d8e8722de 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeWrapper.js |
+++ b/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeWrapper.js |
@@ -22,6 +22,10 @@ Emulation.DeviceModeWrapper = class extends UI.VBox { |
_toggleDeviceMode() { |
this._showDeviceModeSetting.set(!this._showDeviceModeSetting.get()); |
+ if (this._showDeviceModeSetting.get()) |
+ Host.userMetrics.actionTaken(Host.UserMetrics.Action.DeviceModeToggleOn); |
pfeldman
2017/02/07 19:15:27
Wait, we had that, where did it go?
|
+ else |
+ Host.userMetrics.actionTaken(Host.UserMetrics.Action.DeviceModeToggleOff); |
} |
/** |