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

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

Issue 2608043002: DevTools: extract modules (with extensions) (Closed)
Patch Set: fixes Created 3 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/console/module.json
diff --git a/third_party/WebKit/Source/devtools/front_end/console/module.json b/third_party/WebKit/Source/devtools/front_end/console/module.json
index bce912f747dfc47755faa6f2eb6c3e0a62af424d..051d0f2bc26301031812cba498f6b1effd6eaf61 100644
--- a/third_party/WebKit/Source/devtools/front_end/console/module.json
+++ b/third_party/WebKit/Source/devtools/front_end/console/module.json
@@ -1,131 +1,158 @@
{
- "extensions": [
+ "extensions": [
+ {
+ "type": "view",
+ "location": "panel",
+ "id": "console",
+ "title": "Console",
+ "order": 20,
+ "className": "Console.ConsolePanel"
+ },
+ {
+ "type": "view",
+ "location": "drawer-view",
+ "id": "console-view",
+ "title": "Console",
+ "persistence": "permanent",
+ "order": 0,
+ "className": "Console.ConsolePanel.WrapperView"
+ },
+ {
+ "type": "@Common.Revealer",
+ "contextTypes": [
+ "Common.Console"
+ ],
+ "className": "Console.ConsolePanel.ConsoleRevealer"
+ },
+ {
+ "type": "@UI.ActionDelegate",
+ "actionId": "console.show",
+ "className": "Console.ConsoleView.ActionDelegate",
+ "bindings": [
{
- "type": "view",
- "location": "panel",
- "id": "console",
- "title": "Console",
- "order": 20,
- "className": "Console.ConsolePanel"
- },
+ "shortcut": "Ctrl+`"
+ }
+ ]
+ },
+ {
+ "type": "@UI.ActionDelegate",
+ "category": "Console",
+ "actionId": "console.clear",
+ "title": "Clear console",
+ "iconClass": "largeicon-clear",
+ "className": "Console.ConsoleView.ActionDelegate",
+ "bindings": [
{
- "type": "view",
- "location": "drawer-view",
- "id": "console-view",
- "title": "Console",
- "persistence": "permanent",
- "order": 0,
- "className": "Console.ConsolePanel.WrapperView"
+ "platform": "windows,linux",
+ "shortcut": "Ctrl+L"
},
{
- "type": "@Common.Revealer",
- "contextTypes": ["Common.Console"],
- "className": "Console.ConsolePanel.ConsoleRevealer"
- },
+ "platform": "mac",
+ "shortcut": "Ctrl+L Meta+K"
+ }
+ ]
+ },
+ {
+ "type": "@UI.ActionDelegate",
+ "category": "Console",
+ "actionId": "console.clear.history",
+ "title": "Clear console history",
+ "className": "Console.ConsoleView.ActionDelegate"
+ },
+ {
+ "type": "setting",
+ "category": "Console",
+ "title": "Hide network messages",
+ "settingName": "hideNetworkMessages",
+ "settingType": "boolean",
+ "defaultValue": false,
+ "options": [
{
- "type": "@UI.ActionDelegate",
- "actionId": "console.show",
- "className": "Console.ConsoleView.ActionDelegate",
- "bindings": [
- {
- "shortcut": "Ctrl+`"
- }
- ]
+ "value": true,
+ "title": "Hide network messages"
},
{
- "type": "@UI.ActionDelegate",
- "category": "Console",
- "actionId": "console.clear",
- "title": "Clear console",
- "iconClass": "largeicon-clear",
- "className": "Console.ConsoleView.ActionDelegate",
- "bindings": [
- {
- "platform": "windows,linux",
- "shortcut": "Ctrl+L"
- },
- {
- "platform": "mac",
- "shortcut": "Ctrl+L Meta+K"
- }
- ]
- },
+ "value": false,
+ "title": "Show network messages"
+ }
+ ]
+ },
+ {
+ "type": "setting",
+ "category": "Console",
+ "title": "Hide violations",
+ "settingName": "hideViolationMessages",
+ "settingType": "boolean",
+ "defaultValue": true,
+ "options": [
{
- "type": "@UI.ActionDelegate",
- "category": "Console",
- "actionId": "console.clear.history",
- "title": "Clear console history",
- "className": "Console.ConsoleView.ActionDelegate"
+ "value": true,
+ "title": "Hide violations"
},
{
- "type": "setting",
- "category": "Console",
- "title": "Hide network messages",
- "settingName": "hideNetworkMessages",
- "settingType": "boolean",
- "defaultValue": false,
- "options": [
- { "value": true, "title": "Hide network messages" },
- { "value": false, "title": "Show network messages" }
- ]
- },
+ "value": false,
+ "title": "Show violations"
+ }
+ ]
+ },
+ {
+ "type": "setting",
+ "category": "Console",
+ "title": "Log XMLHttpRequests",
+ "settingName": "monitoringXHREnabled",
+ "settingType": "boolean",
+ "defaultValue": false
+ },
+ {
+ "type": "setting",
+ "category": "Console",
+ "title": "Show timestamps",
+ "settingName": "consoleTimestampsEnabled",
+ "settingType": "boolean",
+ "defaultValue": false,
+ "options": [
{
- "type": "setting",
- "category": "Console",
- "title": "Hide violations",
- "settingName": "hideViolationMessages",
- "settingType": "boolean",
- "defaultValue": true,
- "options": [
- { "value": true, "title": "Hide violations" },
- { "value": false, "title": "Show violations" }
- ]
+ "value": true,
+ "title": "Show timestamps"
},
{
- "type": "setting",
- "category": "Console",
- "title": "Log XMLHttpRequests",
- "settingName": "monitoringXHREnabled",
- "settingType": "boolean",
- "defaultValue": false
- },
+ "value": false,
+ "title": "Hide timestamps"
+ }
+ ]
+ },
+ {
+ "type": "setting",
+ "category": "Console",
+ "title": "Autocomplete from history",
+ "settingName": "consoleHistoryAutocomplete",
+ "settingType": "boolean",
+ "defaultValue": true,
+ "options": [
{
- "type": "setting",
- "category": "Console",
- "title": "Show timestamps",
- "settingName": "consoleTimestampsEnabled",
- "settingType": "boolean",
- "defaultValue": false,
- "options": [
- { "value": true, "title": "Show timestamps" },
- { "value": false, "title": "Hide timestamps" }
- ]
+ "value": true,
+ "title": "Autocomplete from history"
},
{
- "type": "setting",
- "category": "Console",
- "title": "Autocomplete from history",
- "settingName": "consoleHistoryAutocomplete",
- "settingType": "boolean",
- "defaultValue": true,
- "options": [
- { "value": true, "title": "Autocomplete from history" },
- { "value": false, "title": "Do not autocomplete from history" }
- ]
+ "value": false,
+ "title": "Do not autocomplete from history"
}
- ],
- "dependencies": [
- "components", "ui_lazy"
- ],
- "scripts": [
- "ConsoleContextSelector.js",
- "ConsoleViewport.js",
- "ConsoleViewMessage.js",
- "ConsolePrompt.js",
- "ConsoleView.js",
- "ConsolePanel.js"
- ],
- "resources": [
- "consoleView.css"
- ]
-}
+ ]
+ }
+ ],
+ "dependencies": [
+ "components",
+ "data_grid"
+ ],
+ "scripts": [
+ "ConsoleContextSelector.js",
+ "ConsoleViewport.js",
+ "ConsoleViewMessage.js",
+ "ConsolePrompt.js",
+ "ConsoleView.js",
+ "ConsolePanel.js"
+ ],
+ "resources": [
+ "consoleView.css"
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698