@@ -15,25 +15,41 @@ message TreeNode {
1515 optional .TSP.Reference object = 3 ;
1616}
1717
18- message CommandHistory {
19- message SelectionBehaviorEntry {
20- required .TSP.Reference command = 1 ;
21- required .TSP.Reference command_selection_behavior = 2 ;
22- }
18+ message LocalCommandHistoryItem {
19+ optional .TSP.Reference command = 1 ;
20+ optional .TSP.Reference selection_behavior = 2 ;
21+ }
22+
23+ message LocalCommandHistoryArray {
24+ required .TSP.LargeArray large_array = 1 ;
25+ }
26+
27+ message LocalCommandHistoryArraySegment {
28+ required .TSP.LargeObjectArraySegment large_object_array_segment = 1 ;
29+ }
30+
31+ message LocalCommandHistory {
2332 required uint32 undo_count = 1 ;
24- repeated .TSP.Reference commands = 2 ;
25- repeated .TSP.Reference marked_redo_commands = 3 [deprecated = true ];
26- optional .TSP.Reference pending_preflight_command = 4 [deprecated = true ];
27- repeated .TSK.CommandHistory.SelectionBehaviorEntry selection_behavior_entries = 5 ;
33+ optional .TSP.Reference items_array = 2 ;
2834 optional bool fixed_radar_13365177 = 10 ;
2935}
3036
37+ message CollaborationCommandHistoryArray {
38+ required .TSP.LargeArray large_array = 1 ;
39+ }
40+
41+ message CollaborationCommandHistoryArraySegment {
42+ required .TSP.LargeObjectArraySegment large_object_array_segment = 1 ;
43+ }
44+
3145message CollaborationCommandHistory {
32- repeated .TSK.CollaborationCommandHistoryItem undo_items = 1 ;
33- repeated .TSK.CollaborationCommandHistoryItem redo_items = 2 ;
34- optional .TSP.UUID local_identifier = 3 ;
35- repeated .TSP.Reference undo_transformer_entries = 4 ;
36- repeated .TSP.Reference redo_transformer_entries = 5 ;
46+ message ItemList {
47+ optional .TSP.Reference items_array = 1 ;
48+ repeated .TSP.Reference transformer_entries = 2 ;
49+ }
50+ optional .TSP.UUID local_identifier = 1 ;
51+ optional .TSK.CollaborationCommandHistory.ItemList undo_items = 2 ;
52+ optional .TSK.CollaborationCommandHistory.ItemList redo_items = 3 ;
3753}
3854
3955message CollaborationCommandHistoryItem {
@@ -557,4 +573,18 @@ message DataReferenceRecord {
557573 repeated .TSP.DataReference unbounded_referenced_datas = 3 ;
558574}
559575
576+ message PencilAnnotationUIState {
577+ enum PencilAnnotationToolType {
578+ Pen = 0 ;
579+ Highlighter = 1 ;
580+ }
581+ optional .TSK.PencilAnnotationUIState.PencilAnnotationToolType current_tool_type = 1 ;
582+ optional .TSP.Color pen_tool_color = 2 ;
583+ optional float pen_tool_opacity = 3 ;
584+ optional float pen_tool_width = 4 ;
585+ optional .TSP.Color highlighter_tool_color = 5 ;
586+ optional float highlighter_tool_opacity = 6 ;
587+ optional float highlighter_tool_width = 7 ;
588+ }
589+
560590
0 commit comments