cef/libcef/renderer
Marshall Greenblatt f3c513bafd Allow a CefProcessMessage to remain valid after receipt (see issue #3126)
A reference to a received CefProcessMessage object and/or associated argument
list can now be kept outside of the OnProcessMessageReceived callback. The
argument list is no longer explicitly owned by the CefProcessMessage object
and can be individually assigned to other CefValue types as needed (e.g. by
passing to SetList, etc). Depending on client usage this could reduce the
potential for unnecessary copies of the list contents.

Received messages can also be sent back using SendProcessMessage (after which
the CefProcessMessage would become invalid as discussed in issue #3123). This
is not new behavior but we have now added explicit unit test coverage for it.
This also no longer requires a copy of the argument list contents.

Note that a received argument list is initially read-only for logical
consistency. Assignment to another CefValue object could potentially remove
the read-only status because it is not an intrinsic property of the underlying
Chromium data type. This is fine because, at that point, ownership has been
transfered to the new CefValue object and the original logical context (as
part of the CefProcessMessage) no longer applies.
2021-05-20 14:46:19 -04:00
..
alloy Convert legacy IPC messages to Mojo (fixes issue #3123) 2021-05-18 21:59:48 -04:00
chrome Convert legacy IPC messages to Mojo (fixes issue #3123) 2021-05-18 21:59:48 -04:00
extensions Fix renderer crash when printing a PDF file (fixes issue #3100) 2021-03-18 13:00:35 -04:00
blink_glue.cc Convert legacy IPC messages to Mojo (fixes issue #3123) 2021-05-18 21:59:48 -04:00
blink_glue.h Convert legacy IPC messages to Mojo (fixes issue #3123) 2021-05-18 21:59:48 -04:00
browser_impl.cc Convert legacy IPC messages to Mojo (fixes issue #3123) 2021-05-18 21:59:48 -04:00
browser_impl.h Update to Chromium version 90.0.4430.0 (#857950) 2021-03-18 11:23:00 -04:00
dom_document_impl.cc libcef: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:49:22 +01:00
dom_document_impl.h Update to Chromium version 74.0.3729.0 (#638880) 2019-03-13 21:27:37 +00:00
dom_node_impl.cc Update to Chromium version 91.0.4472.0 (#870763) 2021-04-23 11:38:51 -04:00
dom_node_impl.h Update to Chromium revision 9ef2aa86 (#550428) 2018-05-04 10:50:26 +02:00
frame_impl.cc Allow a CefProcessMessage to remain valid after receipt (see issue #3126) 2021-05-20 14:46:19 -04:00
frame_impl.h Convert legacy IPC messages to Mojo (fixes issue #3123) 2021-05-18 21:59:48 -04:00
render_frame_observer.cc Convert legacy IPC messages to Mojo (fixes issue #3123) 2021-05-18 21:59:48 -04:00
render_frame_observer.h Convert legacy IPC messages to Mojo (fixes issue #3123) 2021-05-18 21:59:48 -04:00
render_frame_util.cc Fix CefFrame::GetIdentifier value in the render process (fixes issue #2687, see issue #2498) 2019-06-19 16:55:31 +02:00
render_frame_util.h Change CefFrame::GetName() to return assigned name if it is non-empty before returning unique name (issue #2403) 2018-03-28 17:30:15 +00:00
render_manager.cc Convert legacy IPC messages to Mojo (fixes issue #3123) 2021-05-18 21:59:48 -04:00
render_manager.h Convert legacy IPC messages to Mojo (fixes issue #3123) 2021-05-18 21:59:48 -04:00
render_urlrequest_impl.cc Update to Chromium version 89.0.4389.0 (#843830) 2021-02-08 14:15:38 -05:00
render_urlrequest_impl.h Add NetworkService support for CefURLRequest (see issue #2622). 2019-05-17 21:42:25 +03:00
thread_util.h Rename the current CEF runtime to Alloy (see issue #2969) 2020-06-29 16:17:41 -04:00
v8_impl.cc Fix potential use-after-free of V8TrackArrayBuffer (fixes issue #3074) 2021-03-23 16:02:51 -04:00
v8_impl.h Update to Chromium version 74.0.3729.0 (#638880) 2019-03-13 21:27:37 +00:00