chrome-devtools-frontend 1.0.921565 → 1.0.922782

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (172) hide show
  1. package/front_end/core/common/Settings.ts +8 -1
  2. package/front_end/core/i18n/locales/af.json +53 -32
  3. package/front_end/core/i18n/locales/am.json +56 -35
  4. package/front_end/core/i18n/locales/ar.json +53 -32
  5. package/front_end/core/i18n/locales/as.json +63 -42
  6. package/front_end/core/i18n/locales/az.json +53 -32
  7. package/front_end/core/i18n/locales/be.json +52 -31
  8. package/front_end/core/i18n/locales/bg.json +51 -30
  9. package/front_end/core/i18n/locales/bn.json +63 -42
  10. package/front_end/core/i18n/locales/bs.json +57 -36
  11. package/front_end/core/i18n/locales/ca.json +55 -34
  12. package/front_end/core/i18n/locales/cs.json +51 -30
  13. package/front_end/core/i18n/locales/cy.json +63 -42
  14. package/front_end/core/i18n/locales/da.json +55 -34
  15. package/front_end/core/i18n/locales/de.json +52 -31
  16. package/front_end/core/i18n/locales/el.json +58 -37
  17. package/front_end/core/i18n/locales/en-GB.json +51 -30
  18. package/front_end/core/i18n/locales/es-419.json +53 -32
  19. package/front_end/core/i18n/locales/es.json +52 -31
  20. package/front_end/core/i18n/locales/et.json +54 -33
  21. package/front_end/core/i18n/locales/eu.json +71 -50
  22. package/front_end/core/i18n/locales/fa.json +54 -33
  23. package/front_end/core/i18n/locales/fi.json +55 -34
  24. package/front_end/core/i18n/locales/fil.json +59 -38
  25. package/front_end/core/i18n/locales/fr-CA.json +52 -31
  26. package/front_end/core/i18n/locales/fr.json +54 -33
  27. package/front_end/core/i18n/locales/gl.json +57 -36
  28. package/front_end/core/i18n/locales/gu.json +65 -44
  29. package/front_end/core/i18n/locales/he.json +56 -35
  30. package/front_end/core/i18n/locales/hi.json +61 -40
  31. package/front_end/core/i18n/locales/hr.json +55 -34
  32. package/front_end/core/i18n/locales/hu.json +53 -32
  33. package/front_end/core/i18n/locales/hy.json +54 -33
  34. package/front_end/core/i18n/locales/id.json +59 -38
  35. package/front_end/core/i18n/locales/is.json +51 -30
  36. package/front_end/core/i18n/locales/it.json +51 -30
  37. package/front_end/core/i18n/locales/ja.json +52 -31
  38. package/front_end/core/i18n/locales/ka.json +51 -30
  39. package/front_end/core/i18n/locales/kk.json +56 -35
  40. package/front_end/core/i18n/locales/km.json +59 -38
  41. package/front_end/core/i18n/locales/kn.json +63 -42
  42. package/front_end/core/i18n/locales/ko.json +59 -38
  43. package/front_end/core/i18n/locales/ky.json +54 -33
  44. package/front_end/core/i18n/locales/lo.json +59 -38
  45. package/front_end/core/i18n/locales/lt.json +52 -31
  46. package/front_end/core/i18n/locales/lv.json +60 -39
  47. package/front_end/core/i18n/locales/mk.json +51 -30
  48. package/front_end/core/i18n/locales/ml.json +65 -44
  49. package/front_end/core/i18n/locales/mn.json +59 -38
  50. package/front_end/core/i18n/locales/mr.json +61 -40
  51. package/front_end/core/i18n/locales/ms.json +59 -38
  52. package/front_end/core/i18n/locales/my.json +59 -38
  53. package/front_end/core/i18n/locales/ne.json +63 -42
  54. package/front_end/core/i18n/locales/nl.json +55 -34
  55. package/front_end/core/i18n/locales/no.json +54 -33
  56. package/front_end/core/i18n/locales/or.json +63 -42
  57. package/front_end/core/i18n/locales/pa.json +61 -40
  58. package/front_end/core/i18n/locales/pl.json +51 -30
  59. package/front_end/core/i18n/locales/pt-PT.json +52 -31
  60. package/front_end/core/i18n/locales/pt.json +59 -38
  61. package/front_end/core/i18n/locales/ro.json +52 -31
  62. package/front_end/core/i18n/locales/ru.json +52 -31
  63. package/front_end/core/i18n/locales/si.json +59 -38
  64. package/front_end/core/i18n/locales/sk.json +52 -31
  65. package/front_end/core/i18n/locales/sl.json +52 -31
  66. package/front_end/core/i18n/locales/sq.json +51 -30
  67. package/front_end/core/i18n/locales/sr-Latn.json +52 -31
  68. package/front_end/core/i18n/locales/sr.json +52 -31
  69. package/front_end/core/i18n/locales/sv.json +52 -31
  70. package/front_end/core/i18n/locales/sw.json +60 -39
  71. package/front_end/core/i18n/locales/ta.json +67 -46
  72. package/front_end/core/i18n/locales/te.json +62 -41
  73. package/front_end/core/i18n/locales/th.json +52 -31
  74. package/front_end/core/i18n/locales/tr.json +55 -34
  75. package/front_end/core/i18n/locales/uk.json +55 -34
  76. package/front_end/core/i18n/locales/ur.json +60 -39
  77. package/front_end/core/i18n/locales/uz.json +52 -31
  78. package/front_end/core/i18n/locales/vi.json +54 -33
  79. package/front_end/core/i18n/locales/zh-HK.json +52 -31
  80. package/front_end/core/i18n/locales/zh-TW.json +57 -36
  81. package/front_end/core/i18n/locales/zh.json +56 -35
  82. package/front_end/core/i18n/locales/zu.json +59 -38
  83. package/front_end/core/sdk/FrameManager.ts +2 -2
  84. package/front_end/entrypoints/inspector_main/InspectorMain.ts +1 -1
  85. package/front_end/entrypoints/js_app/JsMain.ts +1 -1
  86. package/front_end/entrypoints/node_main/NodeMain.ts +1 -1
  87. package/front_end/entrypoints/worker_app/WorkerMain.ts +1 -1
  88. package/front_end/models/emulation/DeviceModeModel.ts +1 -1
  89. package/front_end/models/timeline_model/TimelineModel.ts +5 -1
  90. package/front_end/panels/application/ApplicationPanelSidebar.ts +8 -7
  91. package/front_end/panels/application/DatabaseQueryView.ts +7 -1
  92. package/front_end/panels/application/ServiceWorkerCacheViews.ts +1 -1
  93. package/front_end/panels/changes/ChangesSidebar.ts +6 -1
  94. package/front_end/panels/console/ConsolePrompt.ts +6 -1
  95. package/front_end/panels/console/ConsoleSidebar.ts +5 -1
  96. package/front_end/panels/console/ConsoleViewMessage.ts +2 -2
  97. package/front_end/panels/coverage/CoverageView.ts +5 -4
  98. package/front_end/panels/css_overview/CSSOverviewCompletedView.ts +59 -48
  99. package/front_end/panels/css_overview/CSSOverviewController.ts +48 -8
  100. package/front_end/panels/css_overview/CSSOverviewPanel.ts +1 -1
  101. package/front_end/panels/css_overview/CSSOverviewSidebarPanel.ts +8 -1
  102. package/front_end/panels/elements/ColorSwatchPopoverIcon.ts +14 -12
  103. package/front_end/panels/elements/ElementsPanel.ts +10 -8
  104. package/front_end/panels/elements/ElementsTreeOutline.ts +8 -1
  105. package/front_end/panels/elements/StylesSidebarPane.ts +12 -2
  106. package/front_end/panels/emulation/AdvancedApp.ts +2 -12
  107. package/front_end/panels/emulation/InspectedPagePlaceholder.ts +14 -1
  108. package/front_end/panels/layer_viewer/LayerDetailsView.ts +7 -1
  109. package/front_end/panels/layer_viewer/LayerTreeOutline.ts +4 -4
  110. package/front_end/panels/layer_viewer/Layers3DView.ts +7 -1
  111. package/front_end/panels/layer_viewer/PaintProfilerView.ts +7 -1
  112. package/front_end/panels/layers/LayersPanel.ts +1 -1
  113. package/front_end/panels/lighthouse/LighthouseProtocolService.ts +1 -2
  114. package/front_end/panels/mobile_throttling/throttlingSettingsTab.css +4 -0
  115. package/front_end/panels/network/NetworkDataGridNode.ts +46 -104
  116. package/front_end/panels/network/NetworkItemView.ts +2 -6
  117. package/front_end/panels/network/NetworkLogView.ts +4 -4
  118. package/front_end/panels/network/NetworkPanel.ts +12 -18
  119. package/front_end/panels/profiler/CPUProfileFlameChart.ts +26 -11
  120. package/front_end/panels/profiler/HeapProfileView.ts +5 -6
  121. package/front_end/panels/profiler/HeapSnapshotView.ts +6 -6
  122. package/front_end/panels/profiler/HeapTimelineOverview.ts +17 -3
  123. package/front_end/panels/profiler/ProfileLauncherView.ts +6 -1
  124. package/front_end/panels/profiler/ProfileView.ts +1 -1
  125. package/front_end/panels/profiler/ProfilesPanel.ts +2 -2
  126. package/front_end/panels/settings/SettingsScreen.ts +2 -2
  127. package/front_end/panels/sources/CSSPlugin.ts +6 -6
  128. package/front_end/panels/sources/DebuggerPlugin.ts +4 -5
  129. package/front_end/panels/sources/EditingLocationHistoryManager.ts +7 -5
  130. package/front_end/panels/sources/InplaceFormatterEditorAction.ts +5 -5
  131. package/front_end/panels/sources/OutlineQuickOpen.ts +7 -2
  132. package/front_end/panels/sources/ScriptFormatterEditorAction.ts +5 -6
  133. package/front_end/panels/sources/SourcesPanel.ts +2 -2
  134. package/front_end/panels/sources/SourcesView.ts +16 -3
  135. package/front_end/panels/sources/TabbedEditorContainer.ts +8 -13
  136. package/front_end/panels/sources/UISourceCodeFrame.ts +7 -1
  137. package/front_end/panels/sources/watchExpressionsSidebarPane.css +2 -7
  138. package/front_end/panels/timeline/TimelineDetailsView.ts +1 -1
  139. package/front_end/panels/timeline/TimelineFlameChartView.ts +4 -4
  140. package/front_end/panels/timeline/TimelineLayersView.ts +7 -7
  141. package/front_end/panels/timeline/TimelinePanel.ts +2 -1
  142. package/front_end/panels/timeline/TimelineTreeView.ts +6 -1
  143. package/front_end/ui/components/docs/toggle_fonts.ts +28 -1
  144. package/front_end/ui/components/linear_memory_inspector/LinearMemoryInspectorController.ts +4 -5
  145. package/front_end/ui/components/linear_memory_inspector/LinearMemoryInspectorPane.ts +14 -5
  146. package/front_end/ui/legacy/Dialog.ts +12 -2
  147. package/front_end/ui/legacy/FilterBar.ts +12 -8
  148. package/front_end/ui/legacy/InspectorView.ts +3 -3
  149. package/front_end/ui/legacy/SplitWidget.ts +6 -1
  150. package/front_end/ui/legacy/TabbedPane.ts +9 -1
  151. package/front_end/ui/legacy/TextEditor.ts +12 -1
  152. package/front_end/ui/legacy/Treeoutline.ts +19 -11
  153. package/front_end/ui/legacy/ViewManager.ts +8 -7
  154. package/front_end/ui/legacy/components/color_picker/Spectrum.ts +6 -1
  155. package/front_end/ui/legacy/components/inline_editor/BezierEditor.ts +6 -1
  156. package/front_end/ui/legacy/components/inline_editor/CSSShadowEditor.ts +7 -1
  157. package/front_end/ui/legacy/components/inline_editor/FontEditor.ts +12 -1
  158. package/front_end/ui/legacy/components/object_ui/ObjectPropertiesSection.ts +6 -6
  159. package/front_end/ui/legacy/components/perf_ui/FilmStripView.ts +8 -1
  160. package/front_end/ui/legacy/components/perf_ui/FlameChart.ts +9 -1
  161. package/front_end/ui/legacy/components/perf_ui/OverviewGrid.ts +13 -3
  162. package/front_end/ui/legacy/components/perf_ui/TimelineOverviewPane.ts +14 -3
  163. package/front_end/ui/legacy/components/quick_open/CommandMenu.ts +11 -4
  164. package/front_end/ui/legacy/components/quick_open/FilteredListWidget.ts +13 -3
  165. package/front_end/ui/legacy/components/quick_open/QuickInput.ts +4 -5
  166. package/front_end/ui/legacy/components/quick_open/QuickPick.ts +4 -5
  167. package/front_end/ui/legacy/components/quick_open/filteredListWidget.css +29 -19
  168. package/front_end/ui/legacy/components/source_frame/SourcesTextEditor.ts +18 -2
  169. package/front_end/ui/legacy/components/text_editor/CodeMirrorTextEditor.ts +3 -1
  170. package/front_end/ui/legacy/splitWidget.css +2 -2
  171. package/package.json +1 -1
  172. package/scripts/build/generate_css_js_files.js +1 -0
@@ -75,10 +75,12 @@
75
75
  }
76
76
 
77
77
  .filtered-list-widget-item-wrapper {
78
- display: inline-flex;
79
- width: 502px;
78
+ color: var(--color-text-primary);
79
+ display: flex;
80
80
  border-bottom: 1px solid var(--color-details-hairline-light);
81
+ font-family: '.SFNSDisplay-Regular', 'Helvetica Neue', 'Lucida Grande', sans-serif;
81
82
  padding-left: 8px;
83
+ padding-right: 8px;
82
84
  }
83
85
 
84
86
  .filtered-list-widget-item-wrapper devtools-icon {
@@ -95,16 +97,18 @@
95
97
  text-overflow: ellipsis;
96
98
  overflow: hidden;
97
99
  align-self: center;
98
- color: var(--color-text-primary);
99
100
  max-width: 446px;
100
101
  font-size: 12px;
101
- font-family: '.SFNSDisplay-Regular', 'Helvetica Neue', 'Lucida Grande', sans-serif;
102
102
  }
103
103
 
104
- .filtered-list-widget-item span.highlight {
104
+ .filtered-list-widget-item.two-rows span.highlight {
105
105
  color: var(--color-primary);
106
106
  }
107
107
 
108
+ .filtered-list-widget-item.one-row span.highlight {
109
+ font-weight: bold;
110
+ }
111
+
108
112
  .filtered-list-widget-item .filtered-list-widget-title {
109
113
  flex: auto;
110
114
  overflow: hidden;
@@ -126,13 +130,22 @@
126
130
  text-overflow: ellipsis;
127
131
  }
128
132
 
133
+ .filtered-list-widget-item-wrapper .tag {
134
+ padding: 0 12px;
135
+ border-radius: 4px;
136
+ line-height: 24px;
137
+ height: 24px;
138
+ align-self: center;
139
+ }
140
+
129
141
  .filtered-list-widget-item-wrapper.selected .filtered-list-widget-item span.highlight {
130
142
  color: var(--color-background);
131
143
  background-color: var(--override-filtered-list-widget-highlight-text-background-color);
132
144
  }
133
145
 
134
146
  .filtered-list-widget-item-wrapper.selected .filtered-list-widget-title,
135
- .filtered-list-widget-item-wrapper.selected .filtered-list-widget-subtitle {
147
+ .filtered-list-widget-item-wrapper.selected .filtered-list-widget-subtitle,
148
+ .filtered-list-widget-item-wrapper.selected .tag {
136
149
  color: var(--color-background);
137
150
  }
138
151
 
@@ -174,6 +187,15 @@
174
187
  padding-top: 8px;
175
188
  padding-bottom: 8px;
176
189
  display: flex;
190
+ flex: auto;
191
+ }
192
+
193
+ .filtered-list-widget-item.one-row .filtered-list-widget-title {
194
+ flex: none;
195
+ }
196
+
197
+ .filtered-list-widget-item.one-row .filtered-list-widget-subtitle::before {
198
+ content: ' ';
177
199
  }
178
200
 
179
201
  .filtered-list-widget-item.two-rows {
@@ -186,22 +208,10 @@
186
208
  font-weight: bold;
187
209
  }
188
210
 
189
- .tag {
190
- color: var(--color-background);
191
- padding: 1px 3px;
192
- margin-right: 5px;
193
- border-radius: 2px;
194
- line-height: 18px;
195
- }
196
-
197
- .filtered-list-widget-item .tag .highlight {
198
- color: var(--color-background);
199
- }
200
-
201
211
  .not-found-text {
202
212
  height: 34px;
203
213
  line-height: 34px;
204
- padding-left: 4px;
214
+ padding-left: 8px;
205
215
  font-style: italic;
206
216
  color: var(--color-text-disabled);
207
217
  background: var(--color-background-elevation-0);
@@ -9,7 +9,9 @@ import * as TextEditor from '../text_editor/text_editor.js';
9
9
 
10
10
  const whitespaceStyleInjectedSet = new WeakSet<Document>();
11
11
 
12
- export class SourcesTextEditor extends TextEditor.CodeMirrorTextEditor.CodeMirrorTextEditor {
12
+ export class SourcesTextEditor extends
13
+ Common.ObjectWrapper.eventMixin<EventTypes, typeof TextEditor.CodeMirrorTextEditor.CodeMirrorTextEditor>(
14
+ TextEditor.CodeMirrorTextEditor.CodeMirrorTextEditor) {
13
15
  private readonly delegate: SourcesTextEditorDelegate;
14
16
  private readonly gutterMouseMove: (event: Event) => void;
15
17
  private readonly gutterMouseOut: () => void;
@@ -486,7 +488,7 @@ export class SourcesTextEditor extends TextEditor.CodeMirrorTextEditor.CodeMirro
486
488
  if (from && to && from.equal(to)) {
487
489
  return;
488
490
  }
489
- this.dispatchEventToListeners(Events.JumpHappened, {from: from, to: to});
491
+ this.dispatchEventToListeners(Events.JumpHappened, {from, to});
490
492
  }
491
493
 
492
494
  private scroll(): void {
@@ -696,6 +698,20 @@ export enum Events {
696
698
  JumpHappened = 'JumpHappened',
697
699
  }
698
700
 
701
+ export interface JumpHappenedEvent {
702
+ from: TextUtils.TextRange.TextRange|null;
703
+ to: TextUtils.TextRange.TextRange|null;
704
+ }
705
+
706
+ export type EventTypes = {
707
+ [Events.GutterClick]: GutterClickEventData,
708
+ [Events.SelectionChanged]: TextUtils.TextRange.TextRange,
709
+ [Events.ScrollChanged]: number,
710
+ [Events.EditorFocused]: void,
711
+ [Events.EditorBlurred]: void,
712
+ [Events.JumpHappened]: JumpHappenedEvent,
713
+ };
714
+
699
715
  export class SourcesTextEditorDelegate {
700
716
  populateLineGutterContextMenu(_contextMenu: UI.ContextMenu.ContextMenu, _lineNumber: number): Promise<void> {
701
717
  throw new Error('Not implemented');
@@ -64,7 +64,9 @@ export interface Coordinates {
64
64
  // https://crbug.com/1151919 * = CodeMirror.Editor
65
65
  const editorToDevtoolsWrapper = new WeakMap<any, CodeMirrorTextEditor>();
66
66
 
67
- export class CodeMirrorTextEditor extends UI.Widget.VBox implements UI.TextEditor.TextEditor {
67
+ export class CodeMirrorTextEditor extends
68
+ Common.ObjectWrapper.eventMixin<UI.TextEditor.EventTypes, typeof UI.Widget.VBox>(UI.Widget.VBox)
69
+ implements UI.TextEditor.TextEditor {
68
70
  private options: UI.TextEditor.Options;
69
71
  // https://crbug.com/1151919 * = CodeMirror.Editor
70
72
  private codeMirrorInternal: any;
@@ -52,7 +52,7 @@
52
52
  top: 0;
53
53
  bottom: 0;
54
54
  width: 6px;
55
- z-index: 500;
55
+ z-index: 4000;
56
56
  }
57
57
 
58
58
  .shadow-split-widget.vbox > .shadow-split-widget-resizer {
@@ -60,7 +60,7 @@
60
60
  left: 0;
61
61
  right: 0;
62
62
  height: 6px;
63
- z-index: 500;
63
+ z-index: 4000;
64
64
  }
65
65
 
66
66
  .shadow-split-widget.vbox > .shadow-split-widget-sidebar.no-default-splitter {
package/package.json CHANGED
@@ -55,5 +55,5 @@
55
55
  "unittest": "scripts/test/run_unittests.py --no-text-coverage",
56
56
  "watch": "third_party/node/node.py --output scripts/watch_build.js"
57
57
  },
58
- "version": "1.0.921565"
58
+ "version": "1.0.922782"
59
59
  }
@@ -21,6 +21,7 @@ for (const fileName of filenames) {
21
21
  `// Copyright ${new Date().getFullYear()} The Chromium Authors. All rights reserved.
22
22
  // Use of this source code is governed by a BSD-style license that can be
23
23
  // found in the LICENSE file.
24
+ // IMPORTANT: this file is auto generated. Please do not edit this file.
24
25
  const styles = new CSSStyleSheet();
25
26
  styles.replaceSync(
26
27
  \`${isDebug ? output : cleanCSS.minify(output).styles}