1 From c10306e9da62f9c36513b98affc4589ea5016677 Mon Sep 17 00:00:00 2001
2 From: Roger Zanoni <rzanoni@igalia.com>
3 Date: Mon, 6 Nov 2023 16:00:35 -0300
4 Subject: [PATCH 09/10] Update generated api
8 ./translator.sh --classes CefWindow CefWindowDelegate CefView CefViewDeleate --root-dir
10 include/capi/cef_cookie_capi.h | 6 +-
11 include/capi/cef_media_router_capi.h | 6 +-
12 include/capi/cef_scheme_capi.h | 10 +-
13 include/capi/views/cef_window_capi.h | 52 +++++++-
14 include/cef_api_hash.h | 8 +-
15 libcef_dll/cpptoc/views/window_cpptoc.cc | 153 ++++++++++++++++++++++-
16 libcef_dll/ctocpp/views/window_ctocpp.cc | 148 +++++++++++++++++++++-
17 libcef_dll/ctocpp/views/window_ctocpp.h | 12 +-
18 libcef_dll/wrapper/libcef_dll_dylib.cc | 72 +++++++----
19 9 files changed, 422 insertions(+), 45 deletions(-)
21 diff --git a/include/capi/cef_cookie_capi.h b/include/capi/cef_cookie_capi.h
22 index 1be978bfd..f6f19ede2 100644
23 --- a/include/capi/cef_cookie_capi.h
24 +++ b/include/capi/cef_cookie_capi.h
26 // by hand. See the translator.README.txt file in the tools directory for
29 -// $hash=598c6f530b2e2553197d8c6a72ad9e2bf72b5443$
30 +// $hash=8093e45bcbd09f41f21c0cb7c8719166cc481529$
33 #ifndef CEF_INCLUDE_CAPI_CEF_COOKIE_CAPI_H_
34 @@ -126,8 +126,8 @@ typedef struct _cef_cookie_manager_t {
35 /// cef_settings_t.cache_path if specified or in memory otherwise. If |callback|
36 /// is non-NULL it will be executed asnychronously on the UI thread after the
37 /// manager's storage has been initialized. Using this function is equivalent to
38 -/// calling cef_request_context_t::cef_request_context_get_global_context()->Get
39 -/// DefaultCookieManager().
40 +/// calling cef_request_context_t::cef_request_context_get_global_context()-
41 +/// >GetDefaultCookieManager().
43 CEF_EXPORT cef_cookie_manager_t* cef_cookie_manager_get_global_manager(
44 struct _cef_completion_callback_t* callback);
45 diff --git a/include/capi/cef_media_router_capi.h b/include/capi/cef_media_router_capi.h
46 index 27f9d0e15..9df759013 100644
47 --- a/include/capi/cef_media_router_capi.h
48 +++ b/include/capi/cef_media_router_capi.h
50 // by hand. See the translator.README.txt file in the tools directory for
53 -// $hash=de4a9b856c6951231f446991a9b1efb89096ad3b$
54 +// $hash=d3f29de333c90768caac6aee2b7eb2db5f593515$
57 #ifndef CEF_INCLUDE_CAPI_CEF_MEDIA_ROUTER_CAPI_H_
58 @@ -114,8 +114,8 @@ typedef struct _cef_media_router_t {
59 /// Returns the MediaRouter object associated with the global request context.
60 /// If |callback| is non-NULL it will be executed asnychronously on the UI
61 /// thread after the manager's storage has been initialized. Equivalent to
62 -/// calling cef_request_context_t::cef_request_context_get_global_context()->get
64 +/// calling cef_request_context_t::cef_request_context_get_global_context()-
65 +/// >get_media_router().
67 CEF_EXPORT cef_media_router_t* cef_media_router_get_global(
68 struct _cef_completion_callback_t* callback);
69 diff --git a/include/capi/cef_scheme_capi.h b/include/capi/cef_scheme_capi.h
70 index 5f8796287..bdcd6cc3b 100644
71 --- a/include/capi/cef_scheme_capi.h
72 +++ b/include/capi/cef_scheme_capi.h
74 // by hand. See the translator.README.txt file in the tools directory for
77 -// $hash=6b6a7f754abc9ee5d6f775ba9eee802d3244faf5$
78 +// $hash=794d4c01f06c656c425779b0189a3b52820498ed$
81 #ifndef CEF_INCLUDE_CAPI_CEF_SCHEME_CAPI_H_
82 @@ -116,8 +116,8 @@ typedef struct _cef_scheme_handler_factory_t {
83 /// matches the specified |scheme_name| and optional |domain_name|. Returns
84 /// false (0) if an error occurs. This function may be called on any thread in
85 /// the browser process. Using this function is equivalent to calling cef_reques
86 -/// t_context_t::cef_request_context_get_global_context()->register_scheme_handl
88 +/// t_context_t::cef_request_context_get_global_context()-
89 +/// >register_scheme_handler_factory().
91 CEF_EXPORT int cef_register_scheme_handler_factory(
92 const cef_string_t* scheme_name,
93 @@ -128,8 +128,8 @@ CEF_EXPORT int cef_register_scheme_handler_factory(
94 /// Clear all scheme handler factories registered with the global request
95 /// context. Returns false (0) on error. This function may be called on any
96 /// thread in the browser process. Using this function is equivalent to calling
97 -/// cef_request_context_t::cef_request_context_get_global_context()->clear_schem
98 -/// e_handler_factories().
99 +/// cef_request_context_t::cef_request_context_get_global_context()-
100 +/// >clear_scheme_handler_factories().
102 CEF_EXPORT int cef_clear_scheme_handler_factories(void);
104 diff --git a/include/capi/views/cef_window_capi.h b/include/capi/views/cef_window_capi.h
105 index e5e04e83e..b0be32ad2 100644
106 --- a/include/capi/views/cef_window_capi.h
107 +++ b/include/capi/views/cef_window_capi.h
109 // by hand. See the translator.README.txt file in the tools directory for
112 -// $hash=4b43fe0b493d860e8b28d7a6d892db49d1135b34$
113 +// $hash=53e1bba9189f03819c0646670cab8f9caabc74d6$
116 #ifndef CEF_INCLUDE_CAPI_VIEWS_CEF_WINDOW_CAPI_H_
117 @@ -353,6 +353,49 @@ typedef struct _cef_window_t {
118 /// Remove all keyboard accelerators.
120 void(CEF_CALLBACK* remove_all_accelerators)(struct _cef_window_t* self);
123 + /// Tells the agl compositor to activate the app
125 + void(CEF_CALLBACK* agl_activate_app)(struct _cef_window_t* self,
126 + const cef_string_t* app);
129 + /// Tells the agl compositor the application id
131 + void(CEF_CALLBACK* agl_set_app_id)(struct _cef_window_t* self,
132 + const cef_string_t* app_id);
135 + /// Tells the agl compositor that everything is set-up and good to go
137 + void(CEF_CALLBACK* agl_set_app_ready)(struct _cef_window_t* self);
140 + /// Tells the agl compositor that the app is the background application
142 + void(CEF_CALLBACK* agl_set_back_ground_app)(struct _cef_window_t* self);
145 + /// Tells the agl compositor that the app is a panel
147 + void(CEF_CALLBACK* agl_set_panel_app)(struct _cef_window_t* self,
151 + /// Tells if the window wayland surface is configured
153 + int(CEF_CALLBACK* is_surface_configured)(struct _cef_window_t* self);
156 + /// A hint for the compositor to use a custom area, rather than inferring the
157 + /// activation area.
159 + void(CEF_CALLBACK* setup_activation_area)(struct _cef_window_t* self,
167 @@ -361,6 +404,13 @@ typedef struct _cef_window_t {
168 CEF_EXPORT cef_window_t* cef_window_create_top_level(
169 struct _cef_window_delegate_t* delegate);
172 +/// Create a new Window with the provided ID
174 +CEF_EXPORT cef_window_t* cef_window_create_top_level_with_id(
175 + struct _cef_window_delegate_t* delegate,
176 + const cef_string_t* app_id);
181 diff --git a/include/cef_api_hash.h b/include/cef_api_hash.h
182 index 90142ccb0..6af07332a 100644
183 --- a/include/cef_api_hash.h
184 +++ b/include/cef_api_hash.h
186 // way that may cause binary incompatibility with other builds. The universal
187 // hash value will change if any platform is affected whereas the platform hash
188 // values will change only if that particular platform is affected.
189 -#define CEF_API_HASH_UNIVERSAL "4acea2e5c7a3e281d9652802ae1d24b25eef299b"
190 +#define CEF_API_HASH_UNIVERSAL "7d1351328f7aeb7db3ae74b6d687b115ceec7695"
192 -#define CEF_API_HASH_PLATFORM "3a181fdfaa42d2214c77cd83f76886b0657b0b53"
193 +#define CEF_API_HASH_PLATFORM "70c2a3fee7a3f4a4f6d44d4a3b3699ad23cf6f67"
194 #elif defined(OS_MAC)
195 -#define CEF_API_HASH_PLATFORM "06bfe874ee215bde0a415bac7ac37ecf4969d4ca"
196 +#define CEF_API_HASH_PLATFORM "9d9d39318398a7efaf43406ae25967a33c9d9787"
197 #elif defined(OS_LINUX)
198 -#define CEF_API_HASH_PLATFORM "1615f7e7079d89e2e81f683d4a8480455b5f2a60"
199 +#define CEF_API_HASH_PLATFORM "f828859cd19052fd3dab4b9f50f530d7011642b6"
203 diff --git a/libcef_dll/cpptoc/views/window_cpptoc.cc b/libcef_dll/cpptoc/views/window_cpptoc.cc
204 index 93ee5341f..cbb4bb1a4 100644
205 --- a/libcef_dll/cpptoc/views/window_cpptoc.cc
206 +++ b/libcef_dll/cpptoc/views/window_cpptoc.cc
208 // implementations. See the translator.README.txt file in the tools directory
209 // for more information.
211 -// $hash=23777aea864e9abf38c2e2c5d79a40d6bd22876d$
212 +// $hash=53b37fbf82615184d8b259a2e476431a3e699eea$
215 #include "libcef_dll/cpptoc/views/window_cpptoc.h"
216 @@ -48,6 +48,32 @@ CEF_EXPORT cef_window_t* cef_window_create_top_level(
217 return CefWindowCppToC::Wrap(_retval);
220 +CEF_EXPORT cef_window_t* cef_window_create_top_level_with_id(
221 + struct _cef_window_delegate_t* delegate,
222 + const cef_string_t* app_id) {
223 + shutdown_checker::AssertNotShutdown();
225 + // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
227 + // Verify param: delegate; type: refptr_diff
232 + // Verify param: app_id; type: string_byref_const
239 + CefRefPtr<CefWindow> _retval = CefWindow::CreateTopLevelWindowWithId(
240 + CefWindowDelegateCToCpp::Wrap(delegate), CefString(app_id));
242 + // Return type: refptr_same
243 + return CefWindowCppToC::Wrap(_retval);
248 // MEMBER FUNCTIONS - Body may be edited by hand.
249 @@ -717,6 +743,124 @@ void CEF_CALLBACK window_remove_all_accelerators(struct _cef_window_t* self) {
250 CefWindowCppToC::Get(self)->RemoveAllAccelerators();
253 +void CEF_CALLBACK window_agl_activate_app(struct _cef_window_t* self,
254 + const cef_string_t* app) {
255 + shutdown_checker::AssertNotShutdown();
257 + // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
263 + // Verify param: app; type: string_byref_const
270 + CefWindowCppToC::Get(self)->AglActivateApp(CefString(app));
273 +void CEF_CALLBACK window_agl_set_app_id(struct _cef_window_t* self,
274 + const cef_string_t* app_id) {
275 + shutdown_checker::AssertNotShutdown();
277 + // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
283 + // Verify param: app_id; type: string_byref_const
290 + CefWindowCppToC::Get(self)->AglSetAppId(CefString(app_id));
293 +void CEF_CALLBACK window_agl_set_app_ready(struct _cef_window_t* self) {
294 + shutdown_checker::AssertNotShutdown();
296 + // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
304 + CefWindowCppToC::Get(self)->AglSetAppReady();
307 +void CEF_CALLBACK window_agl_set_back_ground_app(struct _cef_window_t* self) {
308 + shutdown_checker::AssertNotShutdown();
310 + // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
318 + CefWindowCppToC::Get(self)->AglSetBackGroundApp();
321 +void CEF_CALLBACK window_agl_set_panel_app(struct _cef_window_t* self,
323 + shutdown_checker::AssertNotShutdown();
325 + // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
333 + CefWindowCppToC::Get(self)->AglSetPanelApp(edge);
336 +int CEF_CALLBACK window_is_surface_configured(struct _cef_window_t* self) {
337 + shutdown_checker::AssertNotShutdown();
339 + // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
347 + bool _retval = CefWindowCppToC::Get(self)->IsSurfaceConfigured();
349 + // Return type: bool
353 +void CEF_CALLBACK window_setup_activation_area(struct _cef_window_t* self,
358 + shutdown_checker::AssertNotShutdown();
360 + // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
368 + CefWindowCppToC::Get(self)->SetupActivationArea(x, y, width, height);
371 struct _cef_window_t* CEF_CALLBACK window_as_window(struct _cef_panel_t* self) {
372 shutdown_checker::AssertNotShutdown();
374 @@ -2031,6 +2175,13 @@ CefWindowCppToC::CefWindowCppToC() {
375 GetStruct()->set_accelerator = window_set_accelerator;
376 GetStruct()->remove_accelerator = window_remove_accelerator;
377 GetStruct()->remove_all_accelerators = window_remove_all_accelerators;
378 + GetStruct()->agl_activate_app = window_agl_activate_app;
379 + GetStruct()->agl_set_app_id = window_agl_set_app_id;
380 + GetStruct()->agl_set_app_ready = window_agl_set_app_ready;
381 + GetStruct()->agl_set_back_ground_app = window_agl_set_back_ground_app;
382 + GetStruct()->agl_set_panel_app = window_agl_set_panel_app;
383 + GetStruct()->is_surface_configured = window_is_surface_configured;
384 + GetStruct()->setup_activation_area = window_setup_activation_area;
385 GetStruct()->base.as_window = window_as_window;
386 GetStruct()->base.set_to_fill_layout = window_set_to_fill_layout;
387 GetStruct()->base.set_to_box_layout = window_set_to_box_layout;
388 diff --git a/libcef_dll/ctocpp/views/window_ctocpp.cc b/libcef_dll/ctocpp/views/window_ctocpp.cc
389 index 3a0423d28..aee3d62f1 100644
390 --- a/libcef_dll/ctocpp/views/window_ctocpp.cc
391 +++ b/libcef_dll/ctocpp/views/window_ctocpp.cc
393 // implementations. See the translator.README.txt file in the tools directory
394 // for more information.
396 -// $hash=b6b0a2a563b475163aa71b20af6ec2ac8c1f0cae$
397 +// $hash=61eb77c4622382d6dda0136187c6acbd093f2e83$
400 #include "libcef_dll/ctocpp/views/window_ctocpp.h"
401 @@ -49,6 +49,33 @@ CefRefPtr<CefWindow> CefWindow::CreateTopLevelWindow(
402 return CefWindowCToCpp::Wrap(_retval);
405 +NO_SANITIZE("cfi-icall")
406 +CefRefPtr<CefWindow> CefWindow::CreateTopLevelWindowWithId(
407 + CefRefPtr<CefWindowDelegate> delegate,
408 + const CefString& app_id) {
409 + shutdown_checker::AssertNotShutdown();
411 + // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
413 + // Verify param: delegate; type: refptr_diff
414 + DCHECK(delegate.get());
415 + if (!delegate.get()) {
418 + // Verify param: app_id; type: string_byref_const
419 + DCHECK(!app_id.empty());
420 + if (app_id.empty()) {
425 + cef_window_t* _retval = cef_window_create_top_level_with_id(
426 + CefWindowDelegateCppToC::Wrap(delegate), app_id.GetStruct());
428 + // Return type: refptr_same
429 + return CefWindowCToCpp::Wrap(_retval);
432 // VIRTUAL METHODS - Body may be edited by hand.
434 NO_SANITIZE("cfi-icall") void CefWindowCToCpp::Show() {
435 @@ -707,6 +734,125 @@ NO_SANITIZE("cfi-icall") void CefWindowCToCpp::RemoveAllAccelerators() {
436 _struct->remove_all_accelerators(_struct);
439 +NO_SANITIZE("cfi-icall")
440 +void CefWindowCToCpp::AglActivateApp(const CefString& app) {
441 + shutdown_checker::AssertNotShutdown();
443 + cef_window_t* _struct = GetStruct();
444 + if (CEF_MEMBER_MISSING(_struct, agl_activate_app)) {
448 + // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
450 + // Verify param: app; type: string_byref_const
451 + DCHECK(!app.empty());
457 + _struct->agl_activate_app(_struct, app.GetStruct());
460 +NO_SANITIZE("cfi-icall")
461 +void CefWindowCToCpp::AglSetAppId(const CefString& app_id) {
462 + shutdown_checker::AssertNotShutdown();
464 + cef_window_t* _struct = GetStruct();
465 + if (CEF_MEMBER_MISSING(_struct, agl_set_app_id)) {
469 + // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
471 + // Verify param: app_id; type: string_byref_const
472 + DCHECK(!app_id.empty());
473 + if (app_id.empty()) {
478 + _struct->agl_set_app_id(_struct, app_id.GetStruct());
481 +NO_SANITIZE("cfi-icall") void CefWindowCToCpp::AglSetAppReady() {
482 + shutdown_checker::AssertNotShutdown();
484 + cef_window_t* _struct = GetStruct();
485 + if (CEF_MEMBER_MISSING(_struct, agl_set_app_ready)) {
489 + // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
492 + _struct->agl_set_app_ready(_struct);
495 +NO_SANITIZE("cfi-icall") void CefWindowCToCpp::AglSetBackGroundApp() {
496 + shutdown_checker::AssertNotShutdown();
498 + cef_window_t* _struct = GetStruct();
499 + if (CEF_MEMBER_MISSING(_struct, agl_set_back_ground_app)) {
503 + // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
506 + _struct->agl_set_back_ground_app(_struct);
509 +NO_SANITIZE("cfi-icall") void CefWindowCToCpp::AglSetPanelApp(uint32_t edge) {
510 + shutdown_checker::AssertNotShutdown();
512 + cef_window_t* _struct = GetStruct();
513 + if (CEF_MEMBER_MISSING(_struct, agl_set_panel_app)) {
517 + // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
520 + _struct->agl_set_panel_app(_struct, edge);
523 +NO_SANITIZE("cfi-icall") bool CefWindowCToCpp::IsSurfaceConfigured() {
524 + shutdown_checker::AssertNotShutdown();
526 + cef_window_t* _struct = GetStruct();
527 + if (CEF_MEMBER_MISSING(_struct, is_surface_configured)) {
531 + // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
534 + int _retval = _struct->is_surface_configured(_struct);
536 + // Return type: bool
537 + return _retval ? true : false;
540 +NO_SANITIZE("cfi-icall")
541 +void CefWindowCToCpp::SetupActivationArea(uint32_t x,
545 + shutdown_checker::AssertNotShutdown();
547 + cef_window_t* _struct = GetStruct();
548 + if (CEF_MEMBER_MISSING(_struct, setup_activation_area)) {
552 + // AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
555 + _struct->setup_activation_area(_struct, x, y, width, height);
558 NO_SANITIZE("cfi-icall") CefRefPtr<CefWindow> CefWindowCToCpp::AsWindow() {
559 shutdown_checker::AssertNotShutdown();
561 diff --git a/libcef_dll/ctocpp/views/window_ctocpp.h b/libcef_dll/ctocpp/views/window_ctocpp.h
562 index bc797350c..9931a7a3e 100644
563 --- a/libcef_dll/ctocpp/views/window_ctocpp.h
564 +++ b/libcef_dll/ctocpp/views/window_ctocpp.h
566 // implementations. See the translator.README.txt file in the tools directory
567 // for more information.
569 -// $hash=2a7aaed7d4296e29dca74345cf2b2d4db221a738$
570 +// $hash=10cca846f56124ef20cd769e018ccfdf0aba26f5$
573 #ifndef CEF_LIBCEF_DLL_CTOCPP_VIEWS_WINDOW_CTOCPP_H_
574 @@ -86,6 +86,16 @@ class CefWindowCToCpp
575 bool alt_pressed) override;
576 void RemoveAccelerator(int command_id) override;
577 void RemoveAllAccelerators() override;
578 + void AglActivateApp(const CefString& app) override;
579 + void AglSetAppId(const CefString& app_id) override;
580 + void AglSetAppReady() override;
581 + void AglSetBackGroundApp() override;
582 + void AglSetPanelApp(uint32_t edge) override;
583 + bool IsSurfaceConfigured() override;
584 + void SetupActivationArea(uint32_t x,
587 + uint32_t height) override;
590 CefRefPtr<CefWindow> AsWindow() override;
591 diff --git a/libcef_dll/wrapper/libcef_dll_dylib.cc b/libcef_dll/wrapper/libcef_dll_dylib.cc
592 index 21065db3b..b61ea0d4b 100644
593 --- a/libcef_dll/wrapper/libcef_dll_dylib.cc
594 +++ b/libcef_dll/wrapper/libcef_dll_dylib.cc
596 // implementations. See the translator.README.txt file in the tools directory
597 // for more information.
599 -// $hash=bcad216e5fef8b9c10a895524f8b1201608138f9$
600 +// $hash=51d1746394ff61e17d4fbb3d1415a3b646004563$
604 @@ -249,6 +249,8 @@ struct libcef_pointers {
605 decltype(&cef_scroll_view_create) cef_scroll_view_create;
606 decltype(&cef_textfield_create) cef_textfield_create;
607 decltype(&cef_window_create_top_level) cef_window_create_top_level;
608 + decltype(&cef_window_create_top_level_with_id)
609 + cef_window_create_top_level_with_id;
610 decltype(&cef_api_hash) cef_api_hash;
611 decltype(&cef_version_info) cef_version_info;
612 decltype(&cef_get_min_log_level) cef_get_min_log_level;
613 @@ -463,6 +465,7 @@ int libcef_init_pointers(const char* path) {
614 INIT_ENTRY(cef_scroll_view_create);
615 INIT_ENTRY(cef_textfield_create);
616 INIT_ENTRY(cef_window_create_top_level);
617 + INIT_ENTRY(cef_window_create_top_level_with_id);
618 INIT_ENTRY(cef_api_hash);
619 INIT_ENTRY(cef_version_info);
620 INIT_ENTRY(cef_get_min_log_level);
621 @@ -705,8 +708,8 @@ int cef_create_url(const struct _cef_urlparts_t* parts, cef_string_t* url) {
624 NO_SANITIZE("cfi-icall")
625 -cef_string_userfree_t cef_format_url_for_security_display(
626 - const cef_string_t* origin_url) {
627 +cef_string_userfree_t
628 + cef_format_url_for_security_display(const cef_string_t* origin_url) {
629 return g_libcef_pointers.cef_format_url_for_security_display(origin_url);
632 @@ -978,9 +981,10 @@ void cef_server_create(const cef_string_t* address,
635 NO_SANITIZE("cfi-icall")
636 -struct _cef_shared_process_message_builder_t*
637 -cef_shared_process_message_builder_create(const cef_string_t* name,
638 - size_t byte_size) {
640 + _cef_shared_process_message_builder_t* cef_shared_process_message_builder_create(
641 + const cef_string_t* name,
642 + size_t byte_size) {
643 return g_libcef_pointers.cef_shared_process_message_builder_create(name,
646 @@ -1192,46 +1196,54 @@ struct _cef_translator_test_t* cef_translator_test_create() {
649 NO_SANITIZE("cfi-icall")
650 -struct _cef_translator_test_ref_ptr_library_t*
651 -cef_translator_test_ref_ptr_library_create(int value) {
653 + _cef_translator_test_ref_ptr_library_t* cef_translator_test_ref_ptr_library_create(
655 return g_libcef_pointers.cef_translator_test_ref_ptr_library_create(value);
658 NO_SANITIZE("cfi-icall")
659 -struct _cef_translator_test_ref_ptr_library_child_t*
660 -cef_translator_test_ref_ptr_library_child_create(int value, int other_value) {
662 + _cef_translator_test_ref_ptr_library_child_t* cef_translator_test_ref_ptr_library_child_create(
665 return g_libcef_pointers.cef_translator_test_ref_ptr_library_child_create(
669 NO_SANITIZE("cfi-icall")
670 -struct _cef_translator_test_ref_ptr_library_child_child_t*
671 -cef_translator_test_ref_ptr_library_child_child_create(int value,
673 - int other_other_value) {
675 + _cef_translator_test_ref_ptr_library_child_child_t* cef_translator_test_ref_ptr_library_child_child_create(
678 + int other_other_value) {
679 return g_libcef_pointers
680 .cef_translator_test_ref_ptr_library_child_child_create(
681 value, other_value, other_other_value);
684 NO_SANITIZE("cfi-icall")
685 -struct _cef_translator_test_scoped_library_t*
686 -cef_translator_test_scoped_library_create(int value) {
688 + _cef_translator_test_scoped_library_t* cef_translator_test_scoped_library_create(
690 return g_libcef_pointers.cef_translator_test_scoped_library_create(value);
693 NO_SANITIZE("cfi-icall")
694 -struct _cef_translator_test_scoped_library_child_t*
695 -cef_translator_test_scoped_library_child_create(int value, int other_value) {
697 + _cef_translator_test_scoped_library_child_t* cef_translator_test_scoped_library_child_create(
700 return g_libcef_pointers.cef_translator_test_scoped_library_child_create(
704 NO_SANITIZE("cfi-icall")
705 -struct _cef_translator_test_scoped_library_child_child_t*
706 -cef_translator_test_scoped_library_child_child_create(int value,
708 - int other_other_value) {
710 + _cef_translator_test_scoped_library_child_child_t* cef_translator_test_scoped_library_child_child_create(
713 + int other_other_value) {
714 return g_libcef_pointers
715 .cef_translator_test_scoped_library_child_child_create(value, other_value,
717 @@ -1284,14 +1296,14 @@ void cef_display_get_alls(size_t* displaysCount,
720 NO_SANITIZE("cfi-icall")
721 -cef_point_t cef_display_convert_screen_point_to_pixels(
722 - const cef_point_t* point) {
724 + cef_display_convert_screen_point_to_pixels(const cef_point_t* point) {
725 return g_libcef_pointers.cef_display_convert_screen_point_to_pixels(point);
728 NO_SANITIZE("cfi-icall")
729 -cef_point_t cef_display_convert_screen_point_from_pixels(
730 - const cef_point_t* point) {
732 + cef_display_convert_screen_point_from_pixels(const cef_point_t* point) {
733 return g_libcef_pointers.cef_display_convert_screen_point_from_pixels(point);
736 @@ -1342,6 +1354,14 @@ struct _cef_window_t* cef_window_create_top_level(
737 return g_libcef_pointers.cef_window_create_top_level(delegate);
740 +NO_SANITIZE("cfi-icall")
741 +struct _cef_window_t* cef_window_create_top_level_with_id(
742 + struct _cef_window_delegate_t* delegate,
743 + const cef_string_t* app_id) {
744 + return g_libcef_pointers.cef_window_create_top_level_with_id(delegate,
748 NO_SANITIZE("cfi-icall") const char* cef_api_hash(int entry) {
749 return g_libcef_pointers.cef_api_hash(entry);