chrome-devtools-frontend 1.0.921565 → 1.0.922044
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/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/models/timeline_model/TimelineModel.ts +5 -1
- package/front_end/panels/application/ApplicationPanelSidebar.ts +2 -2
- package/front_end/panels/application/DatabaseQueryView.ts +7 -1
- package/front_end/panels/changes/ChangesSidebar.ts +6 -1
- package/front_end/panels/console/ConsolePrompt.ts +6 -1
- package/front_end/panels/css_overview/CSSOverviewCompletedView.ts +2 -2
- package/front_end/panels/css_overview/CSSOverviewSidebarPanel.ts +8 -1
- package/front_end/panels/elements/ElementsPanel.ts +2 -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/Layers3DView.ts +7 -1
- package/front_end/panels/layer_viewer/PaintProfilerView.ts +7 -1
- package/front_end/panels/network/NetworkPanel.ts +7 -6
- package/front_end/panels/profiler/CPUProfileFlameChart.ts +3 -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/sources/InplaceFormatterEditorAction.ts +5 -5
- 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/UISourceCodeFrame.ts +7 -1
- package/front_end/panels/sources/watchExpressionsSidebarPane.css +2 -7
- 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/ui/legacy/SplitWidget.ts +6 -1
- 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/TimelineOverviewPane.ts +11 -1
- package/package.json +1 -1
|
@@ -38,7 +38,7 @@ import {ToolbarButton} from './Toolbar.js';
|
|
|
38
38
|
import {Widget} from './Widget.js';
|
|
39
39
|
import {Events as ZoomManagerEvents, ZoomManager} from './ZoomManager.js';
|
|
40
40
|
|
|
41
|
-
export class SplitWidget extends Widget {
|
|
41
|
+
export class SplitWidget extends Common.ObjectWrapper.eventMixin<EventTypes, typeof Widget>(Widget) {
|
|
42
42
|
private sidebarElementInternal: HTMLElement;
|
|
43
43
|
private mainElement: HTMLElement;
|
|
44
44
|
private resizerElementInternal: HTMLElement;
|
|
@@ -869,6 +869,11 @@ export enum Events {
|
|
|
869
869
|
ShowModeChanged = 'ShowModeChanged',
|
|
870
870
|
}
|
|
871
871
|
|
|
872
|
+
export type EventTypes = {
|
|
873
|
+
[Events.SidebarSizeChanged]: number,
|
|
874
|
+
[Events.ShowModeChanged]: string,
|
|
875
|
+
};
|
|
876
|
+
|
|
872
877
|
const MinPadding = 20;
|
|
873
878
|
export interface SettingForOrientation {
|
|
874
879
|
showMode: string;
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// Use of this source code is governed by a BSD-style license that can be
|
|
3
3
|
// found in the LICENSE file.
|
|
4
4
|
|
|
5
|
+
import * as Common from '../../../../core/common/common.js';
|
|
5
6
|
import * as Host from '../../../../core/host/host.js';
|
|
6
7
|
import * as i18n from '../../../../core/i18n/i18n.js';
|
|
7
8
|
import * as Platform from '../../../../core/platform/platform.js';
|
|
@@ -33,7 +34,7 @@ const UIStrings = {
|
|
|
33
34
|
};
|
|
34
35
|
const str_ = i18n.i18n.registerUIStrings('ui/legacy/components/perf_ui/FilmStripView.ts', UIStrings);
|
|
35
36
|
const i18nString = i18n.i18n.getLocalizedString.bind(undefined, str_);
|
|
36
|
-
export class FilmStripView extends UI.Widget.HBox {
|
|
37
|
+
export class FilmStripView extends Common.ObjectWrapper.eventMixin<EventTypes, typeof UI.Widget.HBox>(UI.Widget.HBox) {
|
|
37
38
|
private statusLabel: HTMLElement;
|
|
38
39
|
private zeroTime!: number;
|
|
39
40
|
private spanTime!: number;
|
|
@@ -195,6 +196,12 @@ export enum Events {
|
|
|
195
196
|
FrameExit = 'FrameExit',
|
|
196
197
|
}
|
|
197
198
|
|
|
199
|
+
export type EventTypes = {
|
|
200
|
+
[Events.FrameSelected]: number,
|
|
201
|
+
[Events.FrameEnter]: number,
|
|
202
|
+
[Events.FrameExit]: number,
|
|
203
|
+
};
|
|
204
|
+
|
|
198
205
|
export const Modes = {
|
|
199
206
|
TimeBased: 'TimeBased',
|
|
200
207
|
FrameBased: 'FrameBased',
|
|
@@ -85,7 +85,8 @@ interface GroupExpansionState {
|
|
|
85
85
|
[key: string]: boolean;
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
export class FlameChart extends UI.Widget.VBox
|
|
88
|
+
export class FlameChart extends Common.ObjectWrapper.eventMixin<EventTypes, typeof UI.Widget.VBox>(UI.Widget.VBox)
|
|
89
|
+
implements Calculator, ChartViewportDelegate {
|
|
89
90
|
private readonly groupExpansionSetting?: Common.Settings.Setting<GroupExpansionState>;
|
|
90
91
|
private groupExpansionState: GroupExpansionState;
|
|
91
92
|
private readonly flameChartDelegate: FlameChartDelegate;
|
|
@@ -2321,6 +2322,13 @@ export enum Events {
|
|
|
2321
2322
|
EntryHighlighted = 'EntryHighlighted',
|
|
2322
2323
|
}
|
|
2323
2324
|
|
|
2325
|
+
export type EventTypes = {
|
|
2326
|
+
[Events.CanvasFocused]: number|void,
|
|
2327
|
+
[Events.EntryInvoked]: number,
|
|
2328
|
+
[Events.EntrySelected]: number,
|
|
2329
|
+
[Events.EntryHighlighted]: number,
|
|
2330
|
+
};
|
|
2331
|
+
|
|
2324
2332
|
export const Colors = {
|
|
2325
2333
|
SelectedGroupBackground: 'hsl(215, 85%, 98%)',
|
|
2326
2334
|
SelectedGroupBorder: 'hsl(216, 68%, 54%)',
|
|
@@ -36,7 +36,8 @@ import * as i18n from '../../../../core/i18n/i18n.js';
|
|
|
36
36
|
import {Events as OverviewGridEvents, OverviewGrid} from './OverviewGrid.js';
|
|
37
37
|
import type {Calculator} from './TimelineGrid.js';
|
|
38
38
|
|
|
39
|
-
export class TimelineOverviewPane extends UI.Widget.VBox
|
|
39
|
+
export class TimelineOverviewPane extends Common.ObjectWrapper.eventMixin<EventTypes, typeof UI.Widget.VBox>(
|
|
40
|
+
UI.Widget.VBox) {
|
|
40
41
|
private readonly overviewCalculator: TimelineOverviewCalculator;
|
|
41
42
|
private readonly overviewGrid: OverviewGrid;
|
|
42
43
|
private readonly cursorArea: HTMLElement;
|
|
@@ -255,6 +256,15 @@ export enum Events {
|
|
|
255
256
|
WindowChanged = 'WindowChanged',
|
|
256
257
|
}
|
|
257
258
|
|
|
259
|
+
export interface WindowChangedEvent {
|
|
260
|
+
startTime: number;
|
|
261
|
+
endTime: number;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
export type EventTypes = {
|
|
265
|
+
[Events.WindowChanged]: WindowChangedEvent,
|
|
266
|
+
};
|
|
267
|
+
|
|
258
268
|
export class TimelineOverviewCalculator implements Calculator {
|
|
259
269
|
private minimumBoundaryInternal!: number;
|
|
260
270
|
private maximumBoundaryInternal!: number;
|
package/package.json
CHANGED