cef/libcef/browser/views
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
..
basic_label_button_impl.cc Update to Chromium version 76.0.3809.0 (#665002) 2019-07-16 15:34:16 -04:00
basic_label_button_impl.h Update to Chromium version 76.0.3809.0 (#665002) 2019-07-16 15:34:16 -04:00
basic_label_button_view.cc
basic_label_button_view.h
basic_panel_impl.cc
basic_panel_impl.h
basic_panel_view.cc
basic_panel_view.h
box_layout_impl.cc Update to Chromium version 77.0.3865.0 (#681094) 2019-09-04 15:13:32 +00:00
box_layout_impl.h
browser_platform_delegate_views.cc Add support for MimeHandlerViewInCrossProcessFrame (fixes issue #2727) 2020-01-24 20:16:47 -05:00
browser_platform_delegate_views.h Add support for MimeHandlerViewInCrossProcessFrame (fixes issue #2727) 2020-01-24 20:16:47 -05:00
browser_view_impl.cc Add print preview support (see issue #123) 2019-07-19 21:55:30 -04:00
browser_view_impl.h Add print preview support (see issue #123) 2019-07-19 21:55:30 -04:00
browser_view_view.cc Add print preview support (see issue #123) 2019-07-19 21:55:30 -04:00
browser_view_view.h Add print preview support (see issue #123) 2019-07-19 21:55:30 -04:00
button_impl.h
button_view.h
display_impl.cc
display_impl.h
fill_layout_impl.cc
fill_layout_impl.h
label_button_impl.h Allow CefImage usage from any thread 2019-11-19 13:29:33 -05:00
label_button_view.h
layout_adapter.cc
layout_adapter.h
layout_impl.h
layout_util.cc
layout_util.h
menu_button_impl.cc Update to Chromium version 76.0.3809.0 (#665002) 2019-07-16 15:34:16 -04:00
menu_button_impl.h Update to Chromium version 76.0.3809.0 (#665002) 2019-07-16 15:34:16 -04:00
menu_button_view.cc
menu_button_view.h
menu_runner_views.cc
menu_runner_views.h
panel_impl.h Update to Chromium version 76.0.3809.0 (#665002) 2019-07-16 15:34:16 -04:00
panel_view.h
scroll_view_impl.cc Update to Chromium version 76.0.3809.0 (#665002) 2019-07-16 15:34:16 -04:00
scroll_view_impl.h
scroll_view_view.cc
scroll_view_view.h
textfield_impl.cc Update to Chromium version 78.0.3904.0 (#693954) 2019-10-01 13:55:16 +00:00
textfield_impl.h
textfield_view.cc
textfield_view.h
view_adapter.cc
view_adapter.h
view_impl.h Update to Chromium version 76.0.3809.0 (#665002) 2019-07-16 15:34:16 -04:00
view_util.cc
view_util.h
view_view.h
window_impl.cc libcef: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:49:22 +01:00
window_impl.h
window_view.cc Don't set "always on top" style for child CefWindows. 2019-10-18 15:08:23 +02:00
window_view.h