| OLD | NEW |
| 1 { | 1 { |
| 2 "extensions": [ | 2 "extensions": [ |
| 3 { | 3 { |
| 4 "type": "drawer-view", | |
| 5 "name": "emulation", | |
| 6 "title": "Emulation", | |
| 7 "experiment": "!deviceMode", | |
| 8 "order": 10, | |
| 9 "persistence": "closeable", | |
| 10 "className": "WebInspector.OverridesView" | |
| 11 }, | |
| 12 { | |
| 13 "type": "@WebInspector.ToolbarItem.Provider", | |
| 14 "className": "WebInspector.DeviceModeButtonProvider", | |
| 15 "condition": "can_dock", | |
| 16 "experiment": "!deviceMode", | |
| 17 "order": 1, | |
| 18 "location": "main-toolbar-left" | |
| 19 }, | |
| 20 { | |
| 21 "type": "@WebInspector.ActionDelegate", | |
| 22 "actionId": "emulation.toggle-device-mode", | |
| 23 "className": "WebInspector.ToggleDeviceModeActionDelegate", | |
| 24 "iconClass": "emulation-toolbar-item", | |
| 25 "title": "Toggle device mode", | |
| 26 "condition": "can_dock", | |
| 27 "experiment": "!deviceMode", | |
| 28 "bindings": [ | |
| 29 { | |
| 30 "platform": "windows,linux", | |
| 31 "shortcut": "Shift+Ctrl+M" | |
| 32 }, | |
| 33 { | |
| 34 "platform": "mac", | |
| 35 "shortcut": "Shift+Meta+M" | |
| 36 } | |
| 37 ] | |
| 38 }, | |
| 39 { | |
| 40 "type": "@WebInspector.ActionDelegate", | 4 "type": "@WebInspector.ActionDelegate", |
| 41 "actionId": "emulation.toggle-device-mode", | 5 "actionId": "emulation.toggle-device-mode", |
| 42 "className": "WebInspector.DeviceModeView.ActionDelegate", | 6 "className": "WebInspector.DeviceModeView.ActionDelegate", |
| 43 "condition": "can_dock", | 7 "condition": "can_dock", |
| 44 "experiment": "deviceMode", | |
| 45 "title": "Toggle device mode", | 8 "title": "Toggle device mode", |
| 46 "iconClass": "phone-toolbar-item", | 9 "iconClass": "phone-toolbar-item", |
| 47 "bindings": [ | 10 "bindings": [ |
| 48 { | 11 { |
| 49 "platform": "windows,linux", | 12 "platform": "windows,linux", |
| 50 "shortcut": "Shift+Ctrl+M" | 13 "shortcut": "Shift+Ctrl+M" |
| 51 }, | 14 }, |
| 52 { | 15 { |
| 53 "platform": "mac", | 16 "platform": "mac", |
| 54 "shortcut": "Shift+Meta+M" | 17 "shortcut": "Shift+Meta+M" |
| 55 } | 18 } |
| 56 ] | 19 ] |
| 57 }, | 20 }, |
| 58 { | 21 { |
| 59 "type": "@WebInspector.ToolbarItem.Provider", | 22 "type": "@WebInspector.ToolbarItem.Provider", |
| 60 "actionId": "emulation.toggle-device-mode", | 23 "actionId": "emulation.toggle-device-mode", |
| 61 "condition": "can_dock", | 24 "condition": "can_dock", |
| 62 "location": "main-toolbar-left", | 25 "location": "main-toolbar-left", |
| 63 "order": 1 | 26 "order": 1 |
| 64 }, | 27 }, |
| 65 { | 28 { |
| 66 "type": "@WebInspector.Revealer", | |
| 67 "contextTypes": ["WebInspector.OverridesSupport"], | |
| 68 "className": "WebInspector.OverridesView.Revealer" | |
| 69 }, | |
| 70 { | |
| 71 "type": "settings-view", | 29 "type": "settings-view", |
| 72 "name": "devices", | 30 "name": "devices", |
| 73 "title": "Devices", | 31 "title": "Devices", |
| 74 "order": "30", | 32 "order": "30", |
| 75 "className": "WebInspector.DevicesSettingsTab", | 33 "className": "WebInspector.DevicesSettingsTab", |
| 76 "settings": [ | 34 "settings": [ |
| 77 "standardEmulatedDeviceList", | 35 "standardEmulatedDeviceList", |
| 78 "customEmulatedDeviceList" | 36 "customEmulatedDeviceList" |
| 79 ] | 37 ] |
| 80 }, | 38 }, |
| (...skipping 30 matching lines...) Expand all Loading... |
| 111 "actionId": "emulation.request-app-banner" | 69 "actionId": "emulation.request-app-banner" |
| 112 } | 70 } |
| 113 ], | 71 ], |
| 114 "dependencies": [ | 72 "dependencies": [ |
| 115 "bindings", | 73 "bindings", |
| 116 "components", | 74 "components", |
| 117 "platform", | 75 "platform", |
| 118 "ui" | 76 "ui" |
| 119 ], | 77 ], |
| 120 "scripts": [ | 78 "scripts": [ |
| 121 "OverridesSupport.js", | |
| 122 "EmulatedDevices.js", | 79 "EmulatedDevices.js", |
| 123 "DevicesSettingsTab.js", | 80 "DevicesSettingsTab.js", |
| 124 "DeviceModeButton.js", | |
| 125 "DeviceOrientation.js", | 81 "DeviceOrientation.js", |
| 126 "Geolocation.js", | 82 "Geolocation.js", |
| 127 "OverridesUI.js", | |
| 128 "InspectedPagePlaceholder.js", | 83 "InspectedPagePlaceholder.js", |
| 129 "MediaQueryInspector.js", | 84 "MediaQueryInspector.js", |
| 130 "ResponsiveDesignView.js", | |
| 131 "OverridesView.js", | |
| 132 "SensorsView.js", | 85 "SensorsView.js", |
| 133 "DeviceModeModel.js", | 86 "DeviceModeModel.js", |
| 134 "DeviceModeView.js" | 87 "DeviceModeView.js" |
| 135 ], | 88 ], |
| 136 "resources": [ | 89 "resources": [ |
| 137 "devicesSettingsTab.css", | 90 "devicesSettingsTab.css", |
| 138 "deviceModeToolbar.css", | 91 "deviceModeToolbar.css", |
| 139 "deviceModeView.css", | 92 "deviceModeView.css", |
| 140 "mediaQueryInspector.css", | 93 "mediaQueryInspector.css", |
| 141 "responsiveDesignView.css", | |
| 142 "overrides.css", | |
| 143 "sensors.css" | 94 "sensors.css" |
| 144 ] | 95 ] |
| 145 } | 96 } |
| OLD | NEW |