OLD | NEW |
1 { | 1 { |
2 "extensions": [ | 2 "extensions": [ |
3 { | 3 { |
4 "type": "@WebInspector.AppProvider", | 4 "type": "@WebInspector.AppProvider", |
5 "condition": "can_dock", | 5 "condition": "can_dock", |
6 "className": "WebInspector.AdvancedAppProvider", | 6 "className": "WebInspector.AdvancedAppProvider", |
7 "order": 0 | 7 "order": 0 |
8 }, | 8 }, |
9 { | 9 { |
10 "type": "@WebInspector.ActionDelegate", | 10 "type": "@WebInspector.ActionDelegate", |
11 "category": "Mobile", | 11 "category": "Mobile", |
12 "actionId": "emulation.toggle-device-mode", | 12 "actionId": "emulation.toggle-device-mode", |
13 "className": "WebInspector.DeviceModeWrapper.ActionDelegate", | 13 "className": "WebInspector.DeviceModeWrapper.ActionDelegate", |
14 "condition": "can_dock", | 14 "condition": "can_dock", |
15 "title": "Toggle device toolbar", | 15 "title": "Toggle device toolbar", |
16 "iconClass": "phone-toolbar-item", | 16 "iconClass": "phone-toolbar-item", |
17 "bindings": [ | 17 "bindings": [ |
18 { | 18 { |
19 "platform": "windows,linux", | 19 "platform": "windows,linux", |
20 "shortcut": "Shift+Ctrl+M" | 20 "shortcut": "Shift+Ctrl+M" |
21 }, | 21 }, |
22 { | 22 { |
23 "platform": "mac", | 23 "platform": "mac", |
24 "shortcut": "Shift+Meta+M" | 24 "shortcut": "Shift+Meta+M" |
25 } | 25 } |
26 ] | 26 ] |
27 }, | 27 }, |
28 { | 28 { |
| 29 "type": "@WebInspector.ActionDelegate", |
| 30 "actionId": "emulation.capture-screenshot", |
| 31 "className": "WebInspector.DeviceModeWrapper.ActionDelegate", |
| 32 "title": "Capture screenshot" |
| 33 }, |
| 34 { |
| 35 "type": "context-menu-item", |
| 36 "location": "deviceModeMenu/tools", |
| 37 "order": 12, |
| 38 "actionId": "emulation.capture-screenshot" |
| 39 }, |
| 40 { |
29 "type": "@WebInspector.ToolbarItem.Provider", | 41 "type": "@WebInspector.ToolbarItem.Provider", |
30 "actionId": "emulation.toggle-device-mode", | 42 "actionId": "emulation.toggle-device-mode", |
31 "condition": "can_dock", | 43 "condition": "can_dock", |
32 "location": "main-toolbar-left", | 44 "location": "main-toolbar-left", |
33 "order": 1 | 45 "order": 1 |
34 }, | 46 }, |
35 { | 47 { |
36 "type": "setting", | 48 "type": "setting", |
37 "category": "Mobile", | 49 "category": "Mobile", |
38 "settingName": "showMediaQueryInspector", | 50 "settingName": "showMediaQueryInspector", |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 "DeviceModeWrapper.js" | 129 "DeviceModeWrapper.js" |
118 ], | 130 ], |
119 "resources": [ | 131 "resources": [ |
120 "devicesSettingsTab.css", | 132 "devicesSettingsTab.css", |
121 "deviceModeToolbar.css", | 133 "deviceModeToolbar.css", |
122 "deviceModeView.css", | 134 "deviceModeView.css", |
123 "mediaQueryInspector.css", | 135 "mediaQueryInspector.css", |
124 "sensors.css" | 136 "sensors.css" |
125 ] | 137 ] |
126 } | 138 } |
OLD | NEW |