@@ -16,9 +16,9 @@ option optimize_for = LITE_RUNTIME;
1616
1717// DO NOT EDIT THIS FILE DIRECTLY!
1818//
19- // This file is generated in g3 and then synced to Chrome. Instead, please refer
20- // to http://go/chrome-mqls-onboarding (Google-internal link), and then changes
21- // will be synced with Chrome automatically.
19+ // This file is generated in g3 and then synced to Chrome. Instead, please refer to
20+ // http://go/chrome-mqls-onboarding (Google-internal link), and then changes will
21+ // be synced with Chrome automatically.
2222
2323// The target of an action.
2424// Next ID: 4
@@ -30,8 +30,7 @@ message ActionTarget {
3030 Coordinate coordinate = 2 [features = { field_presence : EXPLICIT }];
3131
3232 // Which document in a frame the action should be taken in.
33- DocumentIdentifier document_identifier = 3
34- [features = { field_presence : EXPLICIT }];
33+ DocumentIdentifier document_identifier = 3 [features = { field_presence : EXPLICIT }];
3534}
3635
3736// Mouse click action.
@@ -223,7 +222,8 @@ message ActivateTabAction {
223222
224223// Creates a new window.
225224// Next ID: 1
226- message CreateWindowAction {}
225+ message CreateWindowAction {
226+ }
227227
228228// Closes an existing window.
229229// Next ID: 2
@@ -245,7 +245,8 @@ message ActivateWindowAction {
245245
246246// Yields control to the user.
247247// Next ID: 1
248- message YieldToUserAction {}
248+ message YieldToUserAction {
249+ }
249250
250251// Attempts to log in to the website.
251252// Next ID: 3
@@ -297,8 +298,8 @@ message FormFillingRequest {
297298 // this field, but will fill other fields of the same autofill section with
298299 // the available data.
299300 //
300- // TODO(crbug.com/452946211): This field is repeated to be able to support a
301- // form that is spread over multiple autofill sections.
301+ // TODO(crbug.com/452946211): This field is repeated to be able to support a form that
302+ // is spread over multiple autofill sections.
302303 repeated ActionTarget trigger_fields = 1 ;
303304
304305 // Specifies which data is requested. The requested data type will be
@@ -383,8 +384,7 @@ message ScrollToAction {
383384// Next ID: 5
384385message ScriptToolAction {
385386 // The Document which provides the associated Tool.
386- DocumentIdentifier document_identifier = 1
387- [features = { field_presence : EXPLICIT }];
387+ DocumentIdentifier document_identifier = 1 [features = { field_presence : EXPLICIT }];
388388
389389 int32 tab_id = 2 [features = { field_presence : EXPLICIT }];
390390
@@ -397,20 +397,24 @@ message ScriptToolAction {
397397
398398// Play media action plays the media session.
399399// Next ID: 1
400- message PlayMediaAction {}
400+ message PlayMediaAction {
401+ }
401402
402403// Pause media action pauses the media session.
403404// Next ID: 1
404- message PauseMediaAction {}
405+ message PauseMediaAction {
406+ }
405407
406408// Seek media action seeks the media session to the given seek time in
407409// milliseconds from the beginning of the media. The seek time should be
408410// non-negative.
409411// Next ID: 3
410412message SeekMediaAction {
411413 // TODO(crbug.com/490195093): Remove this field.
412- int64 seek_time_microseconds = 1
413- [deprecated = true , features = { field_presence : EXPLICIT }];
414+ int64 seek_time_microseconds = 1 [
415+ deprecated = true ,
416+ features = { field_presence : EXPLICIT }
417+ ];
414418
415419 int64 seek_time_milliseconds = 2 [features = { field_presence : EXPLICIT }];
416420}
@@ -441,6 +445,7 @@ message LoadAndExtractContentAction {
441445// Only one of these is allowed per action.
442446// Next ID: 25
443447message Action {
448+
444449 oneof action {
445450 ClickAction click = 1 ;
446451
@@ -526,13 +531,11 @@ message ScreenshotCollectionOptions {
526531
527532 // The format of the screenshot. If not set, the screenshot will be returned
528533 // as a jpeg image.
529- ScreenshotImageFormat screenshot_format = 3
530- [features = { field_presence : EXPLICIT }];
534+ ScreenshotImageFormat screenshot_format = 3 [features = { field_presence : EXPLICIT }];
531535
532536 // The compression quality of the screenshot. If not set, the screenshot will
533537 // be returned with medium compression quality.
534- CompressionQuality compression_quality = 4
535- [features = { field_presence : EXPLICIT }];
538+ CompressionQuality compression_quality = 4 [features = { field_presence : EXPLICIT }];
536539}
537540
538541// A single set of actions to be taken by Chrome. The response is ActionsResult.
@@ -550,15 +553,13 @@ message Actions {
550553 // TabObservation.
551554 // We may want more sophisticated control over which observations are
552555 // collected in the future.
553- bool skip_async_observation_collection = 3
554- [features = { field_presence : EXPLICIT }];
556+ bool skip_async_observation_collection = 3 [features = { field_presence : EXPLICIT }];
555557
556558 // Metadata that is associated with a task.
557559 TaskMetadata task_metadata = 4 [features = { field_presence : EXPLICIT }];
558560
559561 // Options for screenshot collection.
560- ScreenshotCollectionOptions screenshot_options = 5
561- [features = { field_presence : EXPLICIT }];
562+ ScreenshotCollectionOptions screenshot_options = 5 [features = { field_presence : EXPLICIT }];
562563}
563564
564565// Information about a chrome window.
@@ -588,8 +589,7 @@ message TabObservation {
588589 // The page content at the observation time.
589590 // This field is only populated if skip_async_observation_collection is false
590591 // in the Actions message.
591- AnnotatedPageContent annotated_page_content = 2
592- [features = { field_presence : EXPLICIT }];
592+ AnnotatedPageContent annotated_page_content = 2 [features = { field_presence : EXPLICIT }];
593593
594594 // The screenshot of the page at the time after the action.
595595 // This field is only populated if skip_async_observation_collection is false
@@ -610,11 +610,9 @@ message TabObservation {
610610 // in the Actions message.
611611 PageMetadata metadata = 6 [features = { field_presence : EXPLICIT }];
612612
613- AnnotatedPageContentResult annotated_page_content_result = 7
614- [features = { field_presence : EXPLICIT }];
613+ AnnotatedPageContentResult annotated_page_content_result = 7 [features = { field_presence : EXPLICIT }];
615614
616- ScreenshotResult screenshot_result = 8
617- [features = { field_presence : EXPLICIT }];
615+ ScreenshotResult screenshot_result = 8 [features = { field_presence : EXPLICIT }];
618616
619617 // Result codes of a tab observation as a whole. It may be possible to retry
620618 // an observation given specific error codes.
@@ -626,8 +624,7 @@ message TabObservation {
626624 TAB_OBSERVATION_TAB_WENT_AWAY = 1 ;
627625
628626 // The screenshot of the tab timed out.
629- // TODO: crbug.com/462190108 - Deprecate, this should be a screenshot error
630- // code.
627+ // TODO: crbug.com/462190108 - Deprecate, this should be a screenshot error code.
631628 TAB_OBSERVATION_SCREENSHOT_TIMEOUT = 2 ;
632629
633630 // The page crashed.
@@ -697,8 +694,7 @@ message ActionsResult {
697694 // The results of executing script tools.
698695 repeated ScriptToolResult script_tool_results = 5 ;
699696
700- LatencyInformation latency_information = 6
701- [features = { field_presence : EXPLICIT }];
697+ LatencyInformation latency_information = 6 [features = { field_presence : EXPLICIT }];
702698
703699 // Chrome reported information about the latency of steps while performing the
704700 // actions.
@@ -759,9 +755,9 @@ message ActionsResult {
759755message BrowserStartTask {
760756 // The id of the tab the task should be started in. If not set, the task
761757 // will be started in a new tab.
762- // TODO(crbug.com/421441072): Remove this field. This is only needed in the
763- // short term since we need a mechanism to start tasks in a new tab, and the
764- // model has not yet been trained to use CreateTabAction.
758+ // TODO(crbug.com/421441072): Remove this field. This is only needed in the short term
759+ // since we need a mechanism to start tasks in a new tab, and the model has
760+ // not yet been trained to use CreateTabAction.
765761 int32 tab_id = 1 [features = { field_presence : EXPLICIT }];
766762}
767763
0 commit comments