@@ -149,6 +149,21 @@ export function changeLowerWingSelectedCallNode(
149149 } ;
150150}
151151
152+ export function changeUpperWingSelectedCallNode (
153+ threadsKey : ThreadsKey ,
154+ selectedCallNodePath : CallNodePath ,
155+ context : SelectionContext = { source : 'auto' }
156+ ) : Action {
157+ return {
158+ type : 'CHANGE_SELECTED_CALL_NODE' ,
159+ area : 'UPPER_WING' ,
160+ selectedCallNodePath,
161+ optionalExpandedToCallNodePath : [ ] ,
162+ threadsKey,
163+ context,
164+ } ;
165+ }
166+
152167/**
153168 * Select a function for a given thread in the function list.
154169 */
@@ -208,6 +223,18 @@ export function changeLowerWingRightClickedCallNode(
208223 } ;
209224}
210225
226+ export function changeUpperWingRightClickedCallNode (
227+ threadsKey : ThreadsKey ,
228+ callNodePath : CallNodePath | null
229+ ) {
230+ return {
231+ type : 'CHANGE_RIGHT_CLICKED_CALL_NODE' ,
232+ threadsKey,
233+ area : 'UPPER_WING' ,
234+ callNodePath,
235+ } ;
236+ }
237+
211238/**
212239 * Given a threadIndex and a sampleIndex, select the call node which carries the
213240 * sample's self time. In the inverted tree, this will be a root node.
@@ -1710,6 +1737,18 @@ export function changeLowerWingExpandedCallNodes(
17101737 } ;
17111738}
17121739
1740+ export function changeUpperWingExpandedCallNodes (
1741+ threadsKey : ThreadsKey ,
1742+ expandedCallNodePaths : Array < CallNodePath >
1743+ ) : Action {
1744+ return {
1745+ type : 'CHANGE_EXPANDED_CALL_NODES' ,
1746+ area : 'UPPER_WING' ,
1747+ threadsKey,
1748+ expandedCallNodePaths,
1749+ } ;
1750+ }
1751+
17131752export function changeSelectedMarker (
17141753 threadsKey : ThreadsKey ,
17151754 selectedMarker : MarkerIndex | null ,
0 commit comments