steamutils 1.3.35 → 1.3.36

Sign up to get free protection for your applications and to get access to all the features.
Files changed (218) hide show
  1. package/.idea/codeStyles/codeStyleConfig.xml +5 -0
  2. package/.idea/steamutils.iml +1 -1
  3. package/.idea/vcs.xml +1 -1
  4. package/bufferHelpers.js +115 -115
  5. package/free_packages.json +10048 -10048
  6. package/index.js +337 -125
  7. package/package.json +8 -7
  8. package/protos/csgo/base_gcmessages_csgo.proto +547 -547
  9. package/protos/csgo/c_peer2peer_netmessages.proto +55 -55
  10. package/protos/csgo/clientmessages.proto +48 -48
  11. package/protos/csgo/connectionless_netmessages.proto +19 -19
  12. package/protos/csgo/cs_gameevents.proto +34 -34
  13. package/protos/csgo/cs_usercmd.proto +34 -34
  14. package/protos/csgo/cstrike15_gcmessages.proto +1402 -1402
  15. package/protos/csgo/cstrike15_usermessages.proto +596 -596
  16. package/protos/csgo/demo.proto +160 -160
  17. package/protos/csgo/econ_gcmessages.proto +228 -228
  18. package/protos/csgo/engine_gcmessages.proto +14 -14
  19. package/protos/csgo/enums_clientserver.proto +1529 -1529
  20. package/protos/csgo/fatdemo.proto +125 -125
  21. package/protos/csgo/gameevents.proto +120 -120
  22. package/protos/csgo/gcsdk_gcmessages.proto +323 -323
  23. package/protos/csgo/gcsystemmsgs.proto +242 -242
  24. package/protos/csgo/netmessages.proto +604 -604
  25. package/protos/csgo/network_connection.proto +126 -126
  26. package/protos/csgo/networkbasetypes.proto +244 -244
  27. package/protos/csgo/networksystem_protomessages.proto +17 -17
  28. package/protos/csgo/steamdatagram_messages_auth.proto +65 -65
  29. package/protos/csgo/steamdatagram_messages_sdr.proto +534 -534
  30. package/protos/csgo/steammessages.proto +597 -597
  31. package/protos/csgo/steammessages_base.proto +301 -301
  32. package/protos/csgo/steammessages_cloud.steamworkssdk.proto +68 -68
  33. package/protos/csgo/steammessages_gamenetworkingui.proto +61 -61
  34. package/protos/csgo/steammessages_helprequest.steamworkssdk.proto +22 -22
  35. package/protos/csgo/steammessages_oauth.steamworkssdk.proto +18 -18
  36. package/protos/csgo/steammessages_player.steamworkssdk.proto +254 -254
  37. package/protos/csgo/steammessages_publishedfile.steamworkssdk.proto +233 -233
  38. package/protos/csgo/steammessages_steamlearn.steamworkssdk.proto +357 -357
  39. package/protos/csgo/steammessages_unified_base.steamworkssdk.proto +30 -30
  40. package/protos/csgo/steamnetworkingsockets_messages.proto +205 -205
  41. package/protos/csgo/steamnetworkingsockets_messages_certs.proto +39 -39
  42. package/protos/csgo/steamnetworkingsockets_messages_udp.proto +75 -75
  43. package/protos/csgo/te.proto +259 -259
  44. package/protos/csgo/uifontfile_format.proto +13 -13
  45. package/protos/csgo/usercmd.proto +38 -38
  46. package/protos/csgo/usermessages.proto +721 -721
  47. package/protos/csgo/valveextensions.proto +17 -17
  48. package/protos/google/protobuf/descriptor.proto +281 -281
  49. package/protos/steam/clientmetrics.proto +45 -45
  50. package/protos/steam/content_manifest.proto +62 -62
  51. package/protos/steam/contenthubs.proto +41 -41
  52. package/protos/steam/encrypted_app_ticket.proto +10 -10
  53. package/protos/steam/enums.proto +444 -444
  54. package/protos/steam/enums_clientserver.proto +1539 -1539
  55. package/protos/steam/enums_productinfo.proto +13 -13
  56. package/protos/steam/htmlmessages.proto +1027 -1027
  57. package/protos/steam/offline_ticket.proto +8 -8
  58. package/protos/steam/renderer/rendermessages.proto +893 -893
  59. package/protos/steam/steamdatagram_messages_auth.proto +65 -65
  60. package/protos/steam/steamdatagram_messages_sdr.proto +533 -533
  61. package/protos/steam/steammessages_accounthardware.steamclient.proto +201 -201
  62. package/protos/steam/steammessages_appoverview.proto +187 -187
  63. package/protos/steam/steammessages_auth.steamclient.proto +435 -435
  64. package/protos/steam/steammessages_base.proto +332 -332
  65. package/protos/steam/steammessages_broadcast.steamclient.proto +759 -759
  66. package/protos/steam/steammessages_chat.steamclient.proto +1281 -1281
  67. package/protos/steam/steammessages_client_objects.proto +645 -645
  68. package/protos/steam/steammessages_clientlanp2p.proto +42 -42
  69. package/protos/steam/steammessages_clientmetrics.steamclient.proto +194 -194
  70. package/protos/steam/steammessages_clientnotificationtypes.proto +231 -231
  71. package/protos/steam/steammessages_clientserver.proto +392 -392
  72. package/protos/steam/steammessages_clientserver_2.proto +760 -760
  73. package/protos/steam/steammessages_clientserver_appinfo.proto +131 -131
  74. package/protos/steam/steammessages_clientserver_friends.proto +260 -260
  75. package/protos/steam/steammessages_clientserver_gameservers.proto +159 -159
  76. package/protos/steam/steammessages_clientserver_lbs.proto +70 -70
  77. package/protos/steam/steammessages_clientserver_login.proto +167 -167
  78. package/protos/steam/steammessages_clientserver_ucm.proto +205 -205
  79. package/protos/steam/steammessages_clientserver_uds.proto +124 -124
  80. package/protos/steam/steammessages_clientserver_ufs.proto +172 -172
  81. package/protos/steam/steammessages_clientserver_userstats.proto +80 -80
  82. package/protos/steam/steammessages_clientsettings.proto +168 -168
  83. package/protos/steam/steammessages_cloud.steamclient.proto +513 -513
  84. package/protos/steam/steammessages_contentsystem.steamclient.proto +115 -115
  85. package/protos/steam/steammessages_credentials.steamclient.proto +115 -115
  86. package/protos/steam/steammessages_datapublisher.steamclient.proto +116 -116
  87. package/protos/steam/steammessages_depotbuilder.steamclient.proto +118 -118
  88. package/protos/steam/steammessages_deviceauth.steamclient.proto +203 -203
  89. package/protos/steam/steammessages_econ.steamclient.proto +150 -150
  90. package/protos/steam/steammessages_friendmessages.steamclient.proto +168 -168
  91. package/protos/steam/steammessages_gamenetworking.steamclient.proto +32 -32
  92. package/protos/steam/steammessages_gamenetworkingui.proto +61 -61
  93. package/protos/steam/steammessages_gamenotifications.steamclient.proto +156 -156
  94. package/protos/steam/steammessages_gameservers.steamclient.proto +152 -152
  95. package/protos/steam/steammessages_hiddevices.proto +157 -157
  96. package/protos/steam/steammessages_inventory.steamclient.proto +224 -224
  97. package/protos/steam/steammessages_linkfilter.steamclient.proto +49 -49
  98. package/protos/steam/steammessages_lobbymatchmaking.steamclient.proto +33 -33
  99. package/protos/steam/steammessages_market.steamclient.proto +26 -26
  100. package/protos/steam/steammessages_marketingmessages.steamclient.proto +274 -274
  101. package/protos/steam/steammessages_offline.steamclient.proto +40 -40
  102. package/protos/steam/steammessages_parental.steamclient.proto +228 -228
  103. package/protos/steam/steammessages_parties.steamclient.proto +94 -94
  104. package/protos/steam/steammessages_partnerapps.steamclient.proto +138 -138
  105. package/protos/steam/steammessages_player.steamclient.proto +1060 -1060
  106. package/protos/steam/steammessages_publishedfile.steamclient.proto +813 -813
  107. package/protos/steam/steammessages_qms.steamclient.proto +125 -125
  108. package/protos/steam/steammessages_remoteclient.proto +99 -99
  109. package/protos/steam/steammessages_remoteclient_discovery.proto +235 -235
  110. package/protos/steam/steammessages_remoteclient_service.steamclient.proto +86 -86
  111. package/protos/steam/steammessages_remoteclient_service_messages.proto +217 -217
  112. package/protos/steam/steammessages_remoteplay.proto +976 -976
  113. package/protos/steam/steammessages_secrets.steamclient.proto +39 -39
  114. package/protos/steam/steammessages_shader.steamclient.proto +108 -108
  115. package/protos/steam/steammessages_site_license.steamclient.proto +128 -128
  116. package/protos/steam/steammessages_sitelicenseclient.proto +38 -38
  117. package/protos/steam/steammessages_siteserverui.proto +130 -130
  118. package/protos/steam/steammessages_star.steamclient.proto +64 -64
  119. package/protos/steam/steammessages_steamtv.steamclient.proto +630 -630
  120. package/protos/steam/steammessages_store.steamclient.proto +371 -371
  121. package/protos/steam/steammessages_storebrowse.steamclient.proto +402 -402
  122. package/protos/steam/steammessages_timedtrial.steamclient.proto +50 -50
  123. package/protos/steam/steammessages_twofactor.steamclient.proto +186 -186
  124. package/protos/steam/steammessages_unified_base.steamclient.proto +33 -33
  125. package/protos/steam/steammessages_unified_test.steamclient.proto +61 -61
  126. package/protos/steam/steammessages_useraccount.steamclient.proto +249 -249
  127. package/protos/steam/steammessages_vac.steamclient.proto +44 -44
  128. package/protos/steam/steammessages_video.steamclient.proto +171 -171
  129. package/protos/steam/steammessages_virtualcontroller.proto +138 -138
  130. package/protos/steam/steammessages_workshop.steamclient.proto +23 -23
  131. package/protos/steam/steamnetworkingsockets_messages.proto +205 -205
  132. package/protos/steam/steamnetworkingsockets_messages_certs.proto +39 -39
  133. package/protos/steam/steamnetworkingsockets_messages_udp.proto +75 -75
  134. package/protos/steam/webuimessages_base.proto +24 -24
  135. package/protos/steam/webuimessages_gamenotes.proto +21 -21
  136. package/protos/steam/webuimessages_steamengine.proto +32 -32
  137. package/protos/steam/webuimessages_storagedevicemanager.proto +110 -110
  138. package/protos/steam/webuimessages_systemmanager.proto +17 -17
  139. package/protos/steam/webuimessages_transport.proto +18 -18
  140. package/protos/steam/webuimessages_transportvalidation.proto +97 -97
  141. package/protos/webui/common.proto +5508 -5508
  142. package/protos/webui/common_base.proto +27 -27
  143. package/protos/webui/service_accountlinking.proto +27 -27
  144. package/protos/webui/service_accountprivacy.proto +42 -42
  145. package/protos/webui/service_auction.proto +97 -97
  146. package/protos/webui/service_authentication.proto +222 -222
  147. package/protos/webui/service_authenticationsupport.proto +74 -74
  148. package/protos/webui/service_broadcast.proto +562 -562
  149. package/protos/webui/service_chat.proto +11 -11
  150. package/protos/webui/service_chatroom.proto +810 -810
  151. package/protos/webui/service_chatusability.proto +107 -107
  152. package/protos/webui/service_clan.proto +41 -41
  153. package/protos/webui/service_clanchatrooms.proto +25 -25
  154. package/protos/webui/service_clanfaqs.proto +202 -202
  155. package/protos/webui/service_clientcomm.proto +150 -150
  156. package/protos/webui/service_clientmetrics.proto +63 -63
  157. package/protos/webui/service_cloud.proto +222 -222
  158. package/protos/webui/service_cloudconfigstore.proto +51 -51
  159. package/protos/webui/service_cloudgaming.proto +30 -30
  160. package/protos/webui/service_community.proto +365 -365
  161. package/protos/webui/service_econ.proto +134 -134
  162. package/protos/webui/service_embedded.proto +24 -24
  163. package/protos/webui/service_experimentservice.proto +6 -6
  164. package/protos/webui/service_fovasvideo.proto +15 -15
  165. package/protos/webui/service_friendmessages.proto +133 -133
  166. package/protos/webui/service_friendslist.proto +70 -70
  167. package/protos/webui/service_gamenotes.proto +15 -15
  168. package/protos/webui/service_helprequestlogs.proto +26 -26
  169. package/protos/webui/service_loyaltyrewards.proto +252 -252
  170. package/protos/webui/service_marketingmessages.proto +184 -184
  171. package/protos/webui/service_mobileapp.proto +18 -18
  172. package/protos/webui/service_mobileauth.proto +24 -24
  173. package/protos/webui/service_mobiledevice.proto +26 -26
  174. package/protos/webui/service_mobileperaccount.proto +31 -31
  175. package/protos/webui/service_news.proto +101 -101
  176. package/protos/webui/service_parental.proto +178 -178
  177. package/protos/webui/service_partnermembershipinvite.proto +29 -29
  178. package/protos/webui/service_partnerstorebrowse.proto +6 -6
  179. package/protos/webui/service_phone.proto +51 -51
  180. package/protos/webui/service_physicalgoods.proto +15 -15
  181. package/protos/webui/service_player.proto +885 -885
  182. package/protos/webui/service_promotioneventinvites.proto +50 -50
  183. package/protos/webui/service_promotionplanning.proto +72 -72
  184. package/protos/webui/service_publishedfile.proto +687 -687
  185. package/protos/webui/service_publishing.proto +119 -119
  186. package/protos/webui/service_quest.proto +127 -127
  187. package/protos/webui/service_salefeature.proto +315 -315
  188. package/protos/webui/service_saleitemrewards.proto +54 -54
  189. package/protos/webui/service_shoppingcart.proto +108 -108
  190. package/protos/webui/service_steamawards.proto +19 -19
  191. package/protos/webui/service_steamcharts.proto +75 -75
  192. package/protos/webui/service_steamengine.proto +36 -36
  193. package/protos/webui/service_steamlearn.proto +727 -727
  194. package/protos/webui/service_steamnotification.proto +84 -84
  195. package/protos/webui/service_steamtv.proto +495 -495
  196. package/protos/webui/service_steamvrvoicechat.proto +67 -67
  197. package/protos/webui/service_steamvrwebrtc.proto +48 -48
  198. package/protos/webui/service_storagedevicemanager.proto +104 -104
  199. package/protos/webui/service_store.proto +289 -289
  200. package/protos/webui/service_storeappsimilarity.proto +76 -76
  201. package/protos/webui/service_storebrowse.proto +73 -73
  202. package/protos/webui/service_storequery.proto +97 -97
  203. package/protos/webui/service_storesales.proto +15 -15
  204. package/protos/webui/service_storetopsellers.proto +44 -44
  205. package/protos/webui/service_systemmanager.proto +11 -11
  206. package/protos/webui/service_test_transporterror.proto +6 -6
  207. package/protos/webui/service_transportauth.proto +12 -12
  208. package/protos/webui/service_transportvalidation.proto +69 -69
  209. package/protos/webui/service_twofactor.proto +181 -181
  210. package/protos/webui/service_useraccount.proto +138 -138
  211. package/protos/webui/service_usergameactivity.proto +34 -34
  212. package/protos/webui/service_usergamenotes.proto +53 -53
  213. package/protos/webui/service_usernews.proto +68 -68
  214. package/protos/webui/service_userreviews.proto +96 -96
  215. package/protos/webui/service_video.proto +128 -128
  216. package/protos/webui/service_voicechat.proto +139 -139
  217. package/protos/webui/service_webrtc.proto +52 -52
  218. package/.idea/deployment.xml +0 -21
