mirror of
https://codeberg.org/steam-vent/proto.git
synced 2026-08-02 12:14:48 +02:00
Update to latest proto definitions from SteamDatabase/Protobufs
From commit 085746bbf6b48d1b89b7a63e7876932793f4c08f
This commit is contained in:
parent
d936a6049b
commit
9946f23749
127 changed files with 40662 additions and 28630 deletions
|
|
@ -1,3 +1,5 @@
|
|||
import "enums.proto";
|
||||
|
||||
option optimize_for = SPEED;
|
||||
option cc_generic_services = false;
|
||||
|
||||
|
|
@ -8,6 +10,12 @@ enum EJSRegisterMethodType {
|
|||
k_EJSRegisterMethodType_Promise = 3;
|
||||
}
|
||||
|
||||
enum EAccessibilityContrastMode {
|
||||
k_EBrowserContrastMode_NoPreference = 0;
|
||||
k_EBrowserContrastMode_More = 1;
|
||||
k_EBrowserContrastMode_Less = 2;
|
||||
}
|
||||
|
||||
message CMsgKeyUp {
|
||||
optional uint32 browser_handle = 1;
|
||||
optional uint32 keyCode = 2;
|
||||
|
|
@ -156,9 +164,12 @@ message CMsgBrowserResized {
|
|||
optional double y = 3;
|
||||
optional double width = 4;
|
||||
optional double height = 5;
|
||||
optional double dpi_horizontal = 6;
|
||||
optional double dpi_vertical = 7;
|
||||
optional string display_name = 8;
|
||||
optional bool fullscreen = 6;
|
||||
optional double dpi_horizontal = 7;
|
||||
optional double dpi_vertical = 8;
|
||||
optional string display_name = 9;
|
||||
optional uint32 display_width = 10;
|
||||
optional uint32 display_height = 11;
|
||||
}
|
||||
|
||||
message CMsgPostURL {
|
||||
|
|
@ -173,6 +184,8 @@ message CMsgAddHeader {
|
|||
optional uint32 browser_handle = 1;
|
||||
optional string key = 2;
|
||||
optional string value = 3;
|
||||
optional bool only_send_to_steam = 4;
|
||||
optional bool send_in_xhr = 5;
|
||||
}
|
||||
|
||||
message CMsgStopLoad {
|
||||
|
|
@ -348,6 +361,10 @@ message CMsgFavIconURLChanged {
|
|||
repeated string urls = 2;
|
||||
}
|
||||
|
||||
message CMsgCtrlTabPressed {
|
||||
optional uint32 browser_handle = 1;
|
||||
}
|
||||
|
||||
message CMsgPageSecurity {
|
||||
optional uint32 browser_handle = 1;
|
||||
optional string url = 2;
|
||||
|
|
@ -401,6 +418,7 @@ message CMsgPopupHTMLWindow {
|
|||
optional string name = 9;
|
||||
optional uint64 hwnd = 10;
|
||||
optional uint32 parent_popup_index = 11;
|
||||
optional uint32 creation_flags = 12;
|
||||
}
|
||||
|
||||
message CMsgPopupHTMLWindowResponse {
|
||||
|
|
@ -457,6 +475,31 @@ message CMsgFileLoadDialogResponse {
|
|||
repeated string files = 4;
|
||||
}
|
||||
|
||||
message CMsgRequestProcessInfo {
|
||||
optional uint64 requestid = 1;
|
||||
}
|
||||
|
||||
message CMsgProcessInfoNotification {
|
||||
optional uint64 requestid = 1;
|
||||
optional .EBrowserGPUStatus gpu_status = 2 [default = k_EBrowserGPUStatus_Invalid];
|
||||
optional .EBrowserFeatureStatus canvas_2d = 3 [default = k_EBrowserFeatureStatus_Invalid];
|
||||
optional .EBrowserFeatureStatus canvas_oop_rasterization = 4 [default = k_EBrowserFeatureStatus_Invalid];
|
||||
optional .EBrowserFeatureStatus direct_rendering_display_compositor = 5 [default = k_EBrowserFeatureStatus_Invalid];
|
||||
optional .EBrowserFeatureStatus gpu_compositing = 6 [default = k_EBrowserFeatureStatus_Invalid];
|
||||
optional .EBrowserFeatureStatus multiple_raster_threads = 7 [default = k_EBrowserFeatureStatus_Invalid];
|
||||
optional .EBrowserFeatureStatus opengl = 8 [default = k_EBrowserFeatureStatus_Invalid];
|
||||
optional .EBrowserFeatureStatus rasterization = 9 [default = k_EBrowserFeatureStatus_Invalid];
|
||||
optional .EBrowserFeatureStatus raw_draw = 10 [default = k_EBrowserFeatureStatus_Invalid];
|
||||
optional .EBrowserFeatureStatus skia_graphite = 11 [default = k_EBrowserFeatureStatus_Invalid];
|
||||
optional .EBrowserFeatureStatus video_decode = 13 [default = k_EBrowserFeatureStatus_Invalid];
|
||||
optional .EBrowserFeatureStatus video_encode = 14 [default = k_EBrowserFeatureStatus_Invalid];
|
||||
optional .EBrowserFeatureStatus vulkan = 15 [default = k_EBrowserFeatureStatus_Invalid];
|
||||
optional .EBrowserFeatureStatus webgl = 16 [default = k_EBrowserFeatureStatus_Invalid];
|
||||
optional .EBrowserFeatureStatus webgl2 = 17 [default = k_EBrowserFeatureStatus_Invalid];
|
||||
optional .EBrowserFeatureStatus webgpu = 18 [default = k_EBrowserFeatureStatus_Invalid];
|
||||
optional .EBrowserFeatureStatus webnn = 19 [default = k_EBrowserFeatureStatus_Invalid];
|
||||
}
|
||||
|
||||
message CMsgShowToolTip {
|
||||
optional uint32 browser_handle = 1;
|
||||
optional string text = 2;
|
||||
|
|
@ -728,16 +771,8 @@ message CMsgUnlockH264 {
|
|||
|
||||
message CMsgScreenInformationChanged {
|
||||
optional uint32 browser_handle = 1;
|
||||
optional uint32 override_width = 2;
|
||||
optional uint32 override_height = 3;
|
||||
optional uint32 monitor_left = 4;
|
||||
optional uint32 monitor_top = 5;
|
||||
optional uint32 monitor_right = 6;
|
||||
optional uint32 monitor_bottom = 7;
|
||||
optional uint32 usable_left = 8;
|
||||
optional uint32 usable_top = 9;
|
||||
optional uint32 usable_right = 10;
|
||||
optional uint32 usable_bottom = 11;
|
||||
optional double override_width = 2;
|
||||
optional double override_height = 3;
|
||||
}
|
||||
|
||||
message CMsgClearAllCookies {
|
||||
|
|
@ -951,8 +986,8 @@ message CMsgImeCancelComposition {
|
|||
|
||||
message CMsgImeCompositionRangeChanged {
|
||||
optional uint32 browser_handle = 1;
|
||||
optional uint32 x = 2;
|
||||
optional uint32 y = 3;
|
||||
optional double x = 2;
|
||||
optional double y = 3;
|
||||
}
|
||||
|
||||
message CMsgInspectElement {
|
||||
|
|
@ -993,6 +1028,10 @@ message CMsgBrowserFocusChanged {
|
|||
optional bool focused = 2;
|
||||
}
|
||||
|
||||
message CMsgRenderProcessTerminated {
|
||||
optional uint32 browser_handle = 1;
|
||||
}
|
||||
|
||||
message CMsgSetProtocolBlockList {
|
||||
optional uint32 browser_handle = 1;
|
||||
optional string list = 2;
|
||||
|
|
@ -1011,6 +1050,10 @@ message CMsgSetSteamBetaName {
|
|||
optional string steam_beta_name = 1;
|
||||
}
|
||||
|
||||
message CMsgSetSteamID {
|
||||
optional uint64 steam_id = 1;
|
||||
}
|
||||
|
||||
message CMsgPopupCreated {
|
||||
optional uint32 browser_handle = 1;
|
||||
}
|
||||
|
|
@ -1022,3 +1065,9 @@ message CMsgSetVRKeyboardVisibility {
|
|||
|
||||
message CMsgRestartJSContext {
|
||||
}
|
||||
|
||||
message CMsgSetAccessibilitySettings {
|
||||
optional bool reduced_motion_enabled = 1;
|
||||
optional .EAccessibilityContrastMode preferred_contrast = 2 [default = k_EBrowserContrastMode_NoPreference];
|
||||
optional uint32 minimum_font_size = 3;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue