Add comments for HostBridge RPC showSaveDialog (#5351)

This commit is contained in:
Sarah Fortune authored and GitHub committed 2025-08-04 21:15:45 +01:00
1 parent 2cfce5734e
commit 5bc4e5a4a0
1 file changed
+4 -1
+4 -1
View File
@@ -84,6 +84,8 @@ message ShowSaveDialogRequest {
message ShowSaveDialogOptions {
optional string default_path = 1;
// A map of file types to extensions, e.g
// "Text Files": { "extensions": ["txt", "md"] }
map<string, FileExtensionList> filters = 2;
}
@@ -92,6 +94,7 @@ message FileExtensionList {
}
message ShowSaveDialogResponse {
// If the user cancelled the dialog, this will be empty.
optional string selected_path = 1;
}
@@ -129,4 +132,4 @@ message GetVisibleTabsRequest {
message GetVisibleTabsResponse {
repeated string paths = 1;
}
}