cef/libcef/renderer
Marshall Greenblatt a12c2ab3e1 Add support for MimeHandlerViewInCrossProcessFrame (fixes issue #2727)
The PDF loading documentation in extension_system.cc has be updated to
describe the new code paths.

To support delivery of input events to the mime handler renderer process it is
now necessary to route events via the correct RWHV interface. For Aura-based
platforms (Windows/Linux) this means RWHVAura::On*Event and for macOS this
means RWHVMac::RouteOrProcess*Event. Since Aura uses UI event types these have
become the source of truth on Aura-based platforms with conversion to Web event
types when needed (primarily for OSR).

This change also adds a timeout for CefProcessHostMsg_GetNewBrowserInfo to
avoid a hung renderer process if the guest WebContents route is not
registered via CefMimeHandlerViewGuestDelegate::OnGuestDetached as expected
prior to CefBrowserInfoManager::OnGetNewBrowserInfo being called. This
timeout can be disabled for testing purposes by passing the
`--disable-new-browser-info-timeout` command-line flag.

The `--disable-features=MimeHandlerViewInCrossProcessFrame` command-line
flag can be used for a limited time to restore the previous implementation
based on BrowserPlugin. That implementation will be deleted starting with
the 3897 branch update.

Known issues:
- ExecuteJavaScript calls on the frame hosting the PDF extension will not
  be routed to the mime handler renderer process.
- The PDF extension will not load successfully if blocked by
  ChromePluginPlaceholder and then manually continued via the "Run this
  plugin" context menu option (see https://crbug.com/533069#c41).
2020-01-24 20:16:47 -05:00
..
extensions Update to Chromium version 79.0.3945.1 (#706915) 2019-11-19 13:22:13 -05:00
blink_glue.cc Add support for MimeHandlerViewInCrossProcessFrame (fixes issue #2727) 2020-01-24 20:16:47 -05:00
blink_glue.h Add support for MimeHandlerViewInCrossProcessFrame (fixes issue #2727) 2020-01-24 20:16:47 -05:00
browser_impl.cc Update to Chromium version 76.0.3809.0 (#665002) 2019-07-16 15:34:16 -04:00
browser_impl.h Update to Chromium version 76.0.3809.0 (#665002) 2019-07-16 15:34:16 -04:00
content_renderer_client.cc Add support for MimeHandlerViewInCrossProcessFrame (fixes issue #2727) 2020-01-24 20:16:47 -05:00
content_renderer_client.h Update to Chromium version 79.0.3945.1 (#706915) 2019-11-19 13:22:13 -05: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 libcef: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:49:22 +01:00
dom_node_impl.h Update to Chromium revision 9ef2aa86 (#550428) 2018-05-04 10:50:26 +02:00
frame_impl.cc Add support for MimeHandlerViewInCrossProcessFrame (fixes issue #2727) 2020-01-24 20:16:47 -05:00
frame_impl.h Remove CefFrame::LoadString method (fixes issue #2586) 2019-10-15 17:34:16 +02:00
render_frame_observer.cc Add support for MimeHandlerViewInCrossProcessFrame (fixes issue #2727) 2020-01-24 20:16:47 -05:00
render_frame_observer.h Add support for MimeHandlerViewInCrossProcessFrame (fixes issue #2727) 2020-01-24 20:16:47 -05: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_message_filter.cc libcef: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:49:22 +01:00
render_message_filter.h Update to Chromium revision 5fdc0fab (#520840) 2017-12-14 15:31:07 -05:00
render_thread_observer.cc Update to Chromium version 79.0.3945.1 (#706915) 2019-11-19 13:22:13 -05:00
render_thread_observer.h Update to Chromium version 79.0.3945.1 (#706915) 2019-11-19 13:22:13 -05:00
render_urlrequest_impl.cc libcef: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:49:22 +01:00
render_urlrequest_impl.h Add NetworkService support for CefURLRequest (see issue #2622). 2019-05-17 21:42:25 +03:00
thread_util.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
url_loader_throttle_provider_impl.cc Add Google SafeSearch support with NetworkService (see issue #1917) 2019-10-02 12:33:56 +03:00
url_loader_throttle_provider_impl.h Update to Chromium version 78.0.3904.0 (#693954) 2019-10-01 13:55:16 +00:00
v8_impl.cc libcef: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:49:22 +01:00
v8_impl.h Update to Chromium version 74.0.3729.0 (#638880) 2019-03-13 21:27:37 +00:00