cef/libcef/common
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 77.0.3865.0 (#681094) 2019-09-04 15:13:32 +00:00
net libcef: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:49:22 +01:00
net_service Update to Chromium version 79.0.3945.1 (#706915) 2019-11-19 13:22:13 -05:00
service_manifests Update to Chromium version 78.0.3904.0 (#693954) 2019-10-01 13:55:16 +00:00
test Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
base_impl.cc libcef: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:49:22 +01:00
cef_crash_report_upload_thread.cc Update to Chromium revision 9ef2aa86 (#550428) 2018-05-04 10:50:26 +02:00
cef_crash_report_upload_thread.h Update to Chromium revision bc084a8b (#530369) 2018-02-19 17:38:04 -05:00
cef_crash_report_utils.cc Update to Chromium revision bc084a8b (#530369) 2018-02-19 17:38:04 -05:00
cef_crash_report_utils.h Update to Chromium revision bc084a8b (#530369) 2018-02-19 17:38:04 -05:00
cef_message_generator.cc Update to Chromium version 72.0.3626.0 (#612437) 2018-12-26 19:15:28 +02:00
cef_message_generator.h Depend directly on chrome targets and unfork code (issue #1947) 2016-07-15 21:17:44 -04:00
cef_messages.cc libcef: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:49:22 +01:00
cef_messages.h Add Google SafeSearch support with NetworkService (see issue #1917) 2019-10-02 12:33:56 +03:00
cef_switches.cc Add support for MimeHandlerViewInCrossProcessFrame (fixes issue #2727) 2020-01-24 20:16:47 -05:00
cef_switches.h Add support for MimeHandlerViewInCrossProcessFrame (fixes issue #2727) 2020-01-24 20:16:47 -05:00
command_line_impl.cc libcef: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:49:22 +01:00
command_line_impl.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
content_client.cc libcef: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:49:22 +01:00
content_client.h Update to Chromium version 78.0.3904.0 (#693954) 2019-10-01 13:55:16 +00:00
crash_reporter_client.cc libcef: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:49:22 +01:00
crash_reporter_client.h Update to Chromium version 68.0.3433.0 (#559327) 2018-05-22 17:03:01 +03:00
crash_reporting.cc Update to Chromium version 74.0.3706.0 (#632463) 2019-02-25 12:09:54 -05:00
crash_reporting.h Update to Chromium revision bc084a8b (#530369) 2018-02-19 17:38:04 -05:00
drag_data_impl.cc libcef: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:49:22 +01:00
drag_data_impl.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
file_util_impl.cc Add CefScopedTempDir and file utility functions for unit tests (issue #1632) 2016-11-15 13:47:44 -05:00
frame_util.cc Move message routing from CefBrowser to CefFrame (see issue #2498). 2019-05-29 17:44:56 +03:00
frame_util.h Move message routing from CefBrowser to CefFrame (see issue #2498). 2019-05-29 17:44:56 +03:00
json_impl.cc libcef: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:49:22 +01:00
main_delegate.cc Add support for MimeHandlerViewInCrossProcessFrame (fixes issue #2727) 2020-01-24 20:16:47 -05:00
main_delegate.h Update to Chromium version 78.0.3904.0 (#693954) 2019-10-01 13:55:16 +00:00
parser_impl.cc libcef: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:49:22 +01:00
process_message_impl.cc libcef: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:49:22 +01:00
process_message_impl.h Update to Chromium revision 40af916d (#303546). 2014-11-12 19:25:15 +00:00
request_impl.cc libcef: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:49:22 +01:00
request_impl.h Remove the old network implementation (see issue #2622) 2019-07-29 17:41:45 -04:00
resource_bundle_delegate.cc libcef: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:49:22 +01:00
resource_bundle_delegate.h Update to Chromium version 77.0.3865.0 (#681094) 2019-09-04 15:13:32 +00:00
resource_bundle_impl.cc Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
resource_bundle_impl.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
response_impl.cc Modify CefResponse header methods to match CefRequest API (fixes issue #2770) 2019-10-14 13:49:05 +02:00
response_impl.h Modify CefResponse header methods to match CefRequest API (fixes issue #2770) 2019-10-14 13:49:05 +02:00
response_manager.cc Update to Chromium version 72.0.3615.0 (#609159) 2018-12-04 14:45:37 -05:00
response_manager.h Update to Chromium revision ff259bab (#488528) 2017-07-28 18:30:34 -04:00
scheme_registrar_impl.cc Replace AddCustomScheme bool arguments with int using bit flags 2019-02-26 16:45:12 +00:00
scheme_registrar_impl.h Replace AddCustomScheme bool arguments with int using bit flags 2019-02-26 16:45:12 +00:00
string_list_impl.cc Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
string_map_impl.cc Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
string_multimap_impl.cc Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
string_types_impl.cc libcef: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:49:22 +01:00
task_impl.cc Update to Chromium revision fa6a5d87 (#499098) 2017-09-07 17:29:47 -04:00
task_runner_impl.cc libcef: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:49:22 +01:00
task_runner_impl.h Fix task runner checking 2017-09-21 14:23:02 +02:00
thread_impl.cc Update to Chromium version 78.0.3904.0 (#693954) 2019-10-01 13:55:16 +00:00
thread_impl.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
time_impl.cc Update to Chromium revision ad51088c (#444943) 2017-01-24 16:53:09 -05:00
time_util.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
tracker.cc libcef: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:49:22 +01:00
tracker.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
urlrequest_impl.cc libcef: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:49:22 +01:00
util_mac.h macOS: Add support for and enable the V2 sandbox (issue #2459) 2018-07-27 22:33:31 -04:00
util_mac.mm macOS: Support configuration of the main bundle path (fixes issue #2729) 2019-07-25 15:47:46 +00:00
value_base.cc libcef: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:49:22 +01:00
value_base.h libcef: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:49:22 +01:00
values_impl.cc libcef: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:49:22 +01:00
values_impl.h libcef: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:49:22 +01:00
waitable_event_impl.cc Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
waitable_event_impl.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
widevine_loader.cc libcef: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:49:22 +01:00
widevine_loader.h Update to Chromium version 71.0.3567.0 (#595360) 2018-10-04 12:17:26 +03:00