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

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

Issue 2142303002: Revert of DevTools: automatically populate 'More tools' submenu with the drawer views. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/devices/module.json
diff --git a/third_party/WebKit/Source/devtools/front_end/devices/module.json b/third_party/WebKit/Source/devtools/front_end/devices/module.json
index f2533274b45028a1e9571e78050795453b06cf99..42a7695b5cdc6b8b9e0a424268c18b8fdc5a4b9e 100644
--- a/third_party/WebKit/Source/devtools/front_end/devices/module.json
+++ b/third_party/WebKit/Source/devtools/front_end/devices/module.json
@@ -1,18 +1,23 @@
{
"extensions": [
{
- "type": "drawer-view",
- "name": "remote-devices",
- "title": "Remote devices",
- "persistence": "closeable",
+ "type": "@WebInspector.ActionDelegate",
+ "category": "Mobile",
+ "actionId": "devices.dialog.show",
+ "className": "WebInspector.DevicesDialog.ActionDelegate",
+ "title": "Inspect devices\u2026"
+ },
+ {
+ "type": "context-menu-item",
+ "location": "mainMenu/tools/open",
"order": 50,
- "className": "WebInspector.DevicesView",
- "tags": "usb, android, mobile"
+ "actionId": "devices.dialog.show"
}
],
"dependencies": ["platform", "ui", "host", "components"],
"scripts": [
- "DevicesView.js"
+ "DevicesView.js",
+ "DevicesDialog.js"
],
"resources": [
"devicesView.css"

Powered by Google App Engine
This is Rietveld 408576698