Lines Matching refs:StateDraft
56 type StateDraft = Draft<State>; alias
85 function clearTraceState(state: StateDraft) {
124 navigate(state: StateDraft, args: {route: string}): void {
128 openTraceFromFile(state: StateDraft, args: {file: File}): void {
139 openTraceFromBuffer(state: StateDraft, args: PostedTrace): void {
150 openTraceFromUrl(state: StateDraft, args: {url: string}): void {
161 openTraceFromHttpRpc(state: StateDraft, _args: {}): void {
172 openVideoFromFile(state: StateDraft, args: {file: File}): void {
179 state: StateDraft, args: {file: Blob, truncate?: 'start'|'end'}): void {
185 _: StateDraft,
190 clearConversionInProgress(state: StateDraft, _args: {}): void {
194 addTracks(state: StateDraft, args: {tracks: AddTrackArgs[]}) {
207 addTrack(state: StateDraft, args: {
229 state: StateDraft,
245 addDebugTrack(state: StateDraft, args: {engineId: string, name: string}):
264 removeDebugTrack(state: StateDraft, _: {}): void {
274 sortThreadTracks(state: StateDraft, _: {}): void {
294 state: StateDraft, args: {id: string, column: string}) {
319 setVisibleTracks(state: StateDraft, args: {tracks: string[]}) {
323 updateTrackConfig(state: StateDraft, args: {id: string, config: {}}) {
329 state: StateDraft,
338 deleteQuery(state: StateDraft, args: {queryId: string}): void {
343 state: StateDraft,
369 toggleTrackPinned(state: StateDraft, args: {trackId: string}): void {
387 toggleTrackGroupCollapsed(state: StateDraft, args: {trackGroupId: string}):
394 requestTrackReload(state: StateDraft, _: {}) {
403 state: StateDraft,
413 setNewEngineMode(state: StateDraft, args: {mode: NewEngineMode}): void {
418 setEngineFailed(state: StateDraft, args: {mode: EngineMode; failure: string}):
425 createPermalink(state: StateDraft, args: {isRecordingConfig: boolean}): void {
433 setPermalink(state: StateDraft, args: {requestId: string; hash: string}):
440 loadPermalink(state: StateDraft, args: {hash: string}): void {
444 clearPermalink(state: StateDraft, _: {}): void {
448 setTraceTime(state: StateDraft, args: TraceTime): void {
452 updateStatus(state: StateDraft, args: Status): void {
457 setState(state: StateDraft, args: {newState: State}): void {
468 setRecordConfig(state: StateDraft, args: {config: RecordConfig;}): void {
472 selectNote(state: StateDraft, args: {id: string}): void {
482 state: StateDraft,
499 state: StateDraft, args: {color: string, persistent: boolean}):
517 toggleMarkCurrentArea(state: StateDraft, args: {persistent: boolean}) {
528 markArea(state: StateDraft, args: {area: Area, persistent: boolean}): void {
548 toggleVideo(state: StateDraft, _: {}): void {
560 toggleFlagPause(state: StateDraft, _: {}): void {
566 toggleScrubbing(state: StateDraft, _: {}): void {
572 setVideoOffset(state: StateDraft, args: {offset: number}): void {
576 changeNoteColor(state: StateDraft, args: {id: string, newColor: string}):
583 changeNoteText(state: StateDraft, args: {id: string, newText: string}): void {
589 removeNote(state: StateDraft, args: {id: string}): void {
610 selectSlice(state: StateDraft, args: {id: number, trackId: string}): void {
619 state: StateDraft,
632 state: StateDraft,
653 state: StateDraft, args: {id: number, utid: number, ts: number}): void {
663 state: StateDraft, args: {expandedCallsite?: CallsiteInfo}): void {
669 state: StateDraft,
676 state: StateDraft, args: {focusRegex: string}): void {
682 state: StateDraft, args: {id: number, trackId: string, table: string}):
692 selectThreadState(state: StateDraft, args: {id: number, trackId: string}):
701 deselect(state: StateDraft, _: {}): void {
705 updateLogsPagination(state: StateDraft, args: LogsPagination): void {
709 startRecording(state: StateDraft, _: {}): void {
715 stopRecording(state: StateDraft, _: {}): void {
719 cancelRecording(state: StateDraft, _: {}): void {
724 setExtensionAvailable(state: StateDraft, args: {available: boolean}): void {
728 updateBufferUsage(state: StateDraft, args: {percentage: number}): void {
732 setRecordingTarget(state: StateDraft, args: {target: RecordingTarget}): void {
736 setUpdateChromeCategories(state: StateDraft, args: {update: boolean}): void {
741 state: StateDraft, args: {devices: AdbRecordingTarget[]}): void {
745 setOmnibox(state: StateDraft, args: OmniboxState): void {
749 selectArea(state: StateDraft, args: {area: Area}): void {
761 editArea(state: StateDraft, args: {area: Area, areaId: string}): void {
771 reSelectArea(state: StateDraft, args: {areaId: string, noteId: string}):
781 state: StateDraft, args: {id: string, isTrackGroup: boolean}) {
808 setVisibleTraceTime(state: StateDraft, args: VisibleState): void {
812 setChromeCategories(state: StateDraft, args: {categories: string[]}): void {
816 setLastRecordingError(state: StateDraft, args: {error?: string}): void {
821 setRecordingStatus(state: StateDraft, args: {status?: string}): void {
826 setAnalyzePageQuery(state: StateDraft, args: {query: string}): void {
830 requestSelectedMetric(state: StateDraft, _: {}): void {
839 resetMetricRequest(state: StateDraft, args: {name: string}): void {
844 setAvailableMetrics(state: StateDraft, args: {metrics: string[]}): void {
849 setMetricSelectedIndex(state: StateDraft, args: {index: number}): void {
876 type ActionFunction<Args> = (state: StateDraft, args: Args) => void;