steamutils 1.4.70 → 1.4.72
Sign up to get free protection for your applications and to get access to all the features.
- package/.idea/codeStyles/Project.xml +0 -1
- package/.idea/gbrowser_project.xml +11 -0
- package/.idea/git_toolbox_blame.xml +6 -0
- package/.idea/git_toolbox_prj.xml +15 -0
- package/.prettierrc.json +3 -3
- package/SteamClient.js +3063 -3060
- package/_steamproto.js +33 -33
- package/axios.js +84 -84
- package/bufferHelpers.js +115 -115
- package/cheerio.js +103 -103
- package/const.js +458 -458
- package/create_proto.js +96 -96
- package/create_remote_file.js +66 -66
- package/helpers/protos.js +48 -48
- package/index.js +9 -0
- package/package.json +6 -6
- package/protos/csgo/base_gcmessages.proto +553 -553
- package/protos/csgo/base_gcmessages_csgo.proto +547 -547
- package/protos/csgo/c_peer2peer_netmessages.proto +55 -55
- package/protos/csgo/clientmessages.proto +48 -48
- package/protos/csgo/connectionless_netmessages.proto +17 -17
- package/protos/csgo/cs_gameevents.proto +35 -35
- package/protos/csgo/cs_usercmd.proto +34 -34
- package/protos/csgo/cstrike15_gcmessages.proto +1431 -1431
- package/protos/csgo/cstrike15_usermessages.proto +592 -592
- package/protos/csgo/demo.proto +165 -165
- package/protos/csgo/econ_gcmessages.proto +219 -219
- package/protos/csgo/enums_clientserver.proto +1529 -1529
- package/protos/csgo/fatdemo.proto +125 -125
- package/protos/csgo/gameevents.proto +120 -120
- package/protos/csgo/gcsdk_gcmessages.proto +323 -323
- package/protos/csgo/gcsystemmsgs.proto +243 -243
- package/protos/csgo/netmessages.proto +618 -618
- package/protos/csgo/networkbasetypes.proto +246 -246
- package/protos/csgo/networksystem_protomessages.proto +17 -17
- package/protos/csgo/steamdatagram_messages_auth.proto +65 -65
- package/protos/csgo/steamdatagram_messages_sdr.proto +534 -534
- package/protos/csgo/steammessages_cloud.steamworkssdk.proto +68 -68
- package/protos/csgo/steammessages_gamenetworkingui.proto +61 -61
- package/protos/csgo/steammessages_helprequest.steamworkssdk.proto +22 -22
- package/protos/csgo/steammessages_oauth.steamworkssdk.proto +18 -18
- package/protos/csgo/steammessages_player.steamworkssdk.proto +254 -254
- package/protos/csgo/steammessages_publishedfile.steamworkssdk.proto +233 -233
- package/protos/csgo/steamnetworkingsockets_messages.proto +205 -205
- package/protos/csgo/steamnetworkingsockets_messages_certs.proto +39 -39
- package/protos/csgo/steamnetworkingsockets_messages_udp.proto +75 -75
- package/protos/csgo/te.proto +259 -259
- package/protos/csgo/uifontfile_format.proto +13 -13
- package/protos/csgo/usercmd.proto +39 -39
- package/protos/csgo/usermessages.proto +752 -752
- package/protos/google/protobuf/descriptor.proto +281 -281
- package/protos/steam/clientmetrics.proto +45 -45
- package/protos/steam/content_manifest.proto +62 -62
- package/protos/steam/contenthubs.proto +41 -41
- package/protos/steam/encrypted_app_ticket.proto +10 -10
- package/protos/steam/enums.proto +501 -501
- package/protos/steam/enums_clientserver.proto +1508 -1508
- package/protos/steam/enums_productinfo.proto +14 -14
- package/protos/steam/htmlmessages.proto +1039 -1039
- package/protos/steam/offline_ticket.proto +8 -8
- package/protos/steam/steamdatagram_messages_auth.proto +65 -65
- package/protos/steam/steamdatagram_messages_sdr.proto +533 -533
- package/protos/steam/steammessages_accounthardware.steamclient.proto +167 -167
- package/protos/steam/steammessages_appoverview.proto +204 -204
- package/protos/steam/steammessages_auth.steamclient.proto +375 -375
- package/protos/steam/steammessages_broadcast.steamclient.proto +618 -618
- package/protos/steam/steammessages_chat.steamclient.proto +1070 -1070
- package/protos/steam/steammessages_client_objects.proto +649 -649
- package/protos/steam/steammessages_clientlanp2p.proto +43 -43
- package/protos/steam/steammessages_clientmetrics.steamclient.proto +192 -192
- package/protos/steam/steammessages_clientnotificationtypes.proto +250 -250
- package/protos/steam/steammessages_clientserver.proto +392 -392
- package/protos/steam/steammessages_clientserver_2.proto +771 -771
- package/protos/steam/steammessages_clientserver_appinfo.proto +131 -131
- package/protos/steam/steammessages_clientserver_friends.proto +260 -260
- package/protos/steam/steammessages_clientserver_gameservers.proto +159 -159
- package/protos/steam/steammessages_clientserver_lbs.proto +70 -70
- package/protos/steam/steammessages_clientserver_login.proto +167 -167
- package/protos/steam/steammessages_clientserver_mms.proto +233 -233
- package/protos/steam/steammessages_clientserver_ucm.proto +207 -207
- package/protos/steam/steammessages_clientserver_uds.proto +125 -125
- package/protos/steam/steammessages_clientserver_ufs.proto +45 -45
- package/protos/steam/steammessages_clientserver_userstats.proto +80 -80
- package/protos/steam/steammessages_cloud.steamclient.proto +422 -422
- package/protos/steam/steammessages_contentsystem.steamclient.proto +123 -123
- package/protos/steam/steammessages_credentials.steamclient.proto +96 -96
- package/protos/steam/steammessages_datapublisher.steamclient.proto +102 -102
- package/protos/steam/steammessages_depotbuilder.steamclient.proto +99 -99
- package/protos/steam/steammessages_deviceauth.steamclient.proto +169 -169
- package/protos/steam/steammessages_econ.steamclient.proto +137 -137
- package/protos/steam/steammessages_familygroups.steamclient.proto +441 -441
- package/protos/steam/steammessages_friendmessages.steamclient.proto +141 -141
- package/protos/steam/steammessages_gamenetworking.steamclient.proto +25 -25
- package/protos/steam/steammessages_gamenetworkingui.proto +61 -61
- package/protos/steam/steammessages_gamenotifications.steamclient.proto +131 -131
- package/protos/steam/steammessages_gameservers.steamclient.proto +136 -136
- package/protos/steam/steammessages_hiddevices.proto +157 -157
- package/protos/steam/steammessages_inventory.steamclient.proto +172 -172
- package/protos/steam/steammessages_linkfilter.steamclient.proto +39 -39
- package/protos/steam/steammessages_lobbymatchmaking.steamclient.proto +29 -29
- package/protos/steam/steammessages_market.steamclient.proto +22 -22
- package/protos/steam/steammessages_marketingmessages.steamclient.proto +273 -273
- package/protos/steam/steammessages_offline.steamclient.proto +33 -33
- package/protos/steam/steammessages_parental.steamclient.proto +262 -262
- package/protos/steam/steammessages_parties.steamclient.proto +75 -75
- package/protos/steam/steammessages_partnerapps.steamclient.proto +106 -106
- package/protos/steam/steammessages_player.steamclient.proto +915 -915
- package/protos/steam/steammessages_publishedfile.steamclient.proto +737 -737
- package/protos/steam/steammessages_qms.steamclient.proto +111 -111
- package/protos/steam/steammessages_remoteclient.proto +100 -100
- package/protos/steam/steammessages_remoteclient_discovery.proto +244 -244
- package/protos/steam/steammessages_remoteclient_service.steamclient.proto +31 -31
- package/protos/steam/steammessages_remoteclient_service_messages.proto +217 -217
- package/protos/steam/steammessages_remoteplay.proto +975 -975
- package/protos/steam/steammessages_secrets.steamclient.proto +35 -35
- package/protos/steam/steammessages_shader.steamclient.proto +89 -89
- package/protos/steam/steammessages_site_license.steamclient.proto +103 -103
- package/protos/steam/steammessages_sitelicenseclient.proto +38 -38
- package/protos/steam/steammessages_siteserverui.proto +130 -130
- package/protos/steam/steammessages_steamtv.steamclient.proto +533 -533
- package/protos/steam/steammessages_store.steamclient.proto +404 -404
- package/protos/steam/steammessages_storebrowse.steamclient.proto +457 -457
- package/protos/steam/steammessages_timedtrial.steamclient.proto +40 -40
- package/protos/steam/steammessages_twofactor.steamclient.proto +157 -157
- package/protos/steam/steammessages_unified_test.steamclient.proto +51 -51
- package/protos/steam/steammessages_useraccount.steamclient.proto +211 -211
- package/protos/steam/steammessages_vac.steamclient.proto +37 -37
- package/protos/steam/steammessages_video.steamclient.proto +68 -68
- package/protos/steam/steammessages_virtualcontroller.proto +138 -138
- package/protos/steam/steammessages_workshop.steamclient.proto +19 -19
- package/protos/steam/steamnetworkingsockets_messages.proto +205 -205
- package/protos/steam/steamnetworkingsockets_messages_certs.proto +39 -39
- package/protos/steam/steamnetworkingsockets_messages_udp.proto +75 -75
- package/protos/steam/webuimessages_achievements.proto +29 -29
- package/protos/steam/webuimessages_gamenotes.proto +21 -21
- package/protos/steam/webuimessages_gamescope.proto +57 -57
- package/protos/steam/webuimessages_steamengine.proto +41 -41
- package/protos/steam/webuimessages_steamos.proto +114 -114
- package/protos/steam/webuimessages_storagedevicemanager.proto +110 -110
- package/protos/steam/webuimessages_systemmanager.proto +17 -17
- package/protos/steam/webuimessages_transport.proto +22 -22
- package/protos/steam/webuimessages_transportvalidation.proto +111 -111
- package/protos/webui/common.proto +4024 -4024
- package/protos/webui/service_accountcart.proto +153 -153
- package/protos/webui/service_accountlinking.proto +27 -27
- package/protos/webui/service_accountprivacy.proto +42 -42
- package/protos/webui/service_accountprivateapps.proto +34 -34
- package/protos/webui/service_auction.proto +97 -97
- package/protos/webui/service_authentication.proto +222 -222
- package/protos/webui/service_authenticationsupport.proto +74 -74
- package/protos/webui/service_broadcast.proto +562 -562
- package/protos/webui/service_chat.proto +11 -11
- package/protos/webui/service_chatroom.proto +810 -810
- package/protos/webui/service_chatusability.proto +107 -107
- package/protos/webui/service_checkout.proto +84 -84
- package/protos/webui/service_clan.proto +41 -41
- package/protos/webui/service_clanchatrooms.proto +25 -25
- package/protos/webui/service_clanfaqs.proto +202 -202
- package/protos/webui/service_clientcomm.proto +151 -151
- package/protos/webui/service_clientmetrics.proto +22 -22
- package/protos/webui/service_cloud.proto +222 -222
- package/protos/webui/service_cloudconfigstore.proto +51 -51
- package/protos/webui/service_cloudgaming.proto +30 -30
- package/protos/webui/service_community.proto +365 -365
- package/protos/webui/service_dailydeal.proto +89 -89
- package/protos/webui/service_econ.proto +134 -134
- package/protos/webui/service_embedded.proto +24 -24
- package/protos/webui/service_experimentservice.proto +6 -6
- package/protos/webui/service_familygroups.proto +355 -355
- package/protos/webui/service_fovasvideo.proto +15 -15
- package/protos/webui/service_friendmessages.proto +133 -133
- package/protos/webui/service_friendslist.proto +70 -70
- package/protos/webui/service_gamenotes.proto +15 -15
- package/protos/webui/service_gamerecording.proto +265 -265
- package/protos/webui/service_gamerecordingclip.proto +85 -85
- package/protos/webui/service_gamerecordingdebug.proto +52 -52
- package/protos/webui/service_helprequestlogs.proto +16 -16
- package/protos/webui/service_loyaltyrewards.proto +252 -252
- package/protos/webui/service_marketingmessages.proto +215 -215
- package/protos/webui/service_mobileapp.proto +18 -18
- package/protos/webui/service_mobileauth.proto +24 -24
- package/protos/webui/service_mobiledevice.proto +26 -26
- package/protos/webui/service_mobileperaccount.proto +31 -31
- package/protos/webui/service_news.proto +110 -110
- package/protos/webui/service_parental.proto +258 -258
- package/protos/webui/service_partnermembershipinvite.proto +34 -34
- package/protos/webui/service_partnerstorebrowse.proto +28 -28
- package/protos/webui/service_phone.proto +51 -51
- package/protos/webui/service_physicalgoods.proto +15 -15
- package/protos/webui/service_player.proto +918 -918
- package/protos/webui/service_promotioneventinvites.proto +109 -109
- package/protos/webui/service_promotionplanning.proto +186 -186
- package/protos/webui/service_promotionstats.proto +23 -23
- package/protos/webui/service_publishedfile.proto +714 -714
- package/protos/webui/service_publishing.proto +200 -200
- package/protos/webui/service_quest.proto +127 -127
- package/protos/webui/service_salefeature.proto +373 -373
- package/protos/webui/service_saleitemrewards.proto +54 -54
- package/protos/webui/service_shoppingcart.proto +152 -152
- package/protos/webui/service_steamawards.proto +76 -76
- package/protos/webui/service_steamcharts.proto +75 -75
- package/protos/webui/service_steamengine.proto +36 -36
- package/protos/webui/service_steamlearn.proto +876 -876
- package/protos/webui/service_steamnotification.proto +73 -73
- package/protos/webui/service_steamtv.proto +495 -495
- package/protos/webui/service_steamvrvoicechat.proto +67 -67
- package/protos/webui/service_steamvrwebrtc.proto +48 -48
- package/protos/webui/service_storagedevicemanager.proto +104 -104
- package/protos/webui/service_store.proto +359 -359
- package/protos/webui/service_storeappsimilarity.proto +76 -76
- package/protos/webui/service_storebrowse.proto +103 -103
- package/protos/webui/service_storemarketing.proto +44 -44
- package/protos/webui/service_storequery.proto +103 -103
- package/protos/webui/service_storesales.proto +87 -87
- package/protos/webui/service_storetopsellers.proto +44 -44
- package/protos/webui/service_systemmanager.proto +11 -11
- package/protos/webui/service_test_transporterror.proto +6 -6
- package/protos/webui/service_transportauth.proto +17 -17
- package/protos/webui/service_transportvalidation.proto +69 -69
- package/protos/webui/service_twofactor.proto +170 -170
- package/protos/webui/service_useraccount.proto +142 -142
- package/protos/webui/service_usergameactivity.proto +34 -34
- package/protos/webui/service_usergamenotes.proto +70 -70
- package/protos/webui/service_usernews.proto +68 -68
- package/protos/webui/service_userreviews.proto +97 -97
- package/protos/webui/service_video.proto +50 -50
- package/protos/webui/service_videoclip.proto +62 -62
- package/protos/webui/service_voicechat.proto +139 -139
- package/protos/webui/service_webrtc.proto +52 -52
- package/remote.js +6784 -6784
- package/steamproto.js +34 -34
- package/utils.js +986 -986
- package/.idea/deployment.xml +0 -14
- package/full_steamproto.js +0 -35
@@ -1,1039 +1,1039 @@
|
|
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
|
-
optional int32 samesite = 8;
|
641
|
-
}
|
642
|
-
|
643
|
-
message CMsgSetTargetFrameRate {
|
644
|
-
optional uint32 browser_handle = 1;
|
645
|
-
optional uint32 nTargetFrameRate = 2;
|
646
|
-
}
|
647
|
-
|
648
|
-
message CMsgPauseRepaint {
|
649
|
-
optional uint32 browser_handle = 1;
|
650
|
-
}
|
651
|
-
|
652
|
-
message CMsgFullRepaint {
|
653
|
-
optional uint32 browser_handle = 1;
|
654
|
-
}
|
655
|
-
|
656
|
-
message CMsgRequestFullScreen {
|
657
|
-
optional uint32 browser_handle = 1;
|
658
|
-
}
|
659
|
-
|
660
|
-
message CMsgExitFullScreen {
|
661
|
-
optional uint32 browser_handle = 1;
|
662
|
-
}
|
663
|
-
|
664
|
-
message CMsgToggleFindInPageDialog {
|
665
|
-
optional uint32 browser_handle = 1;
|
666
|
-
}
|
667
|
-
|
668
|
-
message CMsgSetPIDShuttingDown {
|
669
|
-
optional uint32 browser_handle = 1;
|
670
|
-
}
|
671
|
-
|
672
|
-
message CMsgDisableBackgroundThrottling {
|
673
|
-
optional uint32 browser_handle = 1;
|
674
|
-
}
|
675
|
-
|
676
|
-
message CMsgAckPIDShuttingDown {
|
677
|
-
optional uint32 browser_handle = 1;
|
678
|
-
}
|
679
|
-
|
680
|
-
message CMsgGetCookiesForURL {
|
681
|
-
optional uint32 browser_handle = 1;
|
682
|
-
optional string url = 2;
|
683
|
-
}
|
684
|
-
|
685
|
-
message CCookie {
|
686
|
-
optional string name = 1;
|
687
|
-
optional string value = 2;
|
688
|
-
optional string domain = 3;
|
689
|
-
optional string path = 4;
|
690
|
-
}
|
691
|
-
|
692
|
-
message CMsgGetCookiesForURLResponse {
|
693
|
-
optional uint32 browser_handle = 1;
|
694
|
-
optional string url = 2;
|
695
|
-
repeated .CCookie cookies = 3;
|
696
|
-
}
|
697
|
-
|
698
|
-
message CMsgNodeHasFocus {
|
699
|
-
optional uint32 browser_handle = 1;
|
700
|
-
optional bool bInput = 2;
|
701
|
-
optional string name = 3;
|
702
|
-
optional string elementtagname = 4;
|
703
|
-
optional string searchbuttontext = 5;
|
704
|
-
optional bool bHasMultipleInputs = 6;
|
705
|
-
optional string input_type = 7;
|
706
|
-
optional bool bIsMainFrame = 8;
|
707
|
-
}
|
708
|
-
|
709
|
-
message CMsgZoomToFocusedElement {
|
710
|
-
optional uint32 browser_handle = 1;
|
711
|
-
}
|
712
|
-
|
713
|
-
message CMsgFocusedNodeText {
|
714
|
-
optional uint32 browser_handle = 1;
|
715
|
-
}
|
716
|
-
|
717
|
-
message CMsgFocusedNodeTextResponse {
|
718
|
-
optional uint32 browser_handle = 1;
|
719
|
-
optional string value = 2;
|
720
|
-
}
|
721
|
-
|
722
|
-
message CMsgBuildID {
|
723
|
-
optional uint64 build_id = 1;
|
724
|
-
}
|
725
|
-
|
726
|
-
message CMsgOpenDevTools {
|
727
|
-
optional uint32 browser_handle = 1;
|
728
|
-
}
|
729
|
-
|
730
|
-
message CMsgCloseDevTools {
|
731
|
-
optional uint32 browser_handle = 1;
|
732
|
-
}
|
733
|
-
|
734
|
-
message CMsgUnlockH264 {
|
735
|
-
optional uint32 browser_handle = 1;
|
736
|
-
optional string unlock_code = 2;
|
737
|
-
}
|
738
|
-
|
739
|
-
message CMsgScreenInformationChanged {
|
740
|
-
optional uint32 browser_handle = 1;
|
741
|
-
optional uint32 override_width = 2;
|
742
|
-
optional uint32 override_height = 3;
|
743
|
-
optional uint32 monitor_left = 4;
|
744
|
-
optional uint32 monitor_top = 5;
|
745
|
-
optional uint32 monitor_right = 6;
|
746
|
-
optional uint32 monitor_bottom = 7;
|
747
|
-
optional uint32 usable_left = 8;
|
748
|
-
optional uint32 usable_top = 9;
|
749
|
-
optional uint32 usable_right = 10;
|
750
|
-
optional uint32 usable_bottom = 11;
|
751
|
-
}
|
752
|
-
|
753
|
-
message CMsgClearAllCookies {
|
754
|
-
optional uint32 browser_handle = 1;
|
755
|
-
}
|
756
|
-
|
757
|
-
message CMsgScreenDPI {
|
758
|
-
optional uint32 browser_handle = 1;
|
759
|
-
optional float dpi_scaling = 2;
|
760
|
-
}
|
761
|
-
|
762
|
-
message CMsgAckScreenDPI {
|
763
|
-
optional uint32 browser_handle = 1;
|
764
|
-
}
|
765
|
-
|
766
|
-
message CMsgAuthedSteamDomains {
|
767
|
-
repeated string domains = 1;
|
768
|
-
}
|
769
|
-
|
770
|
-
message CMsgSteamAuthNeeded {
|
771
|
-
optional bool filler = 1;
|
772
|
-
}
|
773
|
-
|
774
|
-
message CMsgSteamAuthCookiesSet {
|
775
|
-
optional bool success = 1;
|
776
|
-
}
|
777
|
-
|
778
|
-
message CMsgJSRegisterMethod {
|
779
|
-
optional uint32 browser_handle = 1;
|
780
|
-
optional string name = 2;
|
781
|
-
optional .EJSRegisterMethodType method_type = 3 [default = k_EJSRegisterMethodType_Invalid];
|
782
|
-
}
|
783
|
-
|
784
|
-
message CMsgJSValue {
|
785
|
-
message JSObjectProperty {
|
786
|
-
optional string name = 1;
|
787
|
-
optional .CMsgJSValue value = 2;
|
788
|
-
}
|
789
|
-
|
790
|
-
optional bool bool_value = 1;
|
791
|
-
optional int32 int_value = 2;
|
792
|
-
optional uint32 uint_value = 3;
|
793
|
-
optional double double_value = 4;
|
794
|
-
optional string string_value = 5;
|
795
|
-
optional uint64 function_handle = 6;
|
796
|
-
optional bytes bytes_value = 12;
|
797
|
-
optional bool is_array = 8;
|
798
|
-
repeated .CMsgJSValue array_values = 9;
|
799
|
-
optional bool is_object = 10;
|
800
|
-
repeated .CMsgJSValue.JSObjectProperty object_properties = 11;
|
801
|
-
}
|
802
|
-
|
803
|
-
message CMsgJSMethodCall {
|
804
|
-
optional uint32 browser_handle = 1;
|
805
|
-
optional uint32 owning_browser_handle = 2;
|
806
|
-
optional string name = 3;
|
807
|
-
repeated .CMsgJSValue arguments = 4;
|
808
|
-
}
|
809
|
-
|
810
|
-
message CMsgJSExecuteCallback {
|
811
|
-
optional uint32 browser_handle = 1;
|
812
|
-
optional uint32 owning_browser_handle = 2;
|
813
|
-
optional uint64 function_handle = 3;
|
814
|
-
repeated .CMsgJSValue arguments = 4;
|
815
|
-
}
|
816
|
-
|
817
|
-
message CMsgJSExecutePromise {
|
818
|
-
optional uint32 browser_handle = 1;
|
819
|
-
optional uint32 owning_browser_handle = 2;
|
820
|
-
optional uint64 promise_handle = 3;
|
821
|
-
optional string reject_reason = 4;
|
822
|
-
optional .CMsgJSValue argument = 5;
|
823
|
-
}
|
824
|
-
|
825
|
-
message CMsgJSReleaseCallback {
|
826
|
-
optional uint32 browser_handle = 1;
|
827
|
-
optional uint32 owning_browser_handle = 2;
|
828
|
-
optional uint64 function_handle = 3;
|
829
|
-
}
|
830
|
-
|
831
|
-
message CMsgJSRaiseException {
|
832
|
-
optional uint32 browser_handle = 1;
|
833
|
-
optional uint32 owning_browser_handle = 2;
|
834
|
-
optional string exception = 3;
|
835
|
-
}
|
836
|
-
|
837
|
-
message CMsgLoadLocalization {
|
838
|
-
optional uint32 browser_handle = 1;
|
839
|
-
optional string localization_path = 2;
|
840
|
-
optional string language = 3;
|
841
|
-
}
|
842
|
-
|
843
|
-
message CMsgNotifyUserActivation {
|
844
|
-
optional uint32 browser_handle = 1;
|
845
|
-
}
|
846
|
-
|
847
|
-
message CMsgSetNetFakeLocalSystemState {
|
848
|
-
optional uint32 state = 1;
|
849
|
-
}
|
850
|
-
|
851
|
-
message CMsgSetGameOverlayTargetPIDs {
|
852
|
-
optional uint32 browser_handle = 1;
|
853
|
-
repeated uint32 target_pid = 2;
|
854
|
-
}
|
855
|
-
|
856
|
-
message CMsgGameOverlayTargetTextureID {
|
857
|
-
optional uint32 browser_handle = 1;
|
858
|
-
optional uint32 target_pid = 2;
|
859
|
-
optional uint32 texture_handle = 3;
|
860
|
-
}
|
861
|
-
|
862
|
-
message CMsgDraggableRegionsChanged {
|
863
|
-
message DraggableRects {
|
864
|
-
optional int32 x = 1;
|
865
|
-
optional int32 y = 2;
|
866
|
-
optional int32 width = 3;
|
867
|
-
optional int32 height = 4;
|
868
|
-
optional bool draggable = 5;
|
869
|
-
}
|
870
|
-
|
871
|
-
optional uint32 browser_handle = 1;
|
872
|
-
repeated .CMsgDraggableRegionsChanged.DraggableRects rects = 2;
|
873
|
-
}
|
874
|
-
|
875
|
-
message CMsgResizeGripChanged {
|
876
|
-
optional uint32 browser_handle = 1;
|
877
|
-
optional int32 width = 2;
|
878
|
-
optional int32 height = 3;
|
879
|
-
}
|
880
|
-
|
881
|
-
message CMsgSetWindowPosition {
|
882
|
-
optional uint32 browser_handle = 1;
|
883
|
-
optional double x = 2;
|
884
|
-
optional double y = 3;
|
885
|
-
optional double width = 4;
|
886
|
-
optional double height = 5;
|
887
|
-
optional double min_width = 6;
|
888
|
-
optional double min_height = 7;
|
889
|
-
optional double max_width = 8;
|
890
|
-
optional double max_height = 9;
|
891
|
-
}
|
892
|
-
|
893
|
-
message CMsgShowWindow {
|
894
|
-
optional uint32 browser_handle = 1;
|
895
|
-
}
|
896
|
-
|
897
|
-
message CMsgHideWindow {
|
898
|
-
optional uint32 browser_handle = 1;
|
899
|
-
}
|
900
|
-
|
901
|
-
message CMsgBringWindowToFront {
|
902
|
-
optional uint32 browser_handle = 1;
|
903
|
-
}
|
904
|
-
|
905
|
-
message CMsgSetForegroundWindow {
|
906
|
-
optional uint32 browser_handle = 1;
|
907
|
-
}
|
908
|
-
|
909
|
-
message CMsgMaximizeRestoreWindow {
|
910
|
-
optional uint32 browser_handle = 1;
|
911
|
-
}
|
912
|
-
|
913
|
-
message CMsgMinimizeWindow {
|
914
|
-
optional uint32 browser_handle = 1;
|
915
|
-
}
|
916
|
-
|
917
|
-
message CMsgShowBrowserContextMenu {
|
918
|
-
message ContextCommand {
|
919
|
-
optional int32 id = 1;
|
920
|
-
optional string label = 2;
|
921
|
-
}
|
922
|
-
|
923
|
-
optional uint32 browser_handle = 1;
|
924
|
-
repeated .CMsgShowBrowserContextMenu.ContextCommand custom_commands = 2;
|
925
|
-
optional uint32 type_flags = 3;
|
926
|
-
optional string page_url = 4;
|
927
|
-
optional int32 coord_x = 5;
|
928
|
-
optional int32 coord_y = 6;
|
929
|
-
optional string link_url = 7;
|
930
|
-
optional string unfiltered_link_url = 8;
|
931
|
-
optional string selection_text = 9;
|
932
|
-
optional string misspelled_word = 10;
|
933
|
-
optional uint32 edit_state_flags = 11;
|
934
|
-
}
|
935
|
-
|
936
|
-
message CMsgHandleContextMenuCommand {
|
937
|
-
optional uint32 browser_handle = 1;
|
938
|
-
optional int32 command_id = 2;
|
939
|
-
}
|
940
|
-
|
941
|
-
message CMsgTouchGesture {
|
942
|
-
optional uint32 browser_handle = 1;
|
943
|
-
optional int32 id = 2;
|
944
|
-
optional uint32 gesture = 3;
|
945
|
-
optional double x = 4;
|
946
|
-
optional double y = 5;
|
947
|
-
optional double width = 6;
|
948
|
-
optional double height = 7;
|
949
|
-
optional uint32 tap_count = 8;
|
950
|
-
optional double pinch_scale = 9;
|
951
|
-
}
|
952
|
-
|
953
|
-
message CMsgSetTouchGesturesToCancel {
|
954
|
-
optional uint32 browser_handle = 1;
|
955
|
-
repeated uint32 gestures = 2;
|
956
|
-
}
|
957
|
-
|
958
|
-
message CMsgImeSetComposition {
|
959
|
-
optional uint32 browser_handle = 1;
|
960
|
-
optional string text = 2;
|
961
|
-
}
|
962
|
-
|
963
|
-
message CMsgImeCommitText {
|
964
|
-
optional uint32 browser_handle = 1;
|
965
|
-
optional string text = 2;
|
966
|
-
}
|
967
|
-
|
968
|
-
message CMsgImeCancelComposition {
|
969
|
-
optional uint32 browser_handle = 1;
|
970
|
-
}
|
971
|
-
|
972
|
-
message CMsgImeCompositionRangeChanged {
|
973
|
-
optional uint32 browser_handle = 1;
|
974
|
-
optional uint32 x = 2;
|
975
|
-
optional uint32 y = 3;
|
976
|
-
}
|
977
|
-
|
978
|
-
message CMsgInspectElement {
|
979
|
-
optional uint32 browser_handle = 1;
|
980
|
-
optional uint32 x = 2;
|
981
|
-
optional uint32 y = 3;
|
982
|
-
}
|
983
|
-
|
984
|
-
message CMsgDisableF5 {
|
985
|
-
optional uint32 browser_handle = 1;
|
986
|
-
optional bool disable = 2;
|
987
|
-
}
|
988
|
-
|
989
|
-
message CMsgStartDownload {
|
990
|
-
optional uint32 browser_handle = 1;
|
991
|
-
optional string url = 2;
|
992
|
-
}
|
993
|
-
|
994
|
-
message CMsgSetTopWindow {
|
995
|
-
optional uint32 browser_handle = 1;
|
996
|
-
}
|
997
|
-
|
998
|
-
message CMsgBrowserViewPostMessageToParentRequest {
|
999
|
-
optional uint32 browser_handle = 1;
|
1000
|
-
optional string message = 2;
|
1001
|
-
optional string args = 3;
|
1002
|
-
optional string requesting_url = 4;
|
1003
|
-
}
|
1004
|
-
|
1005
|
-
message CMsgBlockedRequest {
|
1006
|
-
optional uint32 browser_handle = 1;
|
1007
|
-
optional string url = 2;
|
1008
|
-
}
|
1009
|
-
|
1010
|
-
message CMsgBrowserFocusChanged {
|
1011
|
-
optional uint32 browser_handle = 1;
|
1012
|
-
optional bool focused = 2;
|
1013
|
-
}
|
1014
|
-
|
1015
|
-
message CMsgSetProtocolBlockList {
|
1016
|
-
optional uint32 browser_handle = 1;
|
1017
|
-
optional string list = 2;
|
1018
|
-
}
|
1019
|
-
|
1020
|
-
message CMsgSetForceDeviceScaleFactors {
|
1021
|
-
optional double dpi_scale = 1;
|
1022
|
-
optional double browser_scale = 2;
|
1023
|
-
}
|
1024
|
-
|
1025
|
-
message CMsgSetUIMode {
|
1026
|
-
optional int32 ui_mode = 1;
|
1027
|
-
}
|
1028
|
-
|
1029
|
-
message CMsgPopupCreated {
|
1030
|
-
optional uint32 browser_handle = 1;
|
1031
|
-
}
|
1032
|
-
|
1033
|
-
message CMsgSetVRKeyboardVisibility {
|
1034
|
-
optional uint32 browser_handle = 1;
|
1035
|
-
optional bool visible = 2;
|
1036
|
-
}
|
1037
|
-
|
1038
|
-
message CMsgRestartJSContext {
|
1039
|
-
}
|
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
|
+
optional int32 samesite = 8;
|
641
|
+
}
|
642
|
+
|
643
|
+
message CMsgSetTargetFrameRate {
|
644
|
+
optional uint32 browser_handle = 1;
|
645
|
+
optional uint32 nTargetFrameRate = 2;
|
646
|
+
}
|
647
|
+
|
648
|
+
message CMsgPauseRepaint {
|
649
|
+
optional uint32 browser_handle = 1;
|
650
|
+
}
|
651
|
+
|
652
|
+
message CMsgFullRepaint {
|
653
|
+
optional uint32 browser_handle = 1;
|
654
|
+
}
|
655
|
+
|
656
|
+
message CMsgRequestFullScreen {
|
657
|
+
optional uint32 browser_handle = 1;
|
658
|
+
}
|
659
|
+
|
660
|
+
message CMsgExitFullScreen {
|
661
|
+
optional uint32 browser_handle = 1;
|
662
|
+
}
|
663
|
+
|
664
|
+
message CMsgToggleFindInPageDialog {
|
665
|
+
optional uint32 browser_handle = 1;
|
666
|
+
}
|
667
|
+
|
668
|
+
message CMsgSetPIDShuttingDown {
|
669
|
+
optional uint32 browser_handle = 1;
|
670
|
+
}
|
671
|
+
|
672
|
+
message CMsgDisableBackgroundThrottling {
|
673
|
+
optional uint32 browser_handle = 1;
|
674
|
+
}
|
675
|
+
|
676
|
+
message CMsgAckPIDShuttingDown {
|
677
|
+
optional uint32 browser_handle = 1;
|
678
|
+
}
|
679
|
+
|
680
|
+
message CMsgGetCookiesForURL {
|
681
|
+
optional uint32 browser_handle = 1;
|
682
|
+
optional string url = 2;
|
683
|
+
}
|
684
|
+
|
685
|
+
message CCookie {
|
686
|
+
optional string name = 1;
|
687
|
+
optional string value = 2;
|
688
|
+
optional string domain = 3;
|
689
|
+
optional string path = 4;
|
690
|
+
}
|
691
|
+
|
692
|
+
message CMsgGetCookiesForURLResponse {
|
693
|
+
optional uint32 browser_handle = 1;
|
694
|
+
optional string url = 2;
|
695
|
+
repeated .CCookie cookies = 3;
|
696
|
+
}
|
697
|
+
|
698
|
+
message CMsgNodeHasFocus {
|
699
|
+
optional uint32 browser_handle = 1;
|
700
|
+
optional bool bInput = 2;
|
701
|
+
optional string name = 3;
|
702
|
+
optional string elementtagname = 4;
|
703
|
+
optional string searchbuttontext = 5;
|
704
|
+
optional bool bHasMultipleInputs = 6;
|
705
|
+
optional string input_type = 7;
|
706
|
+
optional bool bIsMainFrame = 8;
|
707
|
+
}
|
708
|
+
|
709
|
+
message CMsgZoomToFocusedElement {
|
710
|
+
optional uint32 browser_handle = 1;
|
711
|
+
}
|
712
|
+
|
713
|
+
message CMsgFocusedNodeText {
|
714
|
+
optional uint32 browser_handle = 1;
|
715
|
+
}
|
716
|
+
|
717
|
+
message CMsgFocusedNodeTextResponse {
|
718
|
+
optional uint32 browser_handle = 1;
|
719
|
+
optional string value = 2;
|
720
|
+
}
|
721
|
+
|
722
|
+
message CMsgBuildID {
|
723
|
+
optional uint64 build_id = 1;
|
724
|
+
}
|
725
|
+
|
726
|
+
message CMsgOpenDevTools {
|
727
|
+
optional uint32 browser_handle = 1;
|
728
|
+
}
|
729
|
+
|
730
|
+
message CMsgCloseDevTools {
|
731
|
+
optional uint32 browser_handle = 1;
|
732
|
+
}
|
733
|
+
|
734
|
+
message CMsgUnlockH264 {
|
735
|
+
optional uint32 browser_handle = 1;
|
736
|
+
optional string unlock_code = 2;
|
737
|
+
}
|
738
|
+
|
739
|
+
message CMsgScreenInformationChanged {
|
740
|
+
optional uint32 browser_handle = 1;
|
741
|
+
optional uint32 override_width = 2;
|
742
|
+
optional uint32 override_height = 3;
|
743
|
+
optional uint32 monitor_left = 4;
|
744
|
+
optional uint32 monitor_top = 5;
|
745
|
+
optional uint32 monitor_right = 6;
|
746
|
+
optional uint32 monitor_bottom = 7;
|
747
|
+
optional uint32 usable_left = 8;
|
748
|
+
optional uint32 usable_top = 9;
|
749
|
+
optional uint32 usable_right = 10;
|
750
|
+
optional uint32 usable_bottom = 11;
|
751
|
+
}
|
752
|
+
|
753
|
+
message CMsgClearAllCookies {
|
754
|
+
optional uint32 browser_handle = 1;
|
755
|
+
}
|
756
|
+
|
757
|
+
message CMsgScreenDPI {
|
758
|
+
optional uint32 browser_handle = 1;
|
759
|
+
optional float dpi_scaling = 2;
|
760
|
+
}
|
761
|
+
|
762
|
+
message CMsgAckScreenDPI {
|
763
|
+
optional uint32 browser_handle = 1;
|
764
|
+
}
|
765
|
+
|
766
|
+
message CMsgAuthedSteamDomains {
|
767
|
+
repeated string domains = 1;
|
768
|
+
}
|
769
|
+
|
770
|
+
message CMsgSteamAuthNeeded {
|
771
|
+
optional bool filler = 1;
|
772
|
+
}
|
773
|
+
|
774
|
+
message CMsgSteamAuthCookiesSet {
|
775
|
+
optional bool success = 1;
|
776
|
+
}
|
777
|
+
|
778
|
+
message CMsgJSRegisterMethod {
|
779
|
+
optional uint32 browser_handle = 1;
|
780
|
+
optional string name = 2;
|
781
|
+
optional .EJSRegisterMethodType method_type = 3 [default = k_EJSRegisterMethodType_Invalid];
|
782
|
+
}
|
783
|
+
|
784
|
+
message CMsgJSValue {
|
785
|
+
message JSObjectProperty {
|
786
|
+
optional string name = 1;
|
787
|
+
optional .CMsgJSValue value = 2;
|
788
|
+
}
|
789
|
+
|
790
|
+
optional bool bool_value = 1;
|
791
|
+
optional int32 int_value = 2;
|
792
|
+
optional uint32 uint_value = 3;
|
793
|
+
optional double double_value = 4;
|
794
|
+
optional string string_value = 5;
|
795
|
+
optional uint64 function_handle = 6;
|
796
|
+
optional bytes bytes_value = 12;
|
797
|
+
optional bool is_array = 8;
|
798
|
+
repeated .CMsgJSValue array_values = 9;
|
799
|
+
optional bool is_object = 10;
|
800
|
+
repeated .CMsgJSValue.JSObjectProperty object_properties = 11;
|
801
|
+
}
|
802
|
+
|
803
|
+
message CMsgJSMethodCall {
|
804
|
+
optional uint32 browser_handle = 1;
|
805
|
+
optional uint32 owning_browser_handle = 2;
|
806
|
+
optional string name = 3;
|
807
|
+
repeated .CMsgJSValue arguments = 4;
|
808
|
+
}
|
809
|
+
|
810
|
+
message CMsgJSExecuteCallback {
|
811
|
+
optional uint32 browser_handle = 1;
|
812
|
+
optional uint32 owning_browser_handle = 2;
|
813
|
+
optional uint64 function_handle = 3;
|
814
|
+
repeated .CMsgJSValue arguments = 4;
|
815
|
+
}
|
816
|
+
|
817
|
+
message CMsgJSExecutePromise {
|
818
|
+
optional uint32 browser_handle = 1;
|
819
|
+
optional uint32 owning_browser_handle = 2;
|
820
|
+
optional uint64 promise_handle = 3;
|
821
|
+
optional string reject_reason = 4;
|
822
|
+
optional .CMsgJSValue argument = 5;
|
823
|
+
}
|
824
|
+
|
825
|
+
message CMsgJSReleaseCallback {
|
826
|
+
optional uint32 browser_handle = 1;
|
827
|
+
optional uint32 owning_browser_handle = 2;
|
828
|
+
optional uint64 function_handle = 3;
|
829
|
+
}
|
830
|
+
|
831
|
+
message CMsgJSRaiseException {
|
832
|
+
optional uint32 browser_handle = 1;
|
833
|
+
optional uint32 owning_browser_handle = 2;
|
834
|
+
optional string exception = 3;
|
835
|
+
}
|
836
|
+
|
837
|
+
message CMsgLoadLocalization {
|
838
|
+
optional uint32 browser_handle = 1;
|
839
|
+
optional string localization_path = 2;
|
840
|
+
optional string language = 3;
|
841
|
+
}
|
842
|
+
|
843
|
+
message CMsgNotifyUserActivation {
|
844
|
+
optional uint32 browser_handle = 1;
|
845
|
+
}
|
846
|
+
|
847
|
+
message CMsgSetNetFakeLocalSystemState {
|
848
|
+
optional uint32 state = 1;
|
849
|
+
}
|
850
|
+
|
851
|
+
message CMsgSetGameOverlayTargetPIDs {
|
852
|
+
optional uint32 browser_handle = 1;
|
853
|
+
repeated uint32 target_pid = 2;
|
854
|
+
}
|
855
|
+
|
856
|
+
message CMsgGameOverlayTargetTextureID {
|
857
|
+
optional uint32 browser_handle = 1;
|
858
|
+
optional uint32 target_pid = 2;
|
859
|
+
optional uint32 texture_handle = 3;
|
860
|
+
}
|
861
|
+
|
862
|
+
message CMsgDraggableRegionsChanged {
|
863
|
+
message DraggableRects {
|
864
|
+
optional int32 x = 1;
|
865
|
+
optional int32 y = 2;
|
866
|
+
optional int32 width = 3;
|
867
|
+
optional int32 height = 4;
|
868
|
+
optional bool draggable = 5;
|
869
|
+
}
|
870
|
+
|
871
|
+
optional uint32 browser_handle = 1;
|
872
|
+
repeated .CMsgDraggableRegionsChanged.DraggableRects rects = 2;
|
873
|
+
}
|
874
|
+
|
875
|
+
message CMsgResizeGripChanged {
|
876
|
+
optional uint32 browser_handle = 1;
|
877
|
+
optional int32 width = 2;
|
878
|
+
optional int32 height = 3;
|
879
|
+
}
|
880
|
+
|
881
|
+
message CMsgSetWindowPosition {
|
882
|
+
optional uint32 browser_handle = 1;
|
883
|
+
optional double x = 2;
|
884
|
+
optional double y = 3;
|
885
|
+
optional double width = 4;
|
886
|
+
optional double height = 5;
|
887
|
+
optional double min_width = 6;
|
888
|
+
optional double min_height = 7;
|
889
|
+
optional double max_width = 8;
|
890
|
+
optional double max_height = 9;
|
891
|
+
}
|
892
|
+
|
893
|
+
message CMsgShowWindow {
|
894
|
+
optional uint32 browser_handle = 1;
|
895
|
+
}
|
896
|
+
|
897
|
+
message CMsgHideWindow {
|
898
|
+
optional uint32 browser_handle = 1;
|
899
|
+
}
|
900
|
+
|
901
|
+
message CMsgBringWindowToFront {
|
902
|
+
optional uint32 browser_handle = 1;
|
903
|
+
}
|
904
|
+
|
905
|
+
message CMsgSetForegroundWindow {
|
906
|
+
optional uint32 browser_handle = 1;
|
907
|
+
}
|
908
|
+
|
909
|
+
message CMsgMaximizeRestoreWindow {
|
910
|
+
optional uint32 browser_handle = 1;
|
911
|
+
}
|
912
|
+
|
913
|
+
message CMsgMinimizeWindow {
|
914
|
+
optional uint32 browser_handle = 1;
|
915
|
+
}
|
916
|
+
|
917
|
+
message CMsgShowBrowserContextMenu {
|
918
|
+
message ContextCommand {
|
919
|
+
optional int32 id = 1;
|
920
|
+
optional string label = 2;
|
921
|
+
}
|
922
|
+
|
923
|
+
optional uint32 browser_handle = 1;
|
924
|
+
repeated .CMsgShowBrowserContextMenu.ContextCommand custom_commands = 2;
|
925
|
+
optional uint32 type_flags = 3;
|
926
|
+
optional string page_url = 4;
|
927
|
+
optional int32 coord_x = 5;
|
928
|
+
optional int32 coord_y = 6;
|
929
|
+
optional string link_url = 7;
|
930
|
+
optional string unfiltered_link_url = 8;
|
931
|
+
optional string selection_text = 9;
|
932
|
+
optional string misspelled_word = 10;
|
933
|
+
optional uint32 edit_state_flags = 11;
|
934
|
+
}
|
935
|
+
|
936
|
+
message CMsgHandleContextMenuCommand {
|
937
|
+
optional uint32 browser_handle = 1;
|
938
|
+
optional int32 command_id = 2;
|
939
|
+
}
|
940
|
+
|
941
|
+
message CMsgTouchGesture {
|
942
|
+
optional uint32 browser_handle = 1;
|
943
|
+
optional int32 id = 2;
|
944
|
+
optional uint32 gesture = 3;
|
945
|
+
optional double x = 4;
|
946
|
+
optional double y = 5;
|
947
|
+
optional double width = 6;
|
948
|
+
optional double height = 7;
|
949
|
+
optional uint32 tap_count = 8;
|
950
|
+
optional double pinch_scale = 9;
|
951
|
+
}
|
952
|
+
|
953
|
+
message CMsgSetTouchGesturesToCancel {
|
954
|
+
optional uint32 browser_handle = 1;
|
955
|
+
repeated uint32 gestures = 2;
|
956
|
+
}
|
957
|
+
|
958
|
+
message CMsgImeSetComposition {
|
959
|
+
optional uint32 browser_handle = 1;
|
960
|
+
optional string text = 2;
|
961
|
+
}
|
962
|
+
|
963
|
+
message CMsgImeCommitText {
|
964
|
+
optional uint32 browser_handle = 1;
|
965
|
+
optional string text = 2;
|
966
|
+
}
|
967
|
+
|
968
|
+
message CMsgImeCancelComposition {
|
969
|
+
optional uint32 browser_handle = 1;
|
970
|
+
}
|
971
|
+
|
972
|
+
message CMsgImeCompositionRangeChanged {
|
973
|
+
optional uint32 browser_handle = 1;
|
974
|
+
optional uint32 x = 2;
|
975
|
+
optional uint32 y = 3;
|
976
|
+
}
|
977
|
+
|
978
|
+
message CMsgInspectElement {
|
979
|
+
optional uint32 browser_handle = 1;
|
980
|
+
optional uint32 x = 2;
|
981
|
+
optional uint32 y = 3;
|
982
|
+
}
|
983
|
+
|
984
|
+
message CMsgDisableF5 {
|
985
|
+
optional uint32 browser_handle = 1;
|
986
|
+
optional bool disable = 2;
|
987
|
+
}
|
988
|
+
|
989
|
+
message CMsgStartDownload {
|
990
|
+
optional uint32 browser_handle = 1;
|
991
|
+
optional string url = 2;
|
992
|
+
}
|
993
|
+
|
994
|
+
message CMsgSetTopWindow {
|
995
|
+
optional uint32 browser_handle = 1;
|
996
|
+
}
|
997
|
+
|
998
|
+
message CMsgBrowserViewPostMessageToParentRequest {
|
999
|
+
optional uint32 browser_handle = 1;
|
1000
|
+
optional string message = 2;
|
1001
|
+
optional string args = 3;
|
1002
|
+
optional string requesting_url = 4;
|
1003
|
+
}
|
1004
|
+
|
1005
|
+
message CMsgBlockedRequest {
|
1006
|
+
optional uint32 browser_handle = 1;
|
1007
|
+
optional string url = 2;
|
1008
|
+
}
|
1009
|
+
|
1010
|
+
message CMsgBrowserFocusChanged {
|
1011
|
+
optional uint32 browser_handle = 1;
|
1012
|
+
optional bool focused = 2;
|
1013
|
+
}
|
1014
|
+
|
1015
|
+
message CMsgSetProtocolBlockList {
|
1016
|
+
optional uint32 browser_handle = 1;
|
1017
|
+
optional string list = 2;
|
1018
|
+
}
|
1019
|
+
|
1020
|
+
message CMsgSetForceDeviceScaleFactors {
|
1021
|
+
optional double dpi_scale = 1;
|
1022
|
+
optional double browser_scale = 2;
|
1023
|
+
}
|
1024
|
+
|
1025
|
+
message CMsgSetUIMode {
|
1026
|
+
optional int32 ui_mode = 1;
|
1027
|
+
}
|
1028
|
+
|
1029
|
+
message CMsgPopupCreated {
|
1030
|
+
optional uint32 browser_handle = 1;
|
1031
|
+
}
|
1032
|
+
|
1033
|
+
message CMsgSetVRKeyboardVisibility {
|
1034
|
+
optional uint32 browser_handle = 1;
|
1035
|
+
optional bool visible = 2;
|
1036
|
+
}
|
1037
|
+
|
1038
|
+
message CMsgRestartJSContext {
|
1039
|
+
}
|