cef/libcef/browser/extensions
Marshall Greenblatt 2ea7459a89 Use Chrome file dialogs on all platforms and runtimes (fixes issue #3314)
All file dialogs irrespective of source, platform and runtime will now be
routed through CefFileDialogManager and trigger CefDialogHandler callbacks
(see issue #3293).

Adds Chrome runtime support for CefBrowserHost::RunFileDialog and
CefDialogHandler callbacks.

Adds Alloy runtime support for internal GTK file and print dialogs on Linux
subject to the following limitations:

1. Internal GTK implementation:
   - Cannot be used with multi-threaded-message-loop because Chromium's
     internal GTK implementation is not thread-safe (does not use GDK threads).
   - Dialogs will not be modal to application windows when used with off-screen
     rendering due to lack of access to the client's top-level GtkWindow.
2. Cefclient CefDialogHandler implementation:
   - Cannot be used with Views because it requires a top-level GtkWindow.

Due to the above limitations no dialog implementation is currently provided for
Views + multi-threaded-message-loop on Linux. In cases where both
implementations are supported the cefclient version is now behind an optional
`--use-client-dialogs` command-line flag.

Expressly forbids multiple simultaneous file dialogs with the internal platform
implementation which uses modal dialogs. CefDialogHandler will still be notified
and can optionally handle each request without a modal dialog (see issue #3154).

Removes some RunFileDialog parameters that are not supported by the Chrome file
dialog implementation (selected_accept_filter parameter, cef_file_dialog_mode_t
overwrite/read-only flags).
2022-04-19 18:52:26 -04:00
..
api Use Chrome file dialogs on all platforms and runtimes (fixes issue #3314) 2022-04-19 18:52:26 -04:00
value_store Update to Chromium version 100.0.4896.0 (#972766) 2022-02-22 19:22:39 -05:00
alloy_extensions_util.cc alloy: Fix link click navigation in PDF files (fixes issue #3143) 2021-06-16 16:05:31 -04:00
alloy_extensions_util.h alloy: Fix link click navigation in PDF files (fixes issue #3143) 2021-06-16 16:05:31 -04:00
browser_extensions_util.cc alloy: Fix printing of PDF viewer (see issue #3047) 2022-02-18 11:37:27 -05:00
browser_extensions_util.h alloy: Fix printing of PDF viewer (see issue #3047) 2022-02-18 11:37:27 -05:00
browser_platform_delegate_background.cc Use Chrome file dialogs on all platforms and runtimes (fixes issue #3314) 2022-04-19 18:52:26 -04:00
browser_platform_delegate_background.h Use Chrome file dialogs on all platforms and runtimes (fixes issue #3314) 2022-04-19 18:52:26 -04:00
chrome_api_registration.cc alloy: Fix link click navigation in PDF files (fixes issue #3143) 2021-06-16 16:05:31 -04:00
chrome_api_registration.h Add support for loading extensions (issue #1947) 2017-08-25 18:40:32 -04:00
component_extension_resource_manager.cc Update to Chromium version 93.0.4577.0 (#902210) 2021-07-27 19:03:09 -04:00
component_extension_resource_manager.h Remove DISALLOW_ macro from libcef/ (see issue #3234) 2021-12-07 15:02:28 -05:00
extension_background_host.cc Update to Chromium version 93.0.4577.0 (#902210) 2021-07-27 19:03:09 -04:00
extension_background_host.h Remove DISALLOW_ macro from libcef/ (see issue #3234) 2021-12-07 15:02:28 -05:00
extension_function_details.cc chrome: win/linux: Add support for browser with native parent (see issue #3294) 2022-04-12 11:49:26 -04:00
extension_function_details.h Remove DISALLOW_ macro from libcef/ (see issue #3234) 2021-12-07 15:02:28 -05:00
extension_host_delegate.cc Update to Chromium version 100.0.4896.0 (#972766) 2022-02-22 19:22:39 -05:00
extension_host_delegate.h Update to Chromium version 100.0.4896.0 (#972766) 2022-02-22 19:22:39 -05:00
extension_system_factory.cc Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
extension_system_factory.h Remove DISALLOW_ macro from libcef/ (see issue #3234) 2021-12-07 15:02:28 -05:00
extension_system.cc Update to Chromium version 100.0.4896.0 (#972766) 2022-02-22 19:22:39 -05:00
extension_system.h Update to Chromium version 100.0.4896.0 (#972766) 2022-02-22 19:22:39 -05:00
extension_view_host.cc Update to Chromium version 98.0.4758.0 (#950365) 2021-12-18 15:57:34 -05:00
extension_view_host.h Update to Chromium version 98.0.4758.0 (#950365) 2021-12-18 15:57:34 -05:00
extension_web_contents_observer.cc Update to Chromium version 99.0.4844.0 (#961656) 2022-01-26 21:10:29 -05:00
extension_web_contents_observer.h Remove DISALLOW_ macro from libcef/ (see issue #3234) 2021-12-07 15:02:28 -05:00
extensions_api_client.cc Update to Chromium version 101.0.4951.0 (#982481) 2022-03-30 19:54:09 -04:00
extensions_api_client.h Update to Chromium version 101.0.4951.0 (#982481) 2022-03-30 19:54:09 -04:00
extensions_browser_api_provider.cc Convert defined(OS_XXX) to BUILDFLAG(IS_XXX) in libcef 2022-01-24 12:58:04 -05:00
extensions_browser_api_provider.h Remove DISALLOW_ macro from libcef/ (see issue #3234) 2021-12-07 15:02:28 -05:00
extensions_browser_client.cc Update to Chromium version 93.0.4577.0 (#902210) 2021-07-27 19:03:09 -04:00
extensions_browser_client.h Update to Chromium version 100.0.4896.0 (#972766) 2022-02-22 19:22:39 -05:00
mime_handler_view_guest_delegate.cc Update to Chromium version 97.0.4692.0 (#938553) 2021-11-15 14:25:16 -05:00
mime_handler_view_guest_delegate.h Remove DISALLOW_ macro from libcef/ (see issue #3234) 2021-12-07 15:02:28 -05:00