1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
|
//====== Copyright 1996-2010, Valve Corporation, All rights reserved. =======
//
// Purpose: The file defines our Google Protocol Buffers which are used in IPC
// and inter-thread communcations in the tenfoot UI rendering system.
//
//=============================================================================
// We care more about speed than code size
option optimize_for = SPEED;
// We don't use the service generation functionality
option cc_generic_services = false;
//
// STYLE NOTES:
//
// Use CamelCase CMsgMyMessageName style names for messages.
//
// Use lowercase _ delimited names like my_steam_id for field names, this is non-standard for Steam,
// but plays nice with the Google formatted code generation.
//
// Try not to use required fields ever. Only do so if you are really really sure you'll never want them removed.
// Optional should be preffered as it will make versioning easier and cleaner in the future if someone refactors
// your message and wants to remove or rename fields. This is especially important for messages sent from the server
// to clients. We may be able to safely remove a field if it's optional even if an old client expects it, but if it
// was required we can't remove it. Using required doesn't really offer any advantages at all as you'll just end up
// with an empty message with all default values if you receive a message missing a required field, so there is no
// real advantage to using it ever.
//
// Use fixed64 for JobId_t, GID_t, or SteamID or GameID. This is appropriate for any field that is normally
// going to be larger than 2^56. Otherwise use int64 for 64 bit values that are frequently smaller
// than 2^56 as it will safe space on the wire in those cases.
//
// Similar to fixed64, use fixed32 for RTime32 or other 32 bit values that are frequently larger than
// 2^28. It will safe space in those cases, otherwise use int32 which will safe space for smaller values.
// An exception to this rule for RTime32 is if the value will frequently be zero rather than set to an actual
// time.
//
// Use uint32 with [default = 2] for EResult values in messages. The default is important since the normal int/uint
// default of 0 is not a valid EResult value. 2 is k_EResultFail.
//
// See: http://code.google.com/apis/protocolbuffers/docs/proto.html for a complete language guide.
//
//
// key up - eHTMLCommands_KeyUp
//
message CMsgKeyUp
{
optional uint32 browser_handle = 1;
optional uint32 keyCode = 2;
optional uint32 modifiers = 3;
}
//
// key down - eHTMLCommands_KeyDown
//
message CMsgKeyDown
{
optional uint32 browser_handle = 1;
optional uint32 keyCode = 2;
optional uint32 modifiers = 3;
}
//
// key unichar - eHTMLCommands_KeyChar
//
message CMsgKeyChar
{
optional uint32 browser_handle = 1;
optional uint32 unichar = 2;
}
//
// mouse down - eHTMLCommands_MouseDown
//
message CMsgMouseDown
{
optional uint32 browser_handle = 1;
optional uint32 mouse_button = 2;
}
//
// mouse up - eHTMLCommands_MouseUp
//
message CMsgMouseUp
{
optional uint32 browser_handle = 1;
optional uint32 mouse_button = 2;
}
//
// mouse dbl click - eHTMLCommands_MouseDblClick
//
message CMsgMouseDblClick
{
optional uint32 browser_handle = 1;
optional uint32 mouse_button = 2;
}
//
// mouse wheel - eHTMLCommands_MouseWheel
//
message CMsgMouseWheel
{
optional uint32 browser_handle = 1;
optional int32 delta = 2;
}
//
// mouse move - eHTMLCommands_MouseMove
//
message CMsgMouseMove
{
optional uint32 browser_handle = 1;
optional int32 x = 2;
optional int32 y = 3;
}
//
// mouse leave - eHTMLCommands_MouseLeave
//
message CMsgMouseLeave
{
optional uint32 browser_handle = 1;
}
//
// make a cef control - eHTMLCommands_BrowserCreate
//
message CMsgBrowserCreate
{
optional uint32 request_id = 1;
optional bool popup = 2 [default = false];
optional string useragent = 3;
}
//
// ack to the main thread a control was made - eHTMLCommands_BrowserCreateResponse
//
message CMsgBrowserCreateResponse
{
optional uint32 browser_handle = 1;
optional uint32 request_id = 2;
}
//
// delete a browser - eHTMLCommands_BrowserRemove
//
message CMsgBrowserRemove
{
optional uint32 browser_handle = 1;
}
//
// send loc strings over to use for error page - eHTMLCommands_BrowserErrorStrings
//
message CMsgBrowserErrorStrings
{
optional uint32 browser_handle = 1;
optional string title = 2;
optional string header = 3;
optional string cache_miss = 4;
optional string bad_url = 5;
optional string connection_problem = 6;
optional string proxy_problem = 7;
optional string unknown = 8;
}
//
// Set a browser to this size - eHTMLCommands_BrowserSize
//
message CMsgBrowserSize
{
optional uint32 browser_handle = 1;
optional uint32 width = 2;
optional uint32 height = 3;
}
//
// Set position in the window - eHTMLCommands_BrowserPosition
//
message CMsgBrowserPosition
{
optional uint32 browser_handle = 1;
optional uint32 x = 2;
optional uint32 y = 3;
}
//
// load this url - eHTMLCommands_PostURL
//
message CMsgPostURL
{
optional uint32 browser_handle = 1;
optional string url = 2;
optional string post = 3;
optional uint32 pageserial = 4;
}
//
// have cef send this html header for all page loads -eHTMLCommands_AddHeader
//
message CMsgAddHeader
{
optional uint32 browser_handle = 1;
optional string key = 2;
optional string value = 3;
}
//
// stop loading a page - eHTMLCommands_StopLoad
//
message CMsgStopLoad
{
optional uint32 browser_handle = 1;
}
//
// reload a page - eHTMLCommands_Reload
//
message CMsgReload
{
optional uint32 browser_handle = 1;
}
//
// next page - eHTMLCommands_GoForward
//
message CMsgGoForward
{
optional uint32 browser_handle = 1;
}
//
// back a page in the stack - eHTMLCommands_GoBack
//
message CMsgGoBack
{
optional uint32 browser_handle = 1;
}
//
// copy the currently selected text - eHTMLCommands_Copy
//
message CMsgCopy
{
optional uint32 browser_handle = 1;
}
//
// paste text here from the clipboard - eHTMLCommands_Paste
//
message CMsgPaste
{
optional uint32 browser_handle = 1;
}
//
// run this javascript on the current page - eHTMLCommands_ExecuteJavaScript
//
message CMsgExecuteJavaScript
{
optional uint32 browser_handle = 1;
optional string script = 2;
}
//
// tell it that it has key focus - eHTMLCommands_SetFocus
//
message CMsgSetFocus
{
optional uint32 browser_handle = 1;
optional bool focus = 2;
}
//
// how big is the scroll bar plz - eHTMLCommands_HorizontalScrollBarSize
//
message CMsgHorizontalScrollBarSize
{
optional uint32 browser_handle = 1;
}
//
// its this big! - eHTMLCommands_HorizontalScrollBarSizeResponse
//
message CMsgHorizontalScrollBarSizeResponse
{
optional uint32 browser_handle = 1;
optional uint32 x = 2;
optional uint32 y = 3;
optional uint32 wide = 4;
optional uint32 tall = 5;
optional uint32 scroll_max = 6;
optional uint32 scroll = 7;
optional float zoom = 8;
optional bool visible = 9;
}
//
// eHTMLCommands_VerticalScrollBarSize
//
message CMsgVerticalScrollBarSize
{
optional uint32 browser_handle = 1;
}
//
// eHTMLCommands_VerticalScrollBarSizeResponse
//
message CMsgVerticalScrollBarSizeResponse
{
optional uint32 browser_handle = 1;
optional uint32 x = 2;
optional uint32 y = 3;
optional uint32 wide = 4;
optional uint32 tall = 5;
optional uint32 scroll_max = 6;
optional uint32 scroll = 7;
optional float zoom = 8;
optional bool visible = 9;
}
//
// find this string in the page - eHTMLCommands_Find
//
message CMsgFind
{
optional uint32 browser_handle = 1;
optional string find = 2;
optional bool infind = 3;
optional bool reverse = 4 [ default = false ];
}
//
// done finding - eHTMLCommands_StopFind
//
message CMsgStopFind
{
optional uint32 browser_handle = 1;
}
//
// scroll here - eHTMLCommands_SetHorizontalScroll
//
message CMsgSetHorizontalScroll
{
optional uint32 browser_handle = 1;
optional uint32 scroll = 2;
}
//
// scroll here - eHTMLCommands_SetHorizontalScroll
//
message CMsgSetVerticalScroll
{
optional uint32 browser_handle = 1;
optional uint32 scroll = 2;
}
//
// zoom the page this much, 0 to 100 - eHTMLCommands_SetZoomLevel
//
message CMsgSetZoomLevel
{
optional uint32 browser_handle = 1;
optional uint32 zoom = 2;
}
//
// look at the page source in notepad - eHTMLCommands_ViewSource
//
message CMsgViewSource
{
optional uint32 browser_handle = 1;
}
//
// browser is setup and ready to load pages after a create - eHTMLCommands_BrowserReady
//
message CMsgBrowserReady
{
optional uint32 browser_handle = 1;
}
//
// new url loaded - eHTMLCommands_URLChanged
//
message CMsgURLChanged
{
optional uint32 browser_handle = 1;
optional string url = 2;
optional string postData = 3;
optional bool bIsRedirect = 4;
optional string pagetitle = 5;
optional bool bNewNavigation = 6;
}
message CHTMLHeader
{
optional string key = 1;
optional string value = 2;
}
message CHTMLPageSecurityInfo
{
optional bool bIsSecure = 1 [default = false];
optional bool bHasCertError = 2 [default = false];
optional string issuerName = 3 [default = ""];
optional string certName = 4 [default = "" ];
optional int32 certExpiry = 5 [default = 0];
optional int32 nCertBits = 6 [default = 0];
optional bool bIsEVCert = 7 [default = false];
}
//
// finished loading a page - eHTMLCommands_FinishedRequest
//
message CMsgFinishedRequest
{
optional uint32 browser_handle = 1;
optional string url = 2;
optional string pageTitle = 3;
optional CHTMLPageSecurityInfo security_info = 4;
repeated CHTMLHeader headers = 5;
}
//
// starting a page load - eHTMLCommands_StartRequest
//
message CMsgStartRequest
{
optional uint32 browser_handle = 1;
optional string url = 2;
optional string target = 3;
optional string postData = 4;
optional bool bIsRedirect = 5;
}
//
// do we want to allow this load - eHTMLCommands_StartRequestResponse
//
message CMsgStartRequestResponse
{
optional uint32 browser_handle = 1;
optional bool bAllow = 2;
}
//
// a html popup is showing - eHTMLCommands_ShowPopup
//
message CMsgShowPopup
{
optional uint32 browser_handle = 1;
}
//
// done with the popup - eHTMLCommands_HidePopup
//
message CMsgHidePopup
{
optional uint32 browser_handle = 1;
}
//
// a html popup is changing size - eHTMLCommands_SizePopup
//
message CMsgSizePopup
{
optional uint32 browser_handle = 1;
optional uint32 x = 2;
optional uint32 y = 3;
optional uint32 wide = 4;
optional uint32 tall = 5;
}
//
// new tab plz - eHTMLCommands_OpenNewTab
//
message CMsgOpenNewTab
{
optional uint32 browser_handle = 1;
optional string url = 2;
optional bool bForeground = 3;
}
//
// do we allow the tab - eHTMLCommands_OpenNewTabResponse
//
message CMsgOpenNewTabResponse
{
optional uint32 browser_handle = 1;
optional bool bAllow = 2;
}
//
// popup a new page here please - eHTMLCommands_PopupHTMLWindow
//
message CMsgPopupHTMLWindow
{
optional uint32 browser_handle = 1;
optional string url = 2;
optional uint32 x = 3;
optional uint32 y = 4;
optional uint32 wide = 5;
optional uint32 tall = 6;
}
//
// do we allow the popup - eHTMLCommands_PopupHTMLWindowResponse
//
message CMsgPopupHTMLWindowResponse
{
optional uint32 browser_handle = 1;
optional bool bAllow = 2;
}
//
// title for the page - eHTMLCommands_SetHTMLTitle
//
message CMsgSetHTMLTitle
{
optional uint32 browser_handle = 1;
optional string title = 2;
}
//
// loading a url on a page - eHTMLCommands_LoadingResource
//
message CMsgLoadingResource
{
optional uint32 browser_handle = 1;
optional string url = 2;
}
//
// status to display - eHTMLCommands_StatusText
//
message CMsgStatusText
{
optional uint32 browser_handle = 1;
optional string text = 2;
}
//
// mouse cursor to this - eHTMLCommands_SetCursor
//
message CMsgSetCursor
{
optional uint32 browser_handle = 1;
optional uint32 cursor = 2;
optional uint32 data = 3;
optional uint32 wide = 4;
optional uint32 tall = 5;
optional uint32 xhotspot = 6;
optional uint32 yhotspot = 7;
}
//
// let the user pick a file - eHTMLCommands_FileLoadDialog
//
message CMsgFileLoadDialog
{
optional uint32 browser_handle = 1;
optional string title = 2;
optional string initialFile = 3;
}
//
// the user picked this - eHTMLCommands_FileLoadDialogResponse
//
message CMsgFileLoadDialogResponse
{
optional uint32 browser_handle = 1;
repeated string files = 2;
}
//
// show a tooltip - eHTMLCommands_ShowToolTip
//
message CMsgShowToolTip
{
optional uint32 browser_handle = 1;
optional string text = 2;
}
//
// update tooltip - eHTMLCommands_UpdateToolTip
//
message CMsgUpdateToolTip
{
optional uint32 browser_handle = 1;
optional string text = 2;
}
//
// done with tooltip - eHTMLCommands_HideToolTip
//
message CMsgHideToolTip
{
optional uint32 browser_handle = 1;
}
//
// got search answers - eHTMLCommands_SearchResults
//
message CMsgSearchResults
{
optional uint32 browser_handle = 1;
optional int32 activeMatch = 2;
optional int32 results = 3;
}
//
// close this window plz - eHTMLCommands_Close
//
message CMsgClose
{
optional uint32 browser_handle = 1;
}
//
// need image for the page - eHTMLCommands_NeedsPaint
//
message CMsgNeedsPaint
{
optional uint32 browser_handle = 1;
optional uint64 rgba = 2;
optional uint32 wide = 3;
optional uint32 tall = 4;
optional uint32 textureid = 5;
optional uint32 updatex = 6;
optional uint32 updatey = 7;
optional uint32 updatewide = 8;
optional uint32 updatetall = 9;
optional uint32 scrollx = 10;
optional uint32 scrolly = 11;
optional uint64 combobox_rgba = 12 [default = 0];
optional uint32 combobox_wide = 13 [default = 0];
optional uint32 combobox_tall = 14 [default = 0];
optional uint32 pageserial = 15;
}
//
// all done with the paint pointer - eHTMLCommands_NeedsPaintResponse
//
message CMsgNeedsPaintResponse
{
optional uint32 browser_handle = 1;
optional uint32 textureid = 2;
}
//
// what zoom lvl we at? - eHTMLCommands_GetZoom
//
message CMsgGetZoom
{
optional uint32 browser_handle = 1;
}
//
// this zoom level! - eHTMLCommands_GetZoomResponse
//
message CMsgGetZoomResponse
{
optional uint32 browser_handle = 1;
optional float zoom = 2;
}
//
// get the link at this x,y - eHTMLCommands_LinkAtPosition
//
message CMsgLinkAtPosition
{
optional uint32 browser_handle = 1;
optional uint32 x = 2;
optional uint32 y = 3;
}
//
// link at this pos - eHTMLCommands_LinkAtPosition
//
message CMsgLinkAtPositionResponse
{
optional uint32 browser_handle = 1;
optional uint32 x = 2;
optional uint32 y = 3;
optional string url = 4;
optional bool blivelink = 5;
optional bool binput = 6;
}
//
// scale the page to the element at this position on the page, for at least this size
//
message CMsgZoomToElementAtPosition
{
optional uint32 browser_handle = 1;
optional uint32 x = 2;
optional uint32 y = 3;
}
//
// response from the zoom, what rect did we pick and what zoom factor
//
message CMsgZoomToElementAtPositionResponse
{
optional uint32 browser_handle = 1;
optional sint32 initial_x = 2;
optional sint32 initial_y = 3;
optional uint32 initial_width = 4;
optional uint32 initial_height = 5;
optional sint32 final_x = 6;
optional sint32 final_y = 7;
optional uint32 final_width = 8;
optional uint32 final_height = 9;
optional float zoom = 10;
}
//
// increase (or decrease if negative) the page scale factor used on this page
//
message CMsgScalePageToValue
{
optional uint32 browser_handle = 1;
optional float scale = 2;
optional float x = 3;
optional float y = 4;
}
//
// increase (or decrease if negative) the page scale factor used on this page
//
message CMsgScalePageToValueResponse
{
optional uint32 browser_handle = 1;
optional float zoom = 2;
optional int32 width_delta = 3;
optional int32 height_delta = 4;
}
//
// request a screenshot get written for this loaded url
//
message CMsgSavePageToJPEG
{
optional uint32 browser_handle = 1;
optional string url = 2;
optional string filename = 3;
optional uint32 width = 4;
optional uint32 height = 5;
}
//
// screenshot taken, tell the main thread we did it
//
message CMsgSavePageToJPEGResponse
{
optional uint32 browser_handle = 1;
optional string url = 2;
optional string filename = 3;
}
//
// web control wants to pop an alert dialog
//
message CMsgJSAlert
{
optional uint32 browser_handle = 1;
optional string message = 2;
}
//
// web control wants to pop an confirmation dialog
//
message CMsgJSConfirm
{
optional uint32 browser_handle = 1;
optional string message = 2;
}
//
// done showing the confirmation
//
message CMsgJSDialogResponse
{
optional uint32 browser_handle = 1;
optional bool result = 2;
}
//
// web control telling us the forward and back state
//
message CMsgCanGoBackAndForward
{
optional uint32 browser_handle = 1;
optional bool bgoback = 2;
optional bool bgoforward = 3;
}
//
// web control telling us to open a steam dialog
//
message CMsgOpenSteamURL
{
optional uint32 browser_handle = 1;
optional string url = 2;
}
//
// set a cookie for the cef instance
//
message CMsgSetCookie
{
optional string key = 1;
optional string value = 2;
optional string path = 3;
optional string host = 4;
optional uint32 expires = 5;
}
//
// tell cef that html isn't active so run slow
//
message CMsgSetTargetFrameRate
{
optional uint32 nTargetFrameRate = 1; // FPS to run the CEF think loop at
}
//
// request a full repaint of the control
//
message CMsgFullRepaint
{
optional uint32 browser_handle = 1;
}
//
// CEF wants to go fullscreen please
//
message CMsgRequestFullScreen
{
optional uint32 browser_handle = 1;
}
//
// do we allow fullscreen
//
message CMsgRequestFullScreenResponse
{
optional uint32 browser_handle = 1;
optional bool ballow = 2;
}
//
// exit fullscreen if we are in it
//
message CMsgExitFullScreen
{
optional uint32 browser_handle = 1;
}
//
// request all the cookies for this url
//
message CMsgGetCookiesForURL
{
optional uint32 browser_handle = 1;
optional string url = 2;
}
message CCookie
{
optional string name = 1;
optional string value = 2;
optional string domain = 3;
optional string path = 4;
}
//
// return all the cookies for this url
//
message CMsgGetCookiesForURLResponse
{
optional uint32 browser_handle = 1;
optional string url = 2;
repeated CCookie cookies = 3;
}
//
// sent when a html node gets key focus
//
message CMsgNodeHasFocus
{
optional uint32 browser_handle = 1;
optional bool bInput = 2;
optional string name = 3;
optional string elementtagname = 4;
optional string searchbuttontext = 5;
optional bool bHasMultipleInputs = 6;
optional string input_type = 7; // type of input, if node is input; otherwise unset
}
//
// zoom the html control to the node with input focus
//
message CMsgZoomToFocusedElement
{
optional uint32 browser_handle = 1;
optional uint32 leftoffset = 2 [default = 0];
optional uint32 topoffset = 3 [default = 0];
}
//
// ask a fullscreen flash control to close if open
//
message CMsgCloseFullScreenFlashIfOpen
{
optional uint32 browser_handle = 1;
}
//
// ask a fullscreen flash control to pause itself if open
//
message CMsgPauseFullScreenFlashMovieIfOpen
{
optional uint32 browser_handle = 1;
}
//
// get the string currently contained in the focused node
//
message CMsgFocusedNodeText
{
optional uint32 browser_handle = 1;
}
//
// what text is in the focused node
//
message CMsgFocusedNodeTextResponse
{
optional uint32 browser_handle = 1;
optional string value = 2;
}
|