Index: third_party/WebKit/Source/devtools/front_end/main/module.json |
diff --git a/third_party/WebKit/Source/devtools/front_end/main/module.json b/third_party/WebKit/Source/devtools/front_end/main/module.json |
index 6002038392781f2cb8aa59fa7a6e99fd94fbbfe5..85e83f67c7dbf935b71ba3ef120f693ebc1bbb5d 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/main/module.json |
+++ b/third_party/WebKit/Source/devtools/front_end/main/module.json |
@@ -7,17 +7,25 @@ |
}, |
{ |
"type": "@UI.ContextMenu.Provider", |
- "contextTypes": ["Workspace.UISourceCode", "SDK.Resource", "SDK.NetworkRequest"], |
+ "contextTypes": [ |
+ "Workspace.UISourceCode", |
+ "SDK.Resource", |
+ "SDK.NetworkRequest" |
+ ], |
"className": "Components.Linkifier.ContentProviderContextMenuProvider" |
}, |
{ |
"type": "@UI.ContextMenu.Provider", |
- "contextTypes": ["Node"], |
+ "contextTypes": [ |
+ "Node" |
+ ], |
"className": "UI.ExternaLinkContextMenuProvider" |
}, |
{ |
"type": "@UI.ContextMenu.Provider", |
- "contextTypes": ["Node"], |
+ "contextTypes": [ |
+ "Node" |
+ ], |
"className": "Components.Linkifier.LinkContextMenuProvider" |
}, |
{ |
@@ -227,8 +235,14 @@ |
"order": 0, |
"defaultValue": false, |
"options": [ |
- { "value": true, "title": "Disable cache (while DevTools is open)" }, |
- { "value": false, "title": "Enable cache" } |
+ { |
+ "value": true, |
+ "title": "Disable cache (while DevTools is open)" |
+ }, |
+ { |
+ "value": false, |
+ "title": "Enable cache" |
+ } |
] |
}, |
{ |
@@ -240,8 +254,14 @@ |
"order": 1, |
"defaultValue": false, |
"options": [ |
- { "value": true, "title": "Disable JavaScript" }, |
- { "value": false, "title": "Enable JavaScript" } |
+ { |
+ "value": true, |
+ "title": "Disable JavaScript" |
+ }, |
+ { |
+ "value": false, |
+ "title": "Enable JavaScript" |
+ } |
] |
}, |
{ |
@@ -253,8 +273,14 @@ |
"order": 2, |
"defaultValue": false, |
"options": [ |
- { "value": true, "title": "Auto-open DevTools for popups" }, |
- { "value": false, "title": "Do not auto-open DevTools for popups" } |
+ { |
+ "value": true, |
+ "title": "Auto-open DevTools for popups" |
+ }, |
+ { |
+ "value": false, |
+ "title": "Do not auto-open DevTools for popups" |
+ } |
] |
}, |
{ |
@@ -265,8 +291,16 @@ |
"settingType": "enum", |
"defaultValue": "default", |
"options": [ |
- { "title": "Switch to light theme", "text": "Light", "value": "default" }, |
- { "title": "Switch to dark theme", "text": "Dark", "value": "dark" } |
+ { |
+ "title": "Switch to light theme", |
+ "text": "Light", |
+ "value": "default" |
+ }, |
+ { |
+ "title": "Switch to dark theme", |
+ "text": "Dark", |
+ "value": "dark" |
+ } |
], |
"tags": "dark, light" |
}, |
@@ -278,9 +312,21 @@ |
"settingType": "enum", |
"defaultValue": "auto", |
"options": [ |
- { "title": "Use horizontal panel layout", "text": "horizontal", "value": "bottom" }, |
- { "title": "Use vertical panel layout", "text": "vertical", "value": "right" }, |
- { "title": "Use automatic panel layout", "text": "auto", "value": "auto" } |
+ { |
+ "title": "Use horizontal panel layout", |
+ "text": "horizontal", |
+ "value": "bottom" |
+ }, |
+ { |
+ "title": "Use vertical panel layout", |
+ "text": "vertical", |
+ "value": "right" |
+ }, |
+ { |
+ "title": "Use automatic panel layout", |
+ "text": "auto", |
+ "value": "auto" |
+ } |
] |
}, |
{ |
@@ -342,15 +388,38 @@ |
"settingType": "enum", |
"defaultValue": "right", |
"options": [ |
- { "value": "right", "title": "Dock to right" }, |
- { "value": "bottom", "title": "Dock to bottom" }, |
- { "value": "undocked", "title": "Undock into separate window" } |
+ { |
+ "value": "right", |
+ "title": "Dock to right" |
+ }, |
+ { |
+ "value": "bottom", |
+ "title": "Dock to bottom" |
+ }, |
+ { |
+ "value": "undocked", |
+ "title": "Undock into separate window" |
+ } |
] |
}, |
{ |
"type": "@UI.ViewLocationResolver", |
"name": "drawer-view", |
"className": "UI.InspectorView" |
+ }, |
+ { |
+ "type": "@UI.ActionDelegate", |
+ "actionId": "components.collect-garbage", |
+ "title": "Collect garbage", |
+ "iconClass": "largeicon-trash-bin", |
+ "className": "Main.GCActionDelegate" |
+ }, |
+ { |
+ "type": "@UI.ActionDelegate", |
+ "category": "Mobile", |
+ "actionId": "components.request-app-banner", |
+ "className": "Main.RequestAppBannerActionDelegate", |
+ "title": "Add to homescreen" |
} |
], |
"dependencies": [ |
@@ -364,7 +433,9 @@ |
"RenderingOptions.js", |
"SimpleApp.js", |
"OverlayController.js", |
- "Main.js" |
+ "Main.js", |
+ "GCActionDelegate.js", |
+ "RequestAppBannerActionDelegate.js" |
], |
"resources": [ |
"errorWarningCounter.css", |