OLD | NEW |
1 { | 1 { |
2 "extensions": [ | 2 "extensions": [ |
3 { | 3 { |
4 "type": "view", | 4 "type": "view", |
5 "location": "panel", | 5 "location": "panel", |
6 "id": "elements", | 6 "id": "elements", |
7 "title": "Elements", | 7 "title": "Elements", |
8 "order": 10, | 8 "order": 10, |
9 "className": "Elements.ElementsPanel" | 9 "className": "Elements.ElementsPanel" |
10 }, | 10 }, |
11 { | 11 { |
12 "type": "@UI.ContextMenu.Provider", | 12 "type": "@UI.ContextMenu.Provider", |
13 "contextTypes": ["SDK.RemoteObject", "SDK.DOMNode", "SDK.DeferredDOM
Node"], | 13 "contextTypes": [ |
| 14 "SDK.RemoteObject", |
| 15 "SDK.DOMNode", |
| 16 "SDK.DeferredDOMNode" |
| 17 ], |
14 "className": "Elements.ElementsPanel.ContextMenuProvider" | 18 "className": "Elements.ElementsPanel.ContextMenuProvider" |
15 }, | 19 }, |
16 { | 20 { |
17 "type": "@Common.Renderer", | 21 "type": "@Common.Renderer", |
18 "contextTypes": ["SDK.DOMNode", "SDK.RemoteObject"], | 22 "contextTypes": [ |
| 23 "SDK.DOMNode", |
| 24 "SDK.RemoteObject" |
| 25 ], |
19 "className": "Elements.ElementsTreeOutline.Renderer" | 26 "className": "Elements.ElementsTreeOutline.Renderer" |
20 }, | 27 }, |
21 { | 28 { |
22 "type": "@Common.Revealer", | 29 "type": "@Common.Revealer", |
23 "contextTypes": ["SDK.DOMNode", "SDK.DeferredDOMNode", "SDK.RemoteOb
ject" ], | 30 "contextTypes": [ |
| 31 "SDK.DOMNode", |
| 32 "SDK.DeferredDOMNode", |
| 33 "SDK.RemoteObject" |
| 34 ], |
24 "className": "Elements.ElementsPanel.DOMNodeRevealer" | 35 "className": "Elements.ElementsPanel.DOMNodeRevealer" |
25 }, | 36 }, |
26 { | 37 { |
27 "type": "@Common.Revealer", | 38 "type": "@Common.Revealer", |
28 "contextTypes": ["SDK.CSSProperty" ], | 39 "contextTypes": [ |
| 40 "SDK.CSSProperty" |
| 41 ], |
29 "className": "Elements.ElementsPanel.CSSPropertyRevealer" | 42 "className": "Elements.ElementsPanel.CSSPropertyRevealer" |
30 }, | 43 }, |
31 { | 44 { |
32 "type": "setting", | 45 "type": "setting", |
33 "category": "Elements", | 46 "category": "Elements", |
34 "order": 0, | 47 "order": 0, |
35 "title": "Color format:", | 48 "title": "Color format:", |
36 "settingName": "colorFormat", | 49 "settingName": "colorFormat", |
37 "settingType": "enum", | 50 "settingType": "enum", |
38 "defaultValue": "original", | 51 "defaultValue": "original", |
39 "options": [ | 52 "options": [ |
40 { "title": "Set color format as authored", "text": "As authored"
, "value": "original" }, | 53 { |
41 { "title": "Set color format to HEX", "text": "HEX: #dac0de", "v
alue": "hex", "raw": true }, | 54 "title": "Set color format as authored", |
42 { "title": "Set color format to RGB", "text": "RGB: rgb(128, 255
, 255)", "value": "rgb", "raw": true }, | 55 "text": "As authored", |
43 { "title": "Set color format to HSL", "text": "HSL: hsl(300, 80%
, 90%)", "value": "hsl", "raw": true } | 56 "value": "original" |
| 57 }, |
| 58 { |
| 59 "title": "Set color format to HEX", |
| 60 "text": "HEX: #dac0de", |
| 61 "value": "hex", |
| 62 "raw": true |
| 63 }, |
| 64 { |
| 65 "title": "Set color format to RGB", |
| 66 "text": "RGB: rgb(128, 255, 255)", |
| 67 "value": "rgb", |
| 68 "raw": true |
| 69 }, |
| 70 { |
| 71 "title": "Set color format to HSL", |
| 72 "text": "HSL: hsl(300, 80%, 90%)", |
| 73 "value": "hsl", |
| 74 "raw": true |
| 75 } |
44 ] | 76 ] |
45 }, | 77 }, |
46 { | 78 { |
47 "type": "setting", | 79 "type": "setting", |
48 "category": "Elements", | 80 "category": "Elements", |
49 "order":1, | 81 "order": 1, |
50 "title": "Show user agent shadow DOM", | 82 "title": "Show user agent shadow DOM", |
51 "settingName": "showUAShadowDOM", | 83 "settingName": "showUAShadowDOM", |
52 "settingType": "boolean", | 84 "settingType": "boolean", |
53 "defaultValue": false | 85 "defaultValue": false |
54 }, | 86 }, |
55 { | 87 { |
56 "type": "setting", | 88 "type": "setting", |
57 "category": "Elements", | 89 "category": "Elements", |
58 "order": 2, | 90 "order": 2, |
59 "title": "Word wrap", | 91 "title": "Word wrap", |
60 "settingName": "domWordWrap", | 92 "settingName": "domWordWrap", |
61 "settingType": "boolean", | 93 "settingType": "boolean", |
62 "defaultValue": true, | 94 "defaultValue": true, |
63 "options": [ | 95 "options": [ |
64 { "value": true, "title": "Enable DOM word wrap" }, | 96 { |
65 { "value": false, "title": "Disable DOM word wrap" } | 97 "value": true, |
| 98 "title": "Enable DOM word wrap" |
| 99 }, |
| 100 { |
| 101 "value": false, |
| 102 "title": "Disable DOM word wrap" |
| 103 } |
66 ] | 104 ] |
67 }, | 105 }, |
68 { | 106 { |
69 "type": "setting", | 107 "type": "setting", |
70 "category": "Elements", | 108 "category": "Elements", |
71 "order": 3, | 109 "order": 3, |
72 "title": "Show HTML comments", | 110 "title": "Show HTML comments", |
73 "settingName": "showHTMLComments", | 111 "settingName": "showHTMLComments", |
74 "settingType": "boolean", | 112 "settingType": "boolean", |
75 "defaultValue": true, | 113 "defaultValue": true, |
76 "options": [ | 114 "options": [ |
77 { "value": true, "title": "Show HTML comments" }, | 115 { |
78 { "value": false, "title": "Hide HTML comments" } | 116 "value": true, |
| 117 "title": "Show HTML comments" |
| 118 }, |
| 119 { |
| 120 "value": false, |
| 121 "title": "Hide HTML comments" |
| 122 } |
79 ] | 123 ] |
80 }, | 124 }, |
81 { | 125 { |
82 "type": "setting", | 126 "type": "setting", |
83 "category": "Elements", | 127 "category": "Elements", |
84 "order": 4, | 128 "order": 4, |
85 "title": "Reveal DOM node on hover", | 129 "title": "Reveal DOM node on hover", |
86 "settingName": "highlightNodeOnHoverInOverlay", | 130 "settingName": "highlightNodeOnHoverInOverlay", |
87 "settingType": "boolean", | 131 "settingType": "boolean", |
88 "defaultValue": true | 132 "defaultValue": true |
(...skipping 18 matching lines...) Expand all Loading... |
107 }, | 151 }, |
108 { | 152 { |
109 "type": "@UI.ToolbarItem.Provider", | 153 "type": "@UI.ToolbarItem.Provider", |
110 "className": "Elements.StylesSidebarPane.ButtonProvider", | 154 "className": "Elements.StylesSidebarPane.ButtonProvider", |
111 "order": 100, | 155 "order": 100, |
112 "location": "styles-sidebarpane-toolbar" | 156 "location": "styles-sidebarpane-toolbar" |
113 }, | 157 }, |
114 { | 158 { |
115 "type": "@UI.ActionDelegate", | 159 "type": "@UI.ActionDelegate", |
116 "actionId": "elements.hide-element", | 160 "actionId": "elements.hide-element", |
117 "contextTypes": ["Elements.ElementsPanel"], | 161 "contextTypes": [ |
| 162 "Elements.ElementsPanel" |
| 163 ], |
118 "className": "Elements.ElementsActionDelegate", | 164 "className": "Elements.ElementsActionDelegate", |
119 "bindings": [ | 165 "bindings": [ |
120 { | 166 { |
121 "shortcut": "H" | 167 "shortcut": "H" |
122 } | 168 } |
123 ] | 169 ] |
124 }, | 170 }, |
125 { | 171 { |
126 "type": "@UI.ActionDelegate", | 172 "type": "@UI.ActionDelegate", |
127 "actionId": "elements.edit-as-html", | 173 "actionId": "elements.edit-as-html", |
128 "contextTypes": ["Elements.ElementsPanel"], | 174 "contextTypes": [ |
| 175 "Elements.ElementsPanel" |
| 176 ], |
129 "className": "Elements.ElementsActionDelegate", | 177 "className": "Elements.ElementsActionDelegate", |
130 "bindings": [ | 178 "bindings": [ |
131 { | 179 { |
132 "shortcut": "F2" | 180 "shortcut": "F2" |
133 } | 181 } |
134 ] | 182 ] |
135 }, | 183 }, |
136 { | 184 { |
137 "type": "@Components.DOMPresentationUtils.MarkerDecorator", | 185 "type": "@Components.DOMPresentationUtils.MarkerDecorator", |
138 "className": "Elements.ElementsPanel.PseudoStateMarkerDecorator", | 186 "className": "Elements.ElementsPanel.PseudoStateMarkerDecorator", |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 "location": "elements-sidebar", | 245 "location": "elements-sidebar", |
198 "id": "elements.domProperties", | 246 "id": "elements.domProperties", |
199 "title": "Properties", | 247 "title": "Properties", |
200 "order": 7, | 248 "order": 7, |
201 "persistence": "permanent", | 249 "persistence": "permanent", |
202 "className": "Elements.PropertiesWidget" | 250 "className": "Elements.PropertiesWidget" |
203 } | 251 } |
204 ], | 252 ], |
205 "dependencies": [ | 253 "dependencies": [ |
206 "components", | 254 "components", |
207 "extensions" | 255 "extensions", |
| 256 "inline_editor", |
| 257 "color_picker" |
208 ], | 258 ], |
209 "scripts": [ | 259 "scripts": [ |
210 "InspectElementModeController.js", | 260 "InspectElementModeController.js", |
211 "ColorSwatchPopoverIcon.js", | 261 "ColorSwatchPopoverIcon.js", |
212 "ComputedStyleModel.js", | 262 "ComputedStyleModel.js", |
213 "ElementsBreadcrumbs.js", | 263 "ElementsBreadcrumbs.js", |
214 "ElementsSidebarPane.js", | 264 "ElementsSidebarPane.js", |
215 "ElementsTreeElement.js", | 265 "ElementsTreeElement.js", |
216 "ElementsTreeOutline.js", | 266 "ElementsTreeOutline.js", |
217 "EventListenersWidget.js", | 267 "EventListenersWidget.js", |
(...skipping 10 matching lines...) Expand all Loading... |
228 ], | 278 ], |
229 "resources": [ | 279 "resources": [ |
230 "breadcrumbs.css", | 280 "breadcrumbs.css", |
231 "computedStyleSidebarPane.css", | 281 "computedStyleSidebarPane.css", |
232 "elementsPanel.css", | 282 "elementsPanel.css", |
233 "elementsTreeOutline.css", | 283 "elementsTreeOutline.css", |
234 "platformFontsWidget.css", | 284 "platformFontsWidget.css", |
235 "stylesSectionTree.css" | 285 "stylesSectionTree.css" |
236 ] | 286 ] |
237 } | 287 } |
OLD | NEW |