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

Unified Diff: third_party/WebKit/Source/devtools/front_end/emulation/module.json

Issue 1599603002: [DevTools] Device Mode toolbar updates. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased 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
Index: third_party/WebKit/Source/devtools/front_end/emulation/module.json
diff --git a/third_party/WebKit/Source/devtools/front_end/emulation/module.json b/third_party/WebKit/Source/devtools/front_end/emulation/module.json
index 92dca2e3cfa89813ffaba33a0b6ddd4f92c152cb..a43365cc7bd736ed9baa3259c082f7beb9f25ae2 100644
--- a/third_party/WebKit/Source/devtools/front_end/emulation/module.json
+++ b/third_party/WebKit/Source/devtools/front_end/emulation/module.json
@@ -40,7 +40,10 @@
"type": "@WebInspector.ActionDelegate",
"actionId": "emulation.toggle-device-mode",
"className": "WebInspector.DeviceModeView.ActionDelegate",
+ "condition": "can_dock",
"experiment": "deviceMode",
+ "title": "Toggle device mode",
+ "iconClass": "phone-toolbar-item",
"bindings": [
{
"platform": "windows,linux",
@@ -53,11 +56,11 @@
]
},
{
- "type": "@WebInspector.ActionDelegate",
- "actionId": "emulation.toggle-device-toolbar",
- "className": "WebInspector.DeviceModeView.ActionDelegate",
- "experiment": "deviceMode",
- "title": "Toggle device toolbar"
+ "type": "@WebInspector.ToolbarItem.Provider",
+ "actionId": "emulation.toggle-device-mode",
+ "condition": "can_dock",
+ "location": "main-toolbar-left",
+ "order": 1
},
{
"type": "@WebInspector.Revealer",

Powered by Google App Engine
This is Rietveld 408576698