@@ -1,1027 +1,1027 @@
1
- option optimize_for = SPEED;
2
- option cc_generic_services = false;
3
-
4
- enum EJSRegisterMethodType {
5
- k_EJSRegisterMethodType_Invalid = 0;
6
- k_EJSRegisterMethodType_Function = 1;
7
- k_EJSRegisterMethodType_Callback = 2;
8
- k_EJSRegisterMethodType_Promise = 3;
9
- }
10
-
11
- message CMsgKeyUp {
12
- optional uint32 browser_handle = 1;
13
- optional uint32 keyCode = 2;
14
- optional uint32 modifiers = 3;
15
- optional uint32 nativeKeyCode = 4;
16
- }
17
-
18
- message CMsgKeyDown {
19
- optional uint32 browser_handle = 1;
20
- optional uint32 keyCode = 2;
21
- optional uint32 modifiers = 3;
22
- optional bool is_system_key = 4;
23
- optional uint32 nativeKeyCode = 5;
24
- }
25
-
26
- message CMsgKeyChar {
27
- optional uint32 browser_handle = 1;
28
- optional uint32 unichar = 2;
29
- optional uint32 modifiers = 3;
30
- optional uint32 keyCode = 4;
31
- optional uint32 nativeKeyCode = 5;
32
- }
33
-
34
- message CMsgMouseDown {
35
- optional uint32 browser_handle = 1;
36
- optional uint32 mouse_button = 2;
37
- optional uint32 modifiers = 3;
38
- }
39
-
40
- message CMsgMouseUp {
41
- optional uint32 browser_handle = 1;
42
- optional uint32 mouse_button = 2;
43
- optional uint32 modifiers = 3;
44
- optional bool is_off_panel = 4;
45
- optional int32 x = 5;
46
- optional int32 y = 6;
47
- }
48
-
49
- message CMsgMouseDblClick {
50
- optional uint32 browser_handle = 1;
51
- optional uint32 mouse_button = 2;
52
- optional uint32 modifiers = 3;
53
- }
54
-
55
- message CMsgMouseWheel {
56
- optional uint32 browser_handle = 1;
57
- optional int32 deltax = 2;
58
- optional int32 deltay = 3;
59
- optional uint32 modifiers = 4;
60
- }
61
-
62
- message CMsgMouseMove {
63
- optional uint32 browser_handle = 1;
64
- optional int32 x = 2;
65
- optional int32 y = 3;
66
- optional uint32 modifiers = 4;
67
- }
68
-
69
- message CMsgMouseLeave {
70
- optional uint32 browser_handle = 1;
71
- }
72
-
73
- message CMsgBrowserCreate {
74
- optional uint32 request_id = 1;
75
- optional string useragent = 3;
76
- optional string user_css = 5;
77
- optional bool native_dropdowns = 6;
78
- optional float dpi_scaling = 7;
79
- optional bool offscreen = 8 [default = true];
80
- optional uint32 initial_width = 9 [default = 0];
81
- optional uint32 initial_height = 10 [default = 0];
82
- optional string window_icon = 11;
83
- optional bool borderless = 12 [default = false];
84
- optional string vroverlay_key = 13;
85
- optional uint32 browser_type = 14 [default = 0];
86
- optional int32 initial_top = 15 [default = -2147483648];
87
- optional int32 initial_left = 16 [default = -2147483648];
88
- optional bool only_allow_trusted_popups = 17 [default = false];
89
- optional string initial_url = 18;
90
- optional fixed64 hwnd_parent = 19;
91
- optional uint32 creation_flags = 20 [default = 0];
92
- }
93
-
94
- message CMsgBrowserCreateResponse {
95
- optional uint32 browser_handle = 1;
96
- optional uint32 request_id = 2;
97
- }
98
-
99
- message CMsgBrowserRemove {
100
- optional uint32 browser_handle = 1;
101
- }
102
-
103
- message CMsgSetLocalFileRequestMapping {
104
- message AdditionalRoute {
105
- optional string relative_url = 1;
106
- optional string local_path = 2;
107
- optional string allowed_extensions = 3;
108
- optional bool url_rewrite = 4;
109
- }
110
-
111
- optional uint32 browser_handle = 1;
112
- optional string request_url = 2;
113
- optional string default_local_path = 3;
114
- repeated .CMsgSetLocalFileRequestMapping.AdditionalRoute routes = 4;
115
- }
116
-
117
- message CMsgBrowserErrorStrings {
118
- optional uint32 browser_handle = 1;
119
- optional string title = 2;
120
- optional string header = 3;
121
- optional string cache_miss = 4;
122
- optional string bad_url = 5;
123
- optional string connection_problem = 6;
124
- optional string proxy_problem = 7;
125
- optional string unknown = 8;
126
- }
127
-
128
- message CMsgBrowserSetName {
129
- optional uint32 browser_handle = 1;
130
- optional string name = 2;
131
- }
132
-
133
- message CMsgBrowserSize {
134
- optional uint32 browser_handle = 1;
135
- optional double width = 2;
136
- optional double height = 3;
137
- }
138
-
139
- message CMsgBrowserSetMinSize {
140
- optional uint32 browser_handle = 1;
141
- optional double width = 2;
142
- optional double height = 3;
143
- }
144
-
145
- message CMsgBrowserPosition {
146
- optional uint32 browser_handle = 1;
147
- optional double x = 2;
148
- optional double y = 3;
149
- optional double x_local = 4;
150
- optional double y_local = 5;
151
- }
152
-
153
- message CMsgBrowserResized {
154
- optional uint32 browser_handle = 1;
155
- optional double x = 2;
156
- optional double y = 3;
157
- optional double width = 4;
158
- optional double height = 5;
159
- optional double dpi_horizontal = 6;
160
- optional double dpi_vertical = 7;
161
- optional string display_name = 8;
162
- }
163
-
164
- message CMsgPostURL {
165
- optional uint32 browser_handle = 1;
166
- optional string url = 2;
167
- optional string post = 3;
168
- optional uint32 pageserial = 4;
169
- optional bool replace_entry = 5;
170
- }
171
-
172
- message CMsgAddHeader {
173
- optional uint32 browser_handle = 1;
174
- optional string key = 2;
175
- optional string value = 3;
176
- }
177
-
178
- message CMsgStopLoad {
179
- optional uint32 browser_handle = 1;
180
- }
181
-
182
- message CMsgReload {
183
- optional uint32 browser_handle = 1;
184
- }
185
-
186
- message CMsgGoForward {
187
- optional uint32 browser_handle = 1;
188
- }
189
-
190
- message CMsgGoBack {
191
- optional uint32 browser_handle = 1;
192
- }
193
-
194
- message CMsgWasHidden {
195
- optional uint32 browser_handle = 1;
196
- optional bool hidden = 2;
197
- }
198
-
199
- message CMsgSetWindowVisibility {
200
- optional uint32 browser_handle = 1;
201
- optional bool visible = 2;
202
- }
203
-
204
- message CMsgClearHistory {
205
- optional uint32 browser_handle = 1;
206
- }
207
-
208
- message CMsgClearAllBrowsingData {
209
- optional uint32 browser_handle = 1;
210
- }
211
-
212
- message CMsgCopy {
213
- optional uint32 browser_handle = 1;
214
- }
215
-
216
- message CMsgPaste {
217
- optional uint32 browser_handle = 1;
218
- }
219
-
220
- message CMsgExecuteJavaScript {
221
- optional uint32 browser_handle = 1;
222
- optional string script = 2;
223
- }
224
-
225
- message CMsgSetFocus {
226
- optional uint32 browser_handle = 1;
227
- optional bool focus = 2;
228
- }
229
-
230
- message CMsgHorizontalScrollBarSize {
231
- optional uint32 browser_handle = 1;
232
- }
233
-
234
- message CMsgHorizontalScrollBarSizeResponse {
235
- optional uint32 browser_handle = 1;
236
- optional uint32 scroll_max = 6;
237
- optional uint32 scroll = 7;
238
- optional float zoom = 8;
239
- optional bool visible = 9;
240
- optional uint32 page_size = 10;
241
- }
242
-
243
- message CMsgVerticalScrollBarSize {
244
- optional uint32 browser_handle = 1;
245
- }
246
-
247
- message CMsgVerticalScrollBarSizeResponse {
248
- optional uint32 browser_handle = 1;
249
- optional uint32 scroll_max = 6;
250
- optional uint32 scroll = 7;
251
- optional float zoom = 8;
252
- optional bool visible = 9;
253
- optional uint32 page_size = 10;
254
- }
255
-
256
- message CMsgFind {
257
- optional uint32 browser_handle = 1;
258
- optional string find = 2;
259
- optional bool infind = 3;
260
- optional bool reverse = 4 [default = false];
261
- }
262
-
263
- message CMsgStopFind {
264
- optional uint32 browser_handle = 1;
265
- }
266
-
267
- message CMsgSetHorizontalScroll {
268
- optional uint32 browser_handle = 1;
269
- optional uint32 scroll = 2;
270
- }
271
-
272
- message CMsgSetVerticalScroll {
273
- optional uint32 browser_handle = 1;
274
- optional uint32 scroll = 2;
275
- }
276
-
277
- message CMsgSetZoomLevel {
278
- optional uint32 browser_handle = 1;
279
- optional double zoom = 2;
280
- }
281
-
282
- message CMsgViewSource {
283
- optional uint32 browser_handle = 1;
284
- }
285
-
286
- message CMsgBrowserReady {
287
- optional uint32 browser_handle = 1;
288
- optional string vr_overlay_key = 2;
289
- optional fixed64 hwnd_browser = 3;
290
- }
291
-
292
- message CMsgURLChanged {
293
- optional uint32 browser_handle = 1;
294
- optional string url = 2;
295
- optional string postData = 3;
296
- optional bool bIsRedirect = 4;
297
- optional string pagetitle = 5;
298
- optional bool bNewNavigation = 6;
299
- }
300
-
301
- message CHistoryEntry {
302
- optional string url = 1;
303
- }
304
-
305
- message CMsgHistoryChanged {
306
- optional uint32 browser_handle = 1;
307
- optional uint32 index = 2;
308
- repeated .CHistoryEntry entries = 3;
309
- }
310
-
311
- message CMsgLoadError {
312
- optional uint32 browser_handle = 1;
313
- optional int32 error_code = 2;
314
- optional string url = 3;
315
- optional string error_description = 4;
316
- }
317
-
318
- message CHTMLHeader {
319
- optional string key = 1;
320
- optional string value = 2;
321
- }
322
-
323
- message CHTMLPageSecurityInfo {
324
- optional bool bIsSecure = 1 [default = false];
325
- optional bool bHasCertError = 2 [default = false];
326
- optional string issuerName = 3;
327
- optional string certName = 4;
328
- optional int32 certExpiry = 5 [default = 0];
329
- optional int32 nCertBits = 6 [default = 0];
330
- optional bool bIsEVCert = 7 [default = false];
331
- }
332
-
333
- message CMsgFinishedRequest {
334
- optional uint32 browser_handle = 1;
335
- optional string url = 2;
336
- optional string pageTitle = 3;
337
- }
338
-
339
- message CMsgLoadedRequest {
340
- optional uint32 browser_handle = 1;
341
- optional string url = 2;
342
- optional string pageTitle = 3;
343
- repeated .CHTMLHeader headers = 5;
344
- }
345
-
346
- message CMsgFavIconURLChanged {
347
- optional uint32 browser_handle = 1;
348
- repeated string urls = 2;
349
- }
350
-
351
- message CMsgPageSecurity {
352
- optional uint32 browser_handle = 1;
353
- optional string url = 2;
354
- optional .CHTMLPageSecurityInfo security_info = 3;
355
- }
356
-
357
- message CMsgStartRequest {
358
- optional uint32 browser_handle = 1;
359
- optional string url = 2;
360
- optional string target = 3;
361
- optional string postData = 4;
362
- optional bool bIsRedirect = 5;
363
- }
364
-
365
- message CMsgStartRequestResponse {
366
- optional uint32 browser_handle = 1;
367
- optional bool bAllow = 2;
368
- }
369
-
370
- message CMsgShowPopup {
371
- optional uint32 browser_handle = 1;
372
- }
373
-
374
- message CMsgHidePopup {
375
- optional uint32 browser_handle = 1;
376
- }
377
-
378
- message CMsgSizePopup {
379
- optional uint32 browser_handle = 1;
380
- optional int32 x = 2;
381
- optional int32 y = 3;
382
- optional uint32 wide = 4;
383
- optional uint32 tall = 5;
384
- }
385
-
386
- message CMsgOpenNewTab {
387
- optional uint32 browser_handle = 1;
388
- optional string url = 2;
389
- optional bool bForeground = 3;
390
- }
391
-
392
- message CMsgPopupHTMLWindow {
393
- optional uint32 browser_handle = 1;
394
- optional string url = 2;
395
- optional int32 x = 3 [default = -2147483648];
396
- optional int32 y = 4 [default = -2147483648];
397
- optional uint32 wide = 5;
398
- optional uint32 tall = 6;
399
- optional uint32 popup_index = 7;
400
- optional bool trusted_creator = 8;
401
- optional string name = 9;
402
- optional uint64 hwnd = 10;
403
- optional uint32 parent_popup_index = 11;
404
- }
405
-
406
- message CMsgPopupHTMLWindowResponse {
407
- optional uint32 browser_handle = 1;
408
- optional bool bAllow = 2;
409
- }
410
-
411
- message CMsgSetHTMLTitle {
412
- optional uint32 browser_handle = 1;
413
- optional string title = 2;
414
- }
415
-
416
- message CMsgLoadingResource {
417
- optional uint32 browser_handle = 1;
418
- optional string url = 2;
419
- }
420
-
421
- message CMsgStatusText {
422
- optional uint32 browser_handle = 1;
423
- optional string text = 2;
424
- }
425
-
426
- message CMsgSetCursor {
427
- optional uint32 browser_handle = 1;
428
- optional uint32 cursor = 2;
429
- optional bytes custom_data = 3;
430
- optional uint32 wide = 4;
431
- optional uint32 tall = 5;
432
- optional uint32 xhotspot = 6;
433
- optional uint32 yhotspot = 7;
434
- }
435
-
436
- message CMsgFileLoadDialog {
437
- message Filter {
438
- optional string name = 1;
439
- repeated string patterns = 2;
440
- optional bool is_default = 3;
441
- }
442
-
443
- optional uint32 browser_handle = 1;
444
- optional uint32 owning_browser_handle = 2;
445
- optional string title = 3;
446
- optional string initialFile = 4;
447
- repeated string accept_types = 5;
448
- optional bool is_save = 6;
449
- optional bool choose_directory = 7;
450
- repeated .CMsgFileLoadDialog.Filter filters = 8;
451
- }
452
-
453
- message CMsgFileLoadDialogResponse {
454
- optional uint32 browser_handle = 1;
455
- optional uint32 owning_browser_handle = 2;
456
- optional bool bsuccess = 3;
457
- repeated string files = 4;
458
- }
459
-
460
- message CMsgShowToolTip {
461
- optional uint32 browser_handle = 1;
462
- optional string text = 2;
463
- }
464
-
465
- message CMsgUpdateToolTip {
466
- optional uint32 browser_handle = 1;
467
- optional string text = 2;
468
- }
469
-
470
- message CMsgHideToolTip {
471
- optional uint32 browser_handle = 1;
472
- }
473
-
474
- message CMsgSearchResults {
475
- optional uint32 browser_handle = 1;
476
- optional int32 activeMatch = 2;
477
- optional int32 results = 3;
478
- }
479
-
480
- message CMsgClose {
481
- optional uint32 browser_handle = 1;
482
- }
483
-
484
- message CMsgSetSharedPaintBuffers {
485
- optional uint32 browser_handle = 1;
486
- optional uint32 wide = 2;
487
- optional uint32 tall = 3;
488
- optional uint64 source_pid = 4;
489
- optional uint64 source_handle = 5;
490
- optional uint64 handle = 6;
491
- }
492
-
493
- message CMsgAckSharedPaintBuffers {
494
- optional uint32 browser_handle = 1;
495
- }
496
-
497
- message CMsgNeedsPaint {
498
- optional uint32 browser_handle = 1;
499
- optional uint32 scrollx = 10;
500
- optional uint32 scrolly = 11;
501
- optional float pagescale = 12;
502
- optional uint32 pageserial = 15;
503
- optional uint32 avg_frame_ms = 20;
504
- optional float stddev_sum_frame_ms = 21;
505
- optional uint32 long_frame_ms = 22;
506
- }
507
-
508
- message CMsgComboNeedsPaint {
509
- optional uint32 browser_handle = 1;
510
- optional uint64 rgba = 2;
511
- optional uint32 combobox_wide = 3 [default = 0];
512
- optional uint32 combobox_tall = 4 [default = 0];
513
- optional uint64 shared_memory_handle = 5 [default = 0];
514
- optional uint64 shared_memory_size = 7 [default = 0];
515
- }
516
-
517
- message CMsgNeedsSharedTexturePaint {
518
- optional uint32 browser_handle = 1;
519
- optional uint32 share_handle = 2;
520
- optional uint32 width = 3;
521
- optional uint32 height = 4;
522
- optional uint32 scrollx = 5;
523
- optional uint32 scrolly = 6;
524
- optional float pagescale = 7;
525
- optional uint32 pageserial = 8;
526
- }
527
-
528
- message CMsgGameOverlayTexturePaint {
529
- optional uint32 browser_handle = 1;
530
- optional uint32 width = 3;
531
- optional uint32 height = 4;
532
- optional uint32 scrollx = 5;
533
- optional uint32 scrolly = 6;
534
- optional float pagescale = 7;
535
- optional uint32 pageserial = 8;
536
- }
537
-
538
- message CMsgGetZoom {
539
- optional uint32 browser_handle = 1;
540
- }
541
-
542
- message CMsgGetZoomResponse {
543
- optional uint32 browser_handle = 1;
544
- optional float zoom = 2;
545
- }
546
-
547
- message CMsgLinkAtPosition {
548
- optional uint32 browser_handle = 1;
549
- optional uint32 x = 2;
550
- optional uint32 y = 3;
551
- }
552
-
553
- message CMsgLinkAtPositionResponse {
554
- optional uint32 browser_handle = 1;
555
- optional uint32 x = 2;
556
- optional uint32 y = 3;
557
- optional string url = 4;
558
- optional bool blivelink = 5;
559
- optional bool binput = 6;
560
- }
561
-
562
- message CMsgZoomToElementAtPosition {
563
- optional uint32 browser_handle = 1;
564
- optional uint32 x = 2;
565
- optional uint32 y = 3;
566
- }
567
-
568
- message CMsgZoomToElementAtPositionResponse {
569
- optional uint32 browser_handle = 1;
570
- optional float scale = 2;
571
- optional float duration = 3;
572
- }
573
-
574
- message CMsgScalePageToValue {
575
- optional uint32 browser_handle = 1;
576
- optional float scale = 2;
577
- optional float x = 3;
578
- optional float y = 4;
579
- }
580
-
581
- message CMsgForcePopupsToDirectHWND {
582
- optional uint32 browser_handle = 1;
583
- optional bool force_direct_hwnd_popups = 2;
584
- }
585
-
586
- message CMsgScalePageToValueResponse {
587
- optional uint32 browser_handle = 1;
588
- optional float zoom = 2;
589
- }
590
-
591
- message CMsgSavePageToJPEG {
592
- optional uint32 browser_handle = 1;
593
- optional string url = 2;
594
- optional string filename = 3;
595
- optional uint32 width = 4;
596
- optional uint32 height = 5;
597
- }
598
-
599
- message CMsgSavePageToJPEGResponse {
600
- optional uint32 browser_handle = 1;
601
- optional string url = 2;
602
- optional string filename = 3;
603
- }
604
-
605
- message CMsgJSAlert {
606
- optional uint32 browser_handle = 1;
607
- optional string message = 2;
608
- }
609
-
610
- message CMsgJSConfirm {
611
- optional uint32 browser_handle = 1;
612
- optional string message = 2;
613
- }
614
-
615
- message CMsgJSDialogResponse {
616
- optional uint32 browser_handle = 1;
617
- optional bool result = 2;
618
- }
619
-
620
- message CMsgCanGoBackAndForward {
621
- optional uint32 browser_handle = 1;
622
- optional bool bgoback = 2;
623
- optional bool bgoforward = 3;
624
- }
625
-
626
- message CMsgOpenSteamURL {
627
- optional uint32 browser_handle = 1;
628
- optional string url = 2;
629
- optional string referrer = 3;
630
- }
631
-
632
- message CMsgSetCookie {
633
- optional string key = 1;
634
- optional string value = 2;
635
- optional string path = 3;
636
- optional string host = 4;
637
- optional uint32 expires = 5;
638
- optional bool secure = 6;
639
- optional bool httponly = 7;
640
- }
641
-
642
- message CMsgSetTargetFrameRate {
643
- optional uint32 browser_handle = 1;
644
- optional uint32 nTargetFrameRate = 2;
645
- }
646
-
647
- message CMsgPauseRepaint {
648
- optional uint32 browser_handle = 1;
649
- }
650
-
651
- message CMsgFullRepaint {
652
- optional uint32 browser_handle = 1;
653
- }
654
-
655
- message CMsgRequestFullScreen {
656
- optional uint32 browser_handle = 1;
657
- }
658
-
659
- message CMsgExitFullScreen {
660
- optional uint32 browser_handle = 1;
661
- }
662
-
663
- message CMsgToggleFindInPageDialog {
664
- optional uint32 browser_handle = 1;
665
- }
666
-
667
- message CMsgSetPIDShuttingDown {
668
- optional uint32 browser_handle = 1;
669
- }
670
-
671
- message CMsgDisableBackgroundThrottling {
672
- optional uint32 browser_handle = 1;
673
- }
674
-
675
- message CMsgAckPIDShuttingDown {
676
- optional uint32 browser_handle = 1;
677
- }
678
-
679
- message CMsgGetCookiesForURL {
680
- optional uint32 browser_handle = 1;
681
- optional string url = 2;
682
- }
683
-
684
- message CCookie {
685
- optional string name = 1;
686
- optional string value = 2;
687
- optional string domain = 3;
688
- optional string path = 4;
689
- }
690
-
691
- message CMsgGetCookiesForURLResponse {
692
- optional uint32 browser_handle = 1;
693
- optional string url = 2;
694
- repeated .CCookie cookies = 3;
695
- }
696
-
697
- message CMsgNodeHasFocus {
698
- optional uint32 browser_handle = 1;
699
- optional bool bInput = 2;
700
- optional string name = 3;
701
- optional string elementtagname = 4;
702
- optional string searchbuttontext = 5;
703
- optional bool bHasMultipleInputs = 6;
704
- optional string input_type = 7;
705
- optional bool bIsMainFrame = 8;
706
- }
707
-
708
- message CMsgZoomToFocusedElement {
709
- optional uint32 browser_handle = 1;
710
- }
711
-
712
- message CMsgFocusedNodeText {
713
- optional uint32 browser_handle = 1;
714
- }
715
-
716
- message CMsgFocusedNodeTextResponse {
717
- optional uint32 browser_handle = 1;
718
- optional string value = 2;
719
- }
720
-
721
- message CMsgBuildID {
722
- optional uint64 build_id = 1;
723
- }
724
-
725
- message CMsgOpenDevTools {
726
- optional uint32 browser_handle = 1;
727
- }
728
-
729
- message CMsgCloseDevTools {
730
- optional uint32 browser_handle = 1;
731
- }
732
-
733
- message CMsgUnlockH264 {
734
- optional uint32 browser_handle = 1;
735
- optional string unlock_code = 2;
736
- }
737
-
738
- message CMsgScreenInformationChanged {
739
- optional uint32 browser_handle = 1;
740
- optional uint32 override_width = 2;
741
- optional uint32 override_height = 3;
742
- optional uint32 monitor_left = 4;
743
- optional uint32 monitor_top = 5;
744
- optional uint32 monitor_right = 6;
745
- optional uint32 monitor_bottom = 7;
746
- optional uint32 usable_left = 8;
747
- optional uint32 usable_top = 9;
748
- optional uint32 usable_right = 10;
749
- optional uint32 usable_bottom = 11;
750
- }
751
-
752
- message CMsgClearAllCookies {
753
- optional uint32 browser_handle = 1;
754
- }
755
-
756
- message CMsgScreenDPI {
757
- optional uint32 browser_handle = 1;
758
- optional float dpi_scaling = 2;
759
- }
760
-
761
- message CMsgAckScreenDPI {
762
- optional uint32 browser_handle = 1;
763
- }
764
-
765
- message CMsgAuthedSteamDomains {
766
- repeated string domains = 1;
767
- }
768
-
769
- message CMsgSteamAuthNeeded {
770
- optional bool filler = 1;
771
- }
772
-
773
- message CMsgSteamAuthCookiesSet {
774
- optional bool success = 1;
775
- }
776
-
777
- message CMsgJSRegisterMethod {
778
- optional uint32 browser_handle = 1;
779
- optional string name = 2;
780
- optional .EJSRegisterMethodType method_type = 3 [default = k_EJSRegisterMethodType_Invalid];
781
- }
782
-
783
- message CMsgJSValue {
784
- message JSObjectProperty {
785
- optional string name = 1;
786
- optional .CMsgJSValue value = 2;
787
- }
788
-
789
- optional bool bool_value = 1;
790
- optional int32 int_value = 2;
791
- optional uint32 uint_value = 3;
792
- optional double double_value = 4;
793
- optional string string_value = 5;
794
- optional uint64 function_handle = 6;
795
- optional bytes bytes_value = 12;
796
- optional bool is_array = 8;
797
- repeated .CMsgJSValue array_values = 9;
798
- optional bool is_object = 10;
799
- repeated .CMsgJSValue.JSObjectProperty object_properties = 11;
800
- }
801
-
802
- message CMsgJSMethodCall {
803
- optional uint32 browser_handle = 1;
804
- optional uint32 owning_browser_handle = 2;
805
- optional string name = 3;
806
- repeated .CMsgJSValue arguments = 4;
807
- }
808
-
809
- message CMsgJSExecuteCallback {
810
- optional uint32 browser_handle = 1;
811
- optional uint32 owning_browser_handle = 2;
812
- optional uint64 function_handle = 3;
813
- repeated .CMsgJSValue arguments = 4;
814
- }
815
-
816
- message CMsgJSReleaseCallback {
817
- optional uint32 browser_handle = 1;
818
- optional uint32 owning_browser_handle = 2;
819
- optional uint64 function_handle = 3;
820
- }
821
-
822
- message CMsgJSRaiseException {
823
- optional uint32 browser_handle = 1;
824
- optional uint32 owning_browser_handle = 2;
825
- optional string exception = 3;
826
- }
827
-
828
- message CMsgLoadLocalization {
829
- optional uint32 browser_handle = 1;
830
- optional string localization_path = 2;
831
- optional string language = 3;
832
- }
833
-
834
- message CMsgNotifyUserActivation {
835
- optional uint32 browser_handle = 1;
836
- }
837
-
838
- message CMsgSetNetFakeLocalSystemState {
839
- optional uint32 state = 1;
840
- }
841
-
842
- message CMsgSetGameOverlayTargetPIDs {
843
- optional uint32 browser_handle = 1;
844
- repeated uint32 target_pid = 2;
845
- }
846
-
847
- message CMsgGameOverlayTargetTextureID {
848
- optional uint32 browser_handle = 1;
849
- optional uint32 target_pid = 2;
850
- optional uint32 texture_handle = 3;
851
- }
852
-
853
- message CMsgDraggableRegionsChanged {
854
- message DraggableRects {
855
- optional int32 x = 1;
856
- optional int32 y = 2;
857
- optional int32 width = 3;
858
- optional int32 height = 4;
859
- optional bool draggable = 5;
860
- }
861
-
862
- optional uint32 browser_handle = 1;
863
- repeated .CMsgDraggableRegionsChanged.DraggableRects rects = 2;
864
- }
865
-
866
- message CMsgResizeGripChanged {
867
- optional uint32 browser_handle = 1;
868
- optional int32 width = 2;
869
- optional int32 height = 3;
870
- }
871
-
872
- message CMsgSetWindowPosition {
873
- optional uint32 browser_handle = 1;
874
- optional double x = 2;
875
- optional double y = 3;
876
- optional double width = 4;
877
- optional double height = 5;
878
- optional double min_width = 6;
879
- optional double min_height = 7;
880
- optional double max_width = 8;
881
- optional double max_height = 9;
882
- }
883
-
884
- message CMsgShowWindow {
885
- optional uint32 browser_handle = 1;
886
- }
887
-
888
- message CMsgHideWindow {
889
- optional uint32 browser_handle = 1;
890
- }
891
-
892
- message CMsgBringWindowToFront {
893
- optional uint32 browser_handle = 1;
894
- }
895
-
896
- message CMsgSetForegroundWindow {
897
- optional uint32 browser_handle = 1;
898
- }
899
-
900
- message CMsgMaximizeRestoreWindow {
901
- optional uint32 browser_handle = 1;
902
- }
903
-
904
- message CMsgMinimizeWindow {
905
- optional uint32 browser_handle = 1;
906
- }
907
-
908
- message CMsgShowBrowserContextMenu {
909
- message ContextCommand {
910
- optional int32 id = 1;
911
- optional string label = 2;
912
- }
913
-
914
- optional uint32 browser_handle = 1;
915
- repeated .CMsgShowBrowserContextMenu.ContextCommand custom_commands = 2;
916
- optional uint32 type_flags = 3;
917
- optional string page_url = 4;
918
- optional int32 coord_x = 5;
919
- optional int32 coord_y = 6;
920
- optional string link_url = 7;
921
- optional string unfiltered_link_url = 8;
922
- optional string selection_text = 9;
923
- optional string misspelled_word = 10;
924
- optional uint32 edit_state_flags = 11;
925
- }
926
-
927
- message CMsgHandleContextMenuCommand {
928
- optional uint32 browser_handle = 1;
929
- optional int32 command_id = 2;
930
- }
931
-
932
- message CMsgTouchGesture {
933
- optional uint32 browser_handle = 1;
934
- optional int32 id = 2;
935
- optional uint32 gesture = 3;
936
- optional double x = 4;
937
- optional double y = 5;
938
- optional double width = 6;
939
- optional double height = 7;
940
- optional uint32 tap_count = 8;
941
- optional double pinch_scale = 9;
942
- }
943
-
944
- message CMsgSetTouchGesturesToCancel {
945
- optional uint32 browser_handle = 1;
946
- repeated uint32 gestures = 2;
947
- }
948
-
949
- message CMsgImeSetComposition {
950
- optional uint32 browser_handle = 1;
951
- optional string text = 2;
952
- }
953
-
954
- message CMsgImeCommitText {
955
- optional uint32 browser_handle = 1;
956
- optional string text = 2;
957
- }
958
-
959
- message CMsgImeCancelComposition {
960
- optional uint32 browser_handle = 1;
961
- }
962
-
963
- message CMsgImeCompositionRangeChanged {
964
- optional uint32 browser_handle = 1;
965
- optional uint32 x = 2;
966
- optional uint32 y = 3;
967
- }
968
-
969
- message CMsgInspectElement {
970
- optional uint32 browser_handle = 1;
971
- optional uint32 x = 2;
972
- optional uint32 y = 3;
973
- }
974
-
975
- message CMsgDisableF5 {
976
- optional uint32 browser_handle = 1;
977
- optional bool disable = 2;
978
- }
979
-
980
- message CMsgStartDownload {
981
- optional uint32 browser_handle = 1;
982
- optional string url = 2;
983
- }
984
-
985
- message CMsgSetTopWindow {
986
- optional uint32 browser_handle = 1;
987
- }
988
-
989
- message CMsgBrowserViewPostMessageToParentRequest {
990
- optional uint32 browser_handle = 1;
991
- optional string message = 2;
992
- optional string args = 3;
993
- optional string requesting_url = 4;
994
- }
995
-
996
- message CMsgBlockedRequest {
997
- optional uint32 browser_handle = 1;
998
- optional string url = 2;
999
- }
1000
-
1001
- message CMsgBrowserFocusChanged {
1002
- optional uint32 browser_handle = 1;
1003
- optional bool focused = 2;
1004
- }
1005
-
1006
- message CMsgSetProtocolBlockList {
1007
- optional uint32 browser_handle = 1;
1008
- optional string list = 2;
1009
- }
1010
-
1011
- message CMsgSetForceDeviceScaleFactors {
1012
- optional double dpi_scale = 1;
1013
- optional double browser_scale = 2;
1014
- }
1015
-
1016
- message CMsgSetUIMode {
1017
- optional int32 ui_mode = 1;
1018
- }
1019
-
1020
- message CMsgPopupCreated {
1021
- optional uint32 browser_handle = 1;
1022
- }
1023
-
1024
- message CMsgSetVRKeyboardVisibility {
1025
- optional uint32 browser_handle = 1;
1026
- optional bool visible = 2;
1027
- }
1
+ option optimize_for = SPEED;
2
+ option cc_generic_services = false;
3
+
4
+ enum EJSRegisterMethodType {
5
+ k_EJSRegisterMethodType_Invalid = 0;
6
+ k_EJSRegisterMethodType_Function = 1;
7
+ k_EJSRegisterMethodType_Callback = 2;
8
+ k_EJSRegisterMethodType_Promise = 3;
9
+ }
10
+
11
+ message CMsgKeyUp {
12
+ optional uint32 browser_handle = 1;
13
+ optional uint32 keyCode = 2;
14
+ optional uint32 modifiers = 3;
15
+ optional uint32 nativeKeyCode = 4;
16
+ }
17
+
18
+ message CMsgKeyDown {
19
+ optional uint32 browser_handle = 1;
20
+ optional uint32 keyCode = 2;
21
+ optional uint32 modifiers = 3;
22
+ optional bool is_system_key = 4;
23
+ optional uint32 nativeKeyCode = 5;
24
+ }
25
+
26
+ message CMsgKeyChar {
27
+ optional uint32 browser_handle = 1;
28
+ optional uint32 unichar = 2;
29
+ optional uint32 modifiers = 3;
30
+ optional uint32 keyCode = 4;
31
+ optional uint32 nativeKeyCode = 5;
32
+ }
33
+
34
+ message CMsgMouseDown {
35
+ optional uint32 browser_handle = 1;
36
+ optional uint32 mouse_button = 2;
37
+ optional uint32 modifiers = 3;
38
+ }
39
+
40
+ message CMsgMouseUp {
41
+ optional uint32 browser_handle = 1;
42
+ optional uint32 mouse_button = 2;
43
+ optional uint32 modifiers = 3;
44
+ optional bool is_off_panel = 4;
45
+ optional int32 x = 5;
46
+ optional int32 y = 6;
47
+ }
48
+
49
+ message CMsgMouseDblClick {
50
+ optional uint32 browser_handle = 1;
51
+ optional uint32 mouse_button = 2;
52
+ optional uint32 modifiers = 3;
53
+ }
54
+
55
+ message CMsgMouseWheel {
56
+ optional uint32 browser_handle = 1;
57
+ optional int32 deltax = 2;
58
+ optional int32 deltay = 3;
59
+ optional uint32 modifiers = 4;
60
+ }
61
+
62
+ message CMsgMouseMove {
63
+ optional uint32 browser_handle = 1;
64
+ optional int32 x = 2;
65
+ optional int32 y = 3;
66
+ optional uint32 modifiers = 4;
67
+ }
68
+
69
+ message CMsgMouseLeave {
70
+ optional uint32 browser_handle = 1;
71
+ }
72
+
73
+ message CMsgBrowserCreate {
74
+ optional uint32 request_id = 1;
75
+ optional string useragent = 3;
76
+ optional string user_css = 5;
77
+ optional bool native_dropdowns = 6;
78
+ optional float dpi_scaling = 7;
79
+ optional bool offscreen = 8 [default = true];
80
+ optional uint32 initial_width = 9 [default = 0];
81
+ optional uint32 initial_height = 10 [default = 0];
82
+ optional string window_icon = 11;
83
+ optional bool borderless = 12 [default = false];
84
+ optional string vroverlay_key = 13;
85
+ optional uint32 browser_type = 14 [default = 0];
86
+ optional int32 initial_top = 15 [default = -2147483648];
87
+ optional int32 initial_left = 16 [default = -2147483648];
88
+ optional bool only_allow_trusted_popups = 17 [default = false];
89
+ optional string initial_url = 18;
90
+ optional fixed64 hwnd_parent = 19;
91
+ optional uint32 creation_flags = 20 [default = 0];
92
+ }
93
+
94
+ message CMsgBrowserCreateResponse {
95
+ optional uint32 browser_handle = 1;
96
+ optional uint32 request_id = 2;
97
+ }
98
+
99
+ message CMsgBrowserRemove {
100
+ optional uint32 browser_handle = 1;
101
+ }
102
+
103
+ message CMsgSetLocalFileRequestMapping {
104
+ message AdditionalRoute {
105
+ optional string relative_url = 1;
106
+ optional string local_path = 2;
107
+ optional string allowed_extensions = 3;
108
+ optional bool url_rewrite = 4;
109
+ }
110
+
111
+ optional uint32 browser_handle = 1;
112
+ optional string request_url = 2;
113
+ optional string default_local_path = 3;
114
+ repeated .CMsgSetLocalFileRequestMapping.AdditionalRoute routes = 4;
115
+ }
116
+
117
+ message CMsgBrowserErrorStrings {
118
+ optional uint32 browser_handle = 1;
119
+ optional string title = 2;
120
+ optional string header = 3;
121
+ optional string cache_miss = 4;
122
+ optional string bad_url = 5;
123
+ optional string connection_problem = 6;
124
+ optional string proxy_problem = 7;
125
+ optional string unknown = 8;
126
+ }
127
+
128
+ message CMsgBrowserSetName {
129
+ optional uint32 browser_handle = 1;
130
+ optional string name = 2;
131
+ }
132
+
133
+ message CMsgBrowserSize {
134
+ optional uint32 browser_handle = 1;
135
+ optional double width = 2;
136
+ optional double height = 3;
137
+ }
138
+
139
+ message CMsgBrowserSetMinSize {
140
+ optional uint32 browser_handle = 1;
141
+ optional double width = 2;
142
+ optional double height = 3;
143
+ }
144
+
145
+ message CMsgBrowserPosition {
146
+ optional uint32 browser_handle = 1;
147
+ optional double x = 2;
148
+ optional double y = 3;
149
+ optional double x_local = 4;
150
+ optional double y_local = 5;
151
+ }
152
+
153
+ message CMsgBrowserResized {
154
+ optional uint32 browser_handle = 1;
155
+ optional double x = 2;
156
+ optional double y = 3;
157
+ optional double width = 4;
158
+ optional double height = 5;
159
+ optional double dpi_horizontal = 6;
160
+ optional double dpi_vertical = 7;
161
+ optional string display_name = 8;
162
+ }
163
+
164
+ message CMsgPostURL {
165
+ optional uint32 browser_handle = 1;
166
+ optional string url = 2;
167
+ optional string post = 3;
168
+ optional uint32 pageserial = 4;
169
+ optional bool replace_entry = 5;
170
+ }
171
+
172
+ message CMsgAddHeader {
173
+ optional uint32 browser_handle = 1;
174
+ optional string key = 2;
175
+ optional string value = 3;
176
+ }
177
+
178
+ message CMsgStopLoad {
179
+ optional uint32 browser_handle = 1;
180
+ }
181
+
182
+ message CMsgReload {
183
+ optional uint32 browser_handle = 1;
184
+ }
185
+
186
+ message CMsgGoForward {
187
+ optional uint32 browser_handle = 1;
188
+ }
189
+
190
+ message CMsgGoBack {
191
+ optional uint32 browser_handle = 1;
192
+ }
193
+
194
+ message CMsgWasHidden {
195
+ optional uint32 browser_handle = 1;
196
+ optional bool hidden = 2;
197
+ }
198
+
199
+ message CMsgSetWindowVisibility {
200
+ optional uint32 browser_handle = 1;
201
+ optional bool visible = 2;
202
+ }
203
+
204
+ message CMsgClearHistory {
205
+ optional uint32 browser_handle = 1;
206
+ }
207
+
208
+ message CMsgClearAllBrowsingData {
209
+ optional uint32 browser_handle = 1;
210
+ }
211
+
212
+ message CMsgCopy {
213
+ optional uint32 browser_handle = 1;
214
+ }
215
+
216
+ message CMsgPaste {
217
+ optional uint32 browser_handle = 1;
218
+ }
219
+
220
+ message CMsgExecuteJavaScript {
221
+ optional uint32 browser_handle = 1;
222
+ optional string script = 2;
223
+ }
224
+
225
+ message CMsgSetFocus {
226
+ optional uint32 browser_handle = 1;
227
+ optional bool focus = 2;
228
+ }
229
+
230
+ message CMsgHorizontalScrollBarSize {
231
+ optional uint32 browser_handle = 1;
232
+ }
233
+
234
+ message CMsgHorizontalScrollBarSizeResponse {
235
+ optional uint32 browser_handle = 1;
236
+ optional uint32 scroll_max = 6;
237
+ optional uint32 scroll = 7;
238
+ optional float zoom = 8;
239
+ optional bool visible = 9;
240
+ optional uint32 page_size = 10;
241
+ }
242
+
243
+ message CMsgVerticalScrollBarSize {
244
+ optional uint32 browser_handle = 1;
245
+ }
246
+
247
+ message CMsgVerticalScrollBarSizeResponse {
248
+ optional uint32 browser_handle = 1;
249
+ optional uint32 scroll_max = 6;
250
+ optional uint32 scroll = 7;
251
+ optional float zoom = 8;
252
+ optional bool visible = 9;
253
+ optional uint32 page_size = 10;
254
+ }
255
+
256
+ message CMsgFind {
257
+ optional uint32 browser_handle = 1;
258
+ optional string find = 2;
259
+ optional bool infind = 3;
260
+ optional bool reverse = 4 [default = false];
261
+ }
262
+
263
+ message CMsgStopFind {
264
+ optional uint32 browser_handle = 1;
265
+ }
266
+
267
+ message CMsgSetHorizontalScroll {
268
+ optional uint32 browser_handle = 1;
269
+ optional uint32 scroll = 2;
270
+ }
271
+
272
+ message CMsgSetVerticalScroll {
273
+ optional uint32 browser_handle = 1;
274
+ optional uint32 scroll = 2;
275
+ }
276
+
277
+ message CMsgSetZoomLevel {
278
+ optional uint32 browser_handle = 1;
279
+ optional double zoom = 2;
280
+ }
281
+
282
+ message CMsgViewSource {
283
+ optional uint32 browser_handle = 1;
284
+ }
285
+
286
+ message CMsgBrowserReady {
287
+ optional uint32 browser_handle = 1;
288
+ optional string vr_overlay_key = 2;
289
+ optional fixed64 hwnd_browser = 3;
290
+ }
291
+
292
+ message CMsgURLChanged {
293
+ optional uint32 browser_handle = 1;
294
+ optional string url = 2;
295
+ optional string postData = 3;
296
+ optional bool bIsRedirect = 4;
297
+ optional string pagetitle = 5;
298
+ optional bool bNewNavigation = 6;
299
+ }
300
+
301
+ message CHistoryEntry {
302
+ optional string url = 1;
303
+ }
304
+
305
+ message CMsgHistoryChanged {
306
+ optional uint32 browser_handle = 1;
307
+ optional uint32 index = 2;
308
+ repeated .CHistoryEntry entries = 3;
309
+ }
310
+
311
+ message CMsgLoadError {
312
+ optional uint32 browser_handle = 1;
313
+ optional int32 error_code = 2;
314
+ optional string url = 3;
315
+ optional string error_description = 4;
316
+ }
317
+
318
+ message CHTMLHeader {
319
+ optional string key = 1;
320
+ optional string value = 2;
321
+ }
322
+
323
+ message CHTMLPageSecurityInfo {
324
+ optional bool bIsSecure = 1 [default = false];
325
+ optional bool bHasCertError = 2 [default = false];
326
+ optional string issuerName = 3;
327
+ optional string certName = 4;
328
+ optional int32 certExpiry = 5 [default = 0];
329
+ optional int32 nCertBits = 6 [default = 0];
330
+ optional bool bIsEVCert = 7 [default = false];
331
+ }
332
+
333
+ message CMsgFinishedRequest {
334
+ optional uint32 browser_handle = 1;
335
+ optional string url = 2;
336
+ optional string pageTitle = 3;
337
+ }
338
+
339
+ message CMsgLoadedRequest {
340
+ optional uint32 browser_handle = 1;
341
+ optional string url = 2;
342
+ optional string pageTitle = 3;
343
+ repeated .CHTMLHeader headers = 5;
344
+ }
345
+
346
+ message CMsgFavIconURLChanged {
347
+ optional uint32 browser_handle = 1;
348
+ repeated string urls = 2;
349
+ }
350
+
351
+ message CMsgPageSecurity {
352
+ optional uint32 browser_handle = 1;
353
+ optional string url = 2;
354
+ optional .CHTMLPageSecurityInfo security_info = 3;
355
+ }
356
+
357
+ message CMsgStartRequest {
358
+ optional uint32 browser_handle = 1;
359
+ optional string url = 2;
360
+ optional string target = 3;
361
+ optional string postData = 4;
362
+ optional bool bIsRedirect = 5;
363
+ }
364
+
365
+ message CMsgStartRequestResponse {
366
+ optional uint32 browser_handle = 1;
367
+ optional bool bAllow = 2;
368
+ }
369
+
370
+ message CMsgShowPopup {
371
+ optional uint32 browser_handle = 1;
372
+ }
373
+
374
+ message CMsgHidePopup {
375
+ optional uint32 browser_handle = 1;
376
+ }
377
+
378
+ message CMsgSizePopup {
379
+ optional uint32 browser_handle = 1;
380
+ optional int32 x = 2;
381
+ optional int32 y = 3;
382
+ optional uint32 wide = 4;
383
+ optional uint32 tall = 5;
384
+ }
385
+
386
+ message CMsgOpenNewTab {
387
+ optional uint32 browser_handle = 1;
388
+ optional string url = 2;
389
+ optional bool bForeground = 3;
390
+ }
391
+
392
+ message CMsgPopupHTMLWindow {
393
+ optional uint32 browser_handle = 1;
394
+ optional string url = 2;
395
+ optional int32 x = 3 [default = -2147483648];
396
+ optional int32 y = 4 [default = -2147483648];
397
+ optional uint32 wide = 5;
398
+ optional uint32 tall = 6;
399
+ optional uint32 popup_index = 7;
400
+ optional bool trusted_creator = 8;
401
+ optional string name = 9;
402
+ optional uint64 hwnd = 10;
403
+ optional uint32 parent_popup_index = 11;
404
+ }
405
+
406
+ message CMsgPopupHTMLWindowResponse {
407
+ optional uint32 browser_handle = 1;
408
+ optional bool bAllow = 2;
409
+ }
410
+
411
+ message CMsgSetHTMLTitle {
412
+ optional uint32 browser_handle = 1;
413
+ optional string title = 2;
414
+ }
415
+
416
+ message CMsgLoadingResource {
417
+ optional uint32 browser_handle = 1;
418
+ optional string url = 2;
419
+ }
420
+
421
+ message CMsgStatusText {
422
+ optional uint32 browser_handle = 1;
423
+ optional string text = 2;
424
+ }
425
+
426
+ message CMsgSetCursor {
427
+ optional uint32 browser_handle = 1;
428
+ optional uint32 cursor = 2;
429
+ optional bytes custom_data = 3;
430
+ optional uint32 wide = 4;
431
+ optional uint32 tall = 5;
432
+ optional uint32 xhotspot = 6;
433
+ optional uint32 yhotspot = 7;
434
+ }
435
+
436
+ message CMsgFileLoadDialog {
437
+ message Filter {
438
+ optional string name = 1;
439
+ repeated string patterns = 2;
440
+ optional bool is_default = 3;
441
+ }
442
+
443
+ optional uint32 browser_handle = 1;
444
+ optional uint32 owning_browser_handle = 2;
445
+ optional string title = 3;
446
+ optional string initialFile = 4;
447
+ repeated string accept_types = 5;
448
+ optional bool is_save = 6;
449
+ optional bool choose_directory = 7;
450
+ repeated .CMsgFileLoadDialog.Filter filters = 8;
451
+ }
452
+
453
+ message CMsgFileLoadDialogResponse {
454
+ optional uint32 browser_handle = 1;
455
+ optional uint32 owning_browser_handle = 2;
456
+ optional bool bsuccess = 3;
457
+ repeated string files = 4;
458
+ }
459
+
460
+ message CMsgShowToolTip {
461
+ optional uint32 browser_handle = 1;
462
+ optional string text = 2;
463
+ }
464
+
465
+ message CMsgUpdateToolTip {
466
+ optional uint32 browser_handle = 1;
467
+ optional string text = 2;
468
+ }
469
+
470
+ message CMsgHideToolTip {
471
+ optional uint32 browser_handle = 1;
472
+ }
473
+
474
+ message CMsgSearchResults {
475
+ optional uint32 browser_handle = 1;
476
+ optional int32 activeMatch = 2;
477
+ optional int32 results = 3;
478
+ }
479
+
480
+ message CMsgClose {
481
+ optional uint32 browser_handle = 1;
482
+ }
483
+
484
+ message CMsgSetSharedPaintBuffers {
485
+ optional uint32 browser_handle = 1;
486
+ optional uint32 wide = 2;
487
+ optional uint32 tall = 3;
488
+ optional uint64 source_pid = 4;
489
+ optional uint64 source_handle = 5;
490
+ optional uint64 handle = 6;
491
+ }
492
+
493
+ message CMsgAckSharedPaintBuffers {
494
+ optional uint32 browser_handle = 1;
495
+ }
496
+
497
+ message CMsgNeedsPaint {
498
+ optional uint32 browser_handle = 1;
499
+ optional uint32 scrollx = 10;
500
+ optional uint32 scrolly = 11;
501
+ optional float pagescale = 12;
502
+ optional uint32 pageserial = 15;
503
+ optional uint32 avg_frame_ms = 20;
504
+ optional float stddev_sum_frame_ms = 21;
505
+ optional uint32 long_frame_ms = 22;
506
+ }
507
+
508
+ message CMsgComboNeedsPaint {
509
+ optional uint32 browser_handle = 1;
510
+ optional uint64 rgba = 2;
511
+ optional uint32 combobox_wide = 3 [default = 0];
512
+ optional uint32 combobox_tall = 4 [default = 0];
513
+ optional uint64 shared_memory_handle = 5 [default = 0];
514
+ optional uint64 shared_memory_size = 7 [default = 0];
515
+ }
516
+
517
+ message CMsgNeedsSharedTexturePaint {
518
+ optional uint32 browser_handle = 1;
519
+ optional uint32 share_handle = 2;
520
+ optional uint32 width = 3;
521
+ optional uint32 height = 4;
522
+ optional uint32 scrollx = 5;
523
+ optional uint32 scrolly = 6;
524
+ optional float pagescale = 7;
525
+ optional uint32 pageserial = 8;
526
+ }
527
+
528
+ message CMsgGameOverlayTexturePaint {
529
+ optional uint32 browser_handle = 1;
530
+ optional uint32 width = 3;
531
+ optional uint32 height = 4;
532
+ optional uint32 scrollx = 5;
533
+ optional uint32 scrolly = 6;
534
+ optional float pagescale = 7;
535
+ optional uint32 pageserial = 8;
536
+ }
537
+
538
+ message CMsgGetZoom {
539
+ optional uint32 browser_handle = 1;
540
+ }
541
+
542
+ message CMsgGetZoomResponse {
543
+ optional uint32 browser_handle = 1;
544
+ optional float zoom = 2;
545
+ }
546
+
547
+ message CMsgLinkAtPosition {
548
+ optional uint32 browser_handle = 1;
549
+ optional uint32 x = 2;
550
+ optional uint32 y = 3;
551
+ }
552
+
553
+ message CMsgLinkAtPositionResponse {
554
+ optional uint32 browser_handle = 1;
555
+ optional uint32 x = 2;
556
+ optional uint32 y = 3;
557
+ optional string url = 4;
558
+ optional bool blivelink = 5;
559
+ optional bool binput = 6;
560
+ }
561
+
562
+ message CMsgZoomToElementAtPosition {
563
+ optional uint32 browser_handle = 1;
564
+ optional uint32 x = 2;
565
+ optional uint32 y = 3;
566
+ }
567
+
568
+ message CMsgZoomToElementAtPositionResponse {
569
+ optional uint32 browser_handle = 1;
570
+ optional float scale = 2;
571
+ optional float duration = 3;
572
+ }
573
+
574
+ message CMsgScalePageToValue {
575
+ optional uint32 browser_handle = 1;
576
+ optional float scale = 2;
577
+ optional float x = 3;
578
+ optional float y = 4;
579
+ }
580
+
581
+ message CMsgForcePopupsToDirectHWND {
582
+ optional uint32 browser_handle = 1;
583
+ optional bool force_direct_hwnd_popups = 2;
584
+ }
585
+
586
+ message CMsgScalePageToValueResponse {
587
+ optional uint32 browser_handle = 1;
588
+ optional float zoom = 2;
589
+ }
590
+
591
+ message CMsgSavePageToJPEG {
592
+ optional uint32 browser_handle = 1;
593
+ optional string url = 2;
594
+ optional string filename = 3;
595
+ optional uint32 width = 4;
596
+ optional uint32 height = 5;
597
+ }
598
+
599
+ message CMsgSavePageToJPEGResponse {
600
+ optional uint32 browser_handle = 1;
601
+ optional string url = 2;
602
+ optional string filename = 3;
603
+ }
604
+
605
+ message CMsgJSAlert {
606
+ optional uint32 browser_handle = 1;
607
+ optional string message = 2;
608
+ }
609
+
610
+ message CMsgJSConfirm {
611
+ optional uint32 browser_handle = 1;
612
+ optional string message = 2;
613
+ }
614
+
615
+ message CMsgJSDialogResponse {
616
+ optional uint32 browser_handle = 1;
617
+ optional bool result = 2;
618
+ }
619
+
620
+ message CMsgCanGoBackAndForward {
621
+ optional uint32 browser_handle = 1;
622
+ optional bool bgoback = 2;
623
+ optional bool bgoforward = 3;
624
+ }
625
+
626
+ message CMsgOpenSteamURL {
627
+ optional uint32 browser_handle = 1;
628
+ optional string url = 2;
629
+ optional string referrer = 3;
630
+ }
631
+
632
+ message CMsgSetCookie {
633
+ optional string key = 1;
634
+ optional string value = 2;
635
+ optional string path = 3;
636
+ optional string host = 4;
637
+ optional uint32 expires = 5;
638
+ optional bool secure = 6;
639
+ optional bool httponly = 7;
640
+ }
641
+
642
+ message CMsgSetTargetFrameRate {
643
+ optional uint32 browser_handle = 1;
644
+ optional uint32 nTargetFrameRate = 2;
645
+ }
646
+
647
+ message CMsgPauseRepaint {
648
+ optional uint32 browser_handle = 1;
649
+ }
650
+
651
+ message CMsgFullRepaint {
652
+ optional uint32 browser_handle = 1;
653
+ }
654
+
655
+ message CMsgRequestFullScreen {
656
+ optional uint32 browser_handle = 1;
657
+ }
658
+
659
+ message CMsgExitFullScreen {
660
+ optional uint32 browser_handle = 1;
661
+ }
662
+
663
+ message CMsgToggleFindInPageDialog {
664
+ optional uint32 browser_handle = 1;
665
+ }
666
+
667
+ message CMsgSetPIDShuttingDown {
668
+ optional uint32 browser_handle = 1;
669
+ }
670
+
671
+ message CMsgDisableBackgroundThrottling {
672
+ optional uint32 browser_handle = 1;
673
+ }
674
+
675
+ message CMsgAckPIDShuttingDown {
676
+ optional uint32 browser_handle = 1;
677
+ }
678
+
679
+ message CMsgGetCookiesForURL {
680
+ optional uint32 browser_handle = 1;
681
+ optional string url = 2;
682
+ }
683
+
684
+ message CCookie {
685
+ optional string name = 1;
686
+ optional string value = 2;
687
+ optional string domain = 3;
688
+ optional string path = 4;
689
+ }
690
+
691
+ message CMsgGetCookiesForURLResponse {
692
+ optional uint32 browser_handle = 1;
693
+ optional string url = 2;
694
+ repeated .CCookie cookies = 3;
695
+ }
696
+
697
+ message CMsgNodeHasFocus {
698
+ optional uint32 browser_handle = 1;
699
+ optional bool bInput = 2;
700
+ optional string name = 3;
701
+ optional string elementtagname = 4;
702
+ optional string searchbuttontext = 5;
703
+ optional bool bHasMultipleInputs = 6;
704
+ optional string input_type = 7;
705
+ optional bool bIsMainFrame = 8;
706
+ }
707
+
708
+ message CMsgZoomToFocusedElement {
709
+ optional uint32 browser_handle = 1;
710
+ }
711
+
712
+ message CMsgFocusedNodeText {
713
+ optional uint32 browser_handle = 1;
714
+ }
715
+
716
+ message CMsgFocusedNodeTextResponse {
717
+ optional uint32 browser_handle = 1;
718
+ optional string value = 2;
719
+ }
720
+
721
+ message CMsgBuildID {
722
+ optional uint64 build_id = 1;
723
+ }
724
+
725
+ message CMsgOpenDevTools {
726
+ optional uint32 browser_handle = 1;
727
+ }
728
+
729
+ message CMsgCloseDevTools {
730
+ optional uint32 browser_handle = 1;
731
+ }
732
+
733
+ message CMsgUnlockH264 {
734
+ optional uint32 browser_handle = 1;
735
+ optional string unlock_code = 2;
736
+ }
737
+
738
+ message CMsgScreenInformationChanged {
739
+ optional uint32 browser_handle = 1;
740
+ optional uint32 override_width = 2;
741
+ optional uint32 override_height = 3;
742
+ optional uint32 monitor_left = 4;
743
+ optional uint32 monitor_top = 5;
744
+ optional uint32 monitor_right = 6;
745
+ optional uint32 monitor_bottom = 7;
746
+ optional uint32 usable_left = 8;
747
+ optional uint32 usable_top = 9;
748
+ optional uint32 usable_right = 10;
749
+ optional uint32 usable_bottom = 11;
750
+ }
751
+
752
+ message CMsgClearAllCookies {
753
+ optional uint32 browser_handle = 1;
754
+ }
755
+
756
+ message CMsgScreenDPI {
757
+ optional uint32 browser_handle = 1;
758
+ optional float dpi_scaling = 2;
759
+ }
760
+
761
+ message CMsgAckScreenDPI {
762
+ optional uint32 browser_handle = 1;
763
+ }
764
+
765
+ message CMsgAuthedSteamDomains {
766
+ repeated string domains = 1;
767
+ }
768
+
769
+ message CMsgSteamAuthNeeded {
770
+ optional bool filler = 1;
771
+ }
772
+
773
+ message CMsgSteamAuthCookiesSet {
774
+ optional bool success = 1;
775
+ }
776
+
777
+ message CMsgJSRegisterMethod {
778
+ optional uint32 browser_handle = 1;
779
+ optional string name = 2;
780
+ optional .EJSRegisterMethodType method_type = 3 [default = k_EJSRegisterMethodType_Invalid];
781
+ }
782
+
783
+ message CMsgJSValue {
784
+ message JSObjectProperty {
785
+ optional string name = 1;
786
+ optional .CMsgJSValue value = 2;
787
+ }
788
+
789
+ optional bool bool_value = 1;
790
+ optional int32 int_value = 2;
791
+ optional uint32 uint_value = 3;
792
+ optional double double_value = 4;
793
+ optional string string_value = 5;
794
+ optional uint64 function_handle = 6;
795
+ optional bytes bytes_value = 12;
796
+ optional bool is_array = 8;
797
+ repeated .CMsgJSValue array_values = 9;
798
+ optional bool is_object = 10;
799
+ repeated .CMsgJSValue.JSObjectProperty object_properties = 11;
800
+ }
801
+
802
+ message CMsgJSMethodCall {
803
+ optional uint32 browser_handle = 1;
804
+ optional uint32 owning_browser_handle = 2;
805
+ optional string name = 3;
806
+ repeated .CMsgJSValue arguments = 4;
807
+ }
808
+
809
+ message CMsgJSExecuteCallback {
810
+ optional uint32 browser_handle = 1;
811
+ optional uint32 owning_browser_handle = 2;
812
+ optional uint64 function_handle = 3;
813
+ repeated .CMsgJSValue arguments = 4;
814
+ }
815
+
816
+ message CMsgJSReleaseCallback {
817
+ optional uint32 browser_handle = 1;
818
+ optional uint32 owning_browser_handle = 2;
819
+ optional uint64 function_handle = 3;
820
+ }
821
+
822
+ message CMsgJSRaiseException {
823
+ optional uint32 browser_handle = 1;
824
+ optional uint32 owning_browser_handle = 2;
825
+ optional string exception = 3;
826
+ }
827
+
828
+ message CMsgLoadLocalization {
829
+ optional uint32 browser_handle = 1;
830
+ optional string localization_path = 2;
831
+ optional string language = 3;
832
+ }
833
+
834
+ message CMsgNotifyUserActivation {
835
+ optional uint32 browser_handle = 1;
836
+ }
837
+
838
+ message CMsgSetNetFakeLocalSystemState {
839
+ optional uint32 state = 1;
840
+ }
841
+
842
+ message CMsgSetGameOverlayTargetPIDs {
843
+ optional uint32 browser_handle = 1;
844
+ repeated uint32 target_pid = 2;
845
+ }
846
+
847
+ message CMsgGameOverlayTargetTextureID {
848
+ optional uint32 browser_handle = 1;
849
+ optional uint32 target_pid = 2;
850
+ optional uint32 texture_handle = 3;
851
+ }
852
+
853
+ message CMsgDraggableRegionsChanged {
854
+ message DraggableRects {
855
+ optional int32 x = 1;
856
+ optional int32 y = 2;
857
+ optional int32 width = 3;
858
+ optional int32 height = 4;
859
+ optional bool draggable = 5;
860
+ }
861
+
862
+ optional uint32 browser_handle = 1;
863
+ repeated .CMsgDraggableRegionsChanged.DraggableRects rects = 2;
864
+ }
865
+
866
+ message CMsgResizeGripChanged {
867
+ optional uint32 browser_handle = 1;
868
+ optional int32 width = 2;
869
+ optional int32 height = 3;
870
+ }
871
+
872
+ message CMsgSetWindowPosition {
873
+ optional uint32 browser_handle = 1;
874
+ optional double x = 2;
875
+ optional double y = 3;
876
+ optional double width = 4;
877
+ optional double height = 5;
878
+ optional double min_width = 6;
879
+ optional double min_height = 7;
880
+ optional double max_width = 8;
881
+ optional double max_height = 9;
882
+ }
883
+
884
+ message CMsgShowWindow {
885
+ optional uint32 browser_handle = 1;
886
+ }
887
+
888
+ message CMsgHideWindow {
889
+ optional uint32 browser_handle = 1;
890
+ }
891
+
892
+ message CMsgBringWindowToFront {
893
+ optional uint32 browser_handle = 1;
894
+ }
895
+
896
+ message CMsgSetForegroundWindow {
897
+ optional uint32 browser_handle = 1;
898
+ }
899
+
900
+ message CMsgMaximizeRestoreWindow {
901
+ optional uint32 browser_handle = 1;
902
+ }
903
+
904
+ message CMsgMinimizeWindow {
905
+ optional uint32 browser_handle = 1;
906
+ }
907
+
908
+ message CMsgShowBrowserContextMenu {
909
+ message ContextCommand {
910
+ optional int32 id = 1;
911
+ optional string label = 2;
912
+ }
913
+
914
+ optional uint32 browser_handle = 1;
915
+ repeated .CMsgShowBrowserContextMenu.ContextCommand custom_commands = 2;
916
+ optional uint32 type_flags = 3;
917
+ optional string page_url = 4;
918
+ optional int32 coord_x = 5;
919
+ optional int32 coord_y = 6;
920
+ optional string link_url = 7;
921
+ optional string unfiltered_link_url = 8;
922
+ optional string selection_text = 9;
923
+ optional string misspelled_word = 10;
924
+ optional uint32 edit_state_flags = 11;
925
+ }
926
+
927
+ message CMsgHandleContextMenuCommand {
928
+ optional uint32 browser_handle = 1;
929
+ optional int32 command_id = 2;
930
+ }
931
+
932
+ message CMsgTouchGesture {
933
+ optional uint32 browser_handle = 1;
934
+ optional int32 id = 2;
935
+ optional uint32 gesture = 3;
936
+ optional double x = 4;
937
+ optional double y = 5;
938
+ optional double width = 6;
939
+ optional double height = 7;
940
+ optional uint32 tap_count = 8;
941
+ optional double pinch_scale = 9;
942
+ }
943
+
944
+ message CMsgSetTouchGesturesToCancel {
945
+ optional uint32 browser_handle = 1;
946
+ repeated uint32 gestures = 2;
947
+ }
948
+
949
+ message CMsgImeSetComposition {
950
+ optional uint32 browser_handle = 1;
951
+ optional string text = 2;
952
+ }
953
+
954
+ message CMsgImeCommitText {
955
+ optional uint32 browser_handle = 1;
956
+ optional string text = 2;
957
+ }
958
+
959
+ message CMsgImeCancelComposition {
960
+ optional uint32 browser_handle = 1;
961
+ }
962
+
963
+ message CMsgImeCompositionRangeChanged {
964
+ optional uint32 browser_handle = 1;
965
+ optional uint32 x = 2;
966
+ optional uint32 y = 3;
967
+ }
968
+
969
+ message CMsgInspectElement {
970
+ optional uint32 browser_handle = 1;
971
+ optional uint32 x = 2;
972
+ optional uint32 y = 3;
973
+ }
974
+
975
+ message CMsgDisableF5 {
976
+ optional uint32 browser_handle = 1;
977
+ optional bool disable = 2;
978
+ }
979
+
980
+ message CMsgStartDownload {
981
+ optional uint32 browser_handle = 1;
982
+ optional string url = 2;
983
+ }
984
+
985
+ message CMsgSetTopWindow {
986
+ optional uint32 browser_handle = 1;
987
+ }
988
+
989
+ message CMsgBrowserViewPostMessageToParentRequest {
990
+ optional uint32 browser_handle = 1;
991
+ optional string message = 2;
992
+ optional string args = 3;
993
+ optional string requesting_url = 4;
994
+ }
995
+
996
+ message CMsgBlockedRequest {
997
+ optional uint32 browser_handle = 1;
998
+ optional string url = 2;
999
+ }
1000
+
1001
+ message CMsgBrowserFocusChanged {
1002
+ optional uint32 browser_handle = 1;
1003
+ optional bool focused = 2;
1004
+ }
1005
+
1006
+ message CMsgSetProtocolBlockList {
1007
+ optional uint32 browser_handle = 1;
1008
+ optional string list = 2;
1009
+ }
1010
+
1011
+ message CMsgSetForceDeviceScaleFactors {
1012
+ optional double dpi_scale = 1;
1013
+ optional double browser_scale = 2;
1014
+ }
1015
+
1016
+ message CMsgSetUIMode {
1017
+ optional int32 ui_mode = 1;
1018
+ }
1019
+
1020
+ message CMsgPopupCreated {
1021
+ optional uint32 browser_handle = 1;
1022
+ }
1023
+
1024
+ message CMsgSetVRKeyboardVisibility {
1025
+ optional uint32 browser_handle = 1;
1026
+ optional bool visible = 2;
1027
+ }