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.
- package/front_end/core/common/Settings.ts +8 -1
- package/front_end/core/i18n/locales/af.json +53 -32
- package/front_end/core/i18n/locales/am.json +56 -35
- package/front_end/core/i18n/locales/ar.json +53 -32
- package/front_end/core/i18n/locales/as.json +63 -42
- package/front_end/core/i18n/locales/az.json +53 -32
- package/front_end/core/i18n/locales/be.json +52 -31
- package/front_end/core/i18n/locales/bg.json +51 -30
- package/front_end/core/i18n/locales/bn.json +63 -42
- package/front_end/core/i18n/locales/bs.json +57 -36
- package/front_end/core/i18n/locales/ca.json +55 -34
- package/front_end/core/i18n/locales/cs.json +51 -30
- package/front_end/core/i18n/locales/cy.json +63 -42
- package/front_end/core/i18n/locales/da.json +55 -34
- package/front_end/core/i18n/locales/de.json +52 -31
- package/front_end/core/i18n/locales/el.json +58 -37
- package/front_end/core/i18n/locales/en-GB.json +51 -30
- package/front_end/core/i18n/locales/es-419.json +53 -32
- package/front_end/core/i18n/locales/es.json +52 -31
- package/front_end/core/i18n/locales/et.json +54 -33
- package/front_end/core/i18n/locales/eu.json +71 -50
- package/front_end/core/i18n/locales/fa.json +54 -33
- package/front_end/core/i18n/locales/fi.json +55 -34
- package/front_end/core/i18n/locales/fil.json +59 -38
- package/front_end/core/i18n/locales/fr-CA.json +52 -31
- package/front_end/core/i18n/locales/fr.json +54 -33
- package/front_end/core/i18n/locales/gl.json +57 -36
- package/front_end/core/i18n/locales/gu.json +65 -44
- package/front_end/core/i18n/locales/he.json +56 -35
- package/front_end/core/i18n/locales/hi.json +61 -40
- package/front_end/core/i18n/locales/hr.json +55 -34
- package/front_end/core/i18n/locales/hu.json +53 -32
- package/front_end/core/i18n/locales/hy.json +54 -33
- package/front_end/core/i18n/locales/id.json +59 -38
- package/front_end/core/i18n/locales/is.json +51 -30
- package/front_end/core/i18n/locales/it.json +51 -30
- package/front_end/core/i18n/locales/ja.json +52 -31
- package/front_end/core/i18n/locales/ka.json +51 -30
- package/front_end/core/i18n/locales/kk.json +56 -35
- package/front_end/core/i18n/locales/km.json +59 -38
- package/front_end/core/i18n/locales/kn.json +63 -42
- package/front_end/core/i18n/locales/ko.json +59 -38
- package/front_end/core/i18n/locales/ky.json +54 -33
- package/front_end/core/i18n/locales/lo.json +59 -38
- package/front_end/core/i18n/locales/lt.json +52 -31
- package/front_end/core/i18n/locales/lv.json +60 -39
- package/front_end/core/i18n/locales/mk.json +51 -30
- package/front_end/core/i18n/locales/ml.json +65 -44
- package/front_end/core/i18n/locales/mn.json +59 -38
- package/front_end/core/i18n/locales/mr.json +61 -40
- package/front_end/core/i18n/locales/ms.json +59 -38
- package/front_end/core/i18n/locales/my.json +59 -38
- package/front_end/core/i18n/locales/ne.json +63 -42
- package/front_end/core/i18n/locales/nl.json +55 -34
- package/front_end/core/i18n/locales/no.json +54 -33
- package/front_end/core/i18n/locales/or.json +63 -42
- package/front_end/core/i18n/locales/pa.json +61 -40
- package/front_end/core/i18n/locales/pl.json +51 -30
- package/front_end/core/i18n/locales/pt-PT.json +52 -31
- package/front_end/core/i18n/locales/pt.json +59 -38
- package/front_end/core/i18n/locales/ro.json +52 -31
- package/front_end/core/i18n/locales/ru.json +52 -31
- package/front_end/core/i18n/locales/si.json +59 -38
- package/front_end/core/i18n/locales/sk.json +52 -31
- package/front_end/core/i18n/locales/sl.json +52 -31
- package/front_end/core/i18n/locales/sq.json +51 -30
- package/front_end/core/i18n/locales/sr-Latn.json +52 -31
- package/front_end/core/i18n/locales/sr.json +52 -31
- package/front_end/core/i18n/locales/sv.json +52 -31
- package/front_end/core/i18n/locales/sw.json +60 -39
- package/front_end/core/i18n/locales/ta.json +67 -46
- package/front_end/core/i18n/locales/te.json +62 -41
- package/front_end/core/i18n/locales/th.json +52 -31
- package/front_end/core/i18n/locales/tr.json +55 -34
- package/front_end/core/i18n/locales/uk.json +55 -34
- package/front_end/core/i18n/locales/ur.json +60 -39
- package/front_end/core/i18n/locales/uz.json +52 -31
- package/front_end/core/i18n/locales/vi.json +54 -33
- package/front_end/core/i18n/locales/zh-HK.json +52 -31
- package/front_end/core/i18n/locales/zh-TW.json +57 -36
- package/front_end/core/i18n/locales/zh.json +56 -35
- package/front_end/core/i18n/locales/zu.json +59 -38
- package/front_end/core/sdk/FrameManager.ts +2 -2
- package/front_end/entrypoints/inspector_main/InspectorMain.ts +1 -1
- package/front_end/entrypoints/js_app/JsMain.ts +1 -1
- package/front_end/entrypoints/node_main/NodeMain.ts +1 -1
- package/front_end/entrypoints/worker_app/WorkerMain.ts +1 -1
- package/front_end/models/emulation/DeviceModeModel.ts +1 -1
- package/front_end/models/timeline_model/TimelineModel.ts +5 -1
- package/front_end/panels/application/ApplicationPanelSidebar.ts +8 -7
- package/front_end/panels/application/DatabaseQueryView.ts +7 -1
- package/front_end/panels/application/ServiceWorkerCacheViews.ts +1 -1
- package/front_end/panels/changes/ChangesSidebar.ts +6 -1
- package/front_end/panels/console/ConsolePrompt.ts +6 -1
- package/front_end/panels/console/ConsoleSidebar.ts +5 -1
- package/front_end/panels/console/ConsoleViewMessage.ts +2 -2
- package/front_end/panels/coverage/CoverageView.ts +5 -4
- package/front_end/panels/css_overview/CSSOverviewCompletedView.ts +59 -48
- package/front_end/panels/css_overview/CSSOverviewController.ts +48 -8
- package/front_end/panels/css_overview/CSSOverviewPanel.ts +1 -1
- package/front_end/panels/css_overview/CSSOverviewSidebarPanel.ts +8 -1
- package/front_end/panels/elements/ColorSwatchPopoverIcon.ts +14 -12
- package/front_end/panels/elements/ElementsPanel.ts +10 -8
- package/front_end/panels/elements/ElementsTreeOutline.ts +8 -1
- package/front_end/panels/elements/StylesSidebarPane.ts +12 -2
- package/front_end/panels/emulation/AdvancedApp.ts +2 -12
- package/front_end/panels/emulation/InspectedPagePlaceholder.ts +14 -1
- package/front_end/panels/layer_viewer/LayerDetailsView.ts +7 -1
- package/front_end/panels/layer_viewer/LayerTreeOutline.ts +4 -4
- package/front_end/panels/layer_viewer/Layers3DView.ts +7 -1
- package/front_end/panels/layer_viewer/PaintProfilerView.ts +7 -1
- package/front_end/panels/layers/LayersPanel.ts +1 -1
- package/front_end/panels/lighthouse/LighthouseProtocolService.ts +1 -2
- package/front_end/panels/mobile_throttling/throttlingSettingsTab.css +4 -0
- package/front_end/panels/network/NetworkDataGridNode.ts +46 -104
- package/front_end/panels/network/NetworkItemView.ts +2 -6
- package/front_end/panels/network/NetworkLogView.ts +4 -4
- package/front_end/panels/network/NetworkPanel.ts +12 -18
- package/front_end/panels/profiler/CPUProfileFlameChart.ts +26 -11
- package/front_end/panels/profiler/HeapProfileView.ts +5 -6
- package/front_end/panels/profiler/HeapSnapshotView.ts +6 -6
- package/front_end/panels/profiler/HeapTimelineOverview.ts +17 -3
- package/front_end/panels/profiler/ProfileLauncherView.ts +6 -1
- package/front_end/panels/profiler/ProfileView.ts +1 -1
- package/front_end/panels/profiler/ProfilesPanel.ts +2 -2
- package/front_end/panels/settings/SettingsScreen.ts +2 -2
- package/front_end/panels/sources/CSSPlugin.ts +6 -6
- package/front_end/panels/sources/DebuggerPlugin.ts +4 -5
- package/front_end/panels/sources/EditingLocationHistoryManager.ts +7 -5
- package/front_end/panels/sources/InplaceFormatterEditorAction.ts +5 -5
- package/front_end/panels/sources/OutlineQuickOpen.ts +7 -2
- package/front_end/panels/sources/ScriptFormatterEditorAction.ts +5 -6
- package/front_end/panels/sources/SourcesPanel.ts +2 -2
- package/front_end/panels/sources/SourcesView.ts +16 -3
- package/front_end/panels/sources/TabbedEditorContainer.ts +8 -13
- package/front_end/panels/sources/UISourceCodeFrame.ts +7 -1
- package/front_end/panels/sources/watchExpressionsSidebarPane.css +2 -7
- package/front_end/panels/timeline/TimelineDetailsView.ts +1 -1
- package/front_end/panels/timeline/TimelineFlameChartView.ts +4 -4
- package/front_end/panels/timeline/TimelineLayersView.ts +7 -7
- package/front_end/panels/timeline/TimelinePanel.ts +2 -1
- package/front_end/panels/timeline/TimelineTreeView.ts +6 -1
- package/front_end/ui/components/docs/toggle_fonts.ts +28 -1
- package/front_end/ui/components/linear_memory_inspector/LinearMemoryInspectorController.ts +4 -5
- package/front_end/ui/components/linear_memory_inspector/LinearMemoryInspectorPane.ts +14 -5
- package/front_end/ui/legacy/Dialog.ts +12 -2
- package/front_end/ui/legacy/FilterBar.ts +12 -8
- package/front_end/ui/legacy/InspectorView.ts +3 -3
- package/front_end/ui/legacy/SplitWidget.ts +6 -1
- package/front_end/ui/legacy/TabbedPane.ts +9 -1
- package/front_end/ui/legacy/TextEditor.ts +12 -1
- package/front_end/ui/legacy/Treeoutline.ts +19 -11
- package/front_end/ui/legacy/ViewManager.ts +8 -7
- package/front_end/ui/legacy/components/color_picker/Spectrum.ts +6 -1
- package/front_end/ui/legacy/components/inline_editor/BezierEditor.ts +6 -1
- package/front_end/ui/legacy/components/inline_editor/CSSShadowEditor.ts +7 -1
- package/front_end/ui/legacy/components/inline_editor/FontEditor.ts +12 -1
- package/front_end/ui/legacy/components/object_ui/ObjectPropertiesSection.ts +6 -6
- package/front_end/ui/legacy/components/perf_ui/FilmStripView.ts +8 -1
- package/front_end/ui/legacy/components/perf_ui/FlameChart.ts +9 -1
- package/front_end/ui/legacy/components/perf_ui/OverviewGrid.ts +13 -3
- package/front_end/ui/legacy/components/perf_ui/TimelineOverviewPane.ts +14 -3
- package/front_end/ui/legacy/components/quick_open/CommandMenu.ts +11 -4
- package/front_end/ui/legacy/components/quick_open/FilteredListWidget.ts +13 -3
- package/front_end/ui/legacy/components/quick_open/QuickInput.ts +4 -5
- package/front_end/ui/legacy/components/quick_open/QuickPick.ts +4 -5
- package/front_end/ui/legacy/components/quick_open/filteredListWidget.css +29 -19
- package/front_end/ui/legacy/components/source_frame/SourcesTextEditor.ts +18 -2
- package/front_end/ui/legacy/components/text_editor/CodeMirrorTextEditor.ts +3 -1
- package/front_end/ui/legacy/splitWidget.css +2 -2
- package/package.json +1 -1
- 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
|
-
|
|
79
|
-
|
|
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:
|
|
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
|
|
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
|
|
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
|
|
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:
|
|
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:
|
|
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
|
@@ -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}
|