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

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

Issue 1641513003: [DevTools] Split DeviceModeView.js into view, toolbar and wrapper. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@device-mode-cleanup-remove-files
Patch Set: 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 8e958ad36a9511a8426f5c6623511a4ff278a72b..2962b8a2eb8b53da9a11ef01aa763bbb7225f31c 100644
--- a/third_party/WebKit/Source/devtools/front_end/emulation/module.json
+++ b/third_party/WebKit/Source/devtools/front_end/emulation/module.json
@@ -3,7 +3,7 @@
{
"type": "@WebInspector.ActionDelegate",
"actionId": "emulation.toggle-device-mode",
- "className": "WebInspector.DeviceModeView.ActionDelegate",
+ "className": "WebInspector.DeviceModeWrapper.ActionDelegate",
"condition": "can_dock",
"title": "Toggle device mode",
"iconClass": "phone-toolbar-item",
@@ -59,12 +59,13 @@
{
"type": "@WebInspector.ActionDelegate",
"actionId": "emulation.request-app-banner",
- "className": "WebInspector.DeviceModeView.ActionDelegate",
- "title": "Request app banner"
+ "className": "WebInspector.DeviceModeWrapper.ActionDelegate",
+ "title": "Request app banner\u2026"
},
{
"type": "context-menu-item",
"location": "deviceModeMenu/tools",
+ "experiment": "appBanner",
"order": 10,
"actionId": "emulation.request-app-banner"
}
@@ -84,7 +85,9 @@
"MediaQueryInspector.js",
"SensorsView.js",
"DeviceModeModel.js",
- "DeviceModeView.js"
+ "DeviceModeToolbar.js",
+ "DeviceModeView.js",
+ "DeviceModeWrapper.js"
],
"resources": [
"devicesSettingsTab.css",

Powered by Google App Engine
This is Rietveld 408576698