mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2024-12-14 02:24:03 +01:00
a12c2ab3e1
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). |
||
---|---|---|
.. | ||
api | ||
value_store | ||
browser_extensions_util.cc | ||
browser_extensions_util.h | ||
browser_platform_delegate_background.cc | ||
browser_platform_delegate_background.h | ||
chrome_api_registration.cc | ||
chrome_api_registration.h | ||
component_extension_resource_manager.cc | ||
component_extension_resource_manager.h | ||
extension_background_host.cc | ||
extension_background_host.h | ||
extension_function_details.cc | ||
extension_function_details.h | ||
extension_host_delegate.cc | ||
extension_host_delegate.h | ||
extension_system_factory.cc | ||
extension_system_factory.h | ||
extension_system.cc | ||
extension_system.h | ||
extension_view_host.cc | ||
extension_view_host.h | ||
extension_web_contents_observer.cc | ||
extension_web_contents_observer.h | ||
extensions_api_client.cc | ||
extensions_api_client.h | ||
extensions_browser_api_provider.cc | ||
extensions_browser_api_provider.h | ||
extensions_browser_client.cc | ||
extensions_browser_client.h | ||
mime_handler_view_guest_delegate.cc | ||
mime_handler_view_guest_delegate.h | ||
pdf_extension_util.cc | ||
pdf_extension_util.h | ||
pdf_web_contents_helper_client.cc | ||
pdf_web_contents_helper_client.h |