cef/include
Marshall Greenblatt 20a659fa66 Pass mime type values as file dialog accept filters (see #3314)
File dialogs that specify mime type (e.g. "image/*") accept filters will pass
those values unchanged to the OnFileDialog |accept_filters| parameter. The
default dialog implementation will show those filters in addition to a combined
"Custom Files" filter. This is a change from preexisting Google Chrome
behavior where only the combined "Custom Files" filter is displayed, and
restores CEF behavior that existed prior to 2ea7459a89.

Document the fact that OnFileDialog may be called twice, once before MIME type
expansion and once afterwards.

Add new OnFileDialog |accept_extensions| and |accept_descriptions| parameters
for MIME type extensions and descriptions.

Details: This change adds a SelectFileDialog::FileTypeInfo::extension_mimetypes
member and improves the logic in FileSelectHelper::GetFileTypesFromAcceptType
and file_dialog_manager.cc SelectFileToFileChooserParams to support recall of
the source mime type when populating the FileChooserParams structure.

To test:
- Run `ceftests --gtest_filter=DialogTest.*`
- Run `cefclient --url=https://tests/dialogs`
2024-05-30 15:46:19 -04:00
..
base Remove unused cef_ptr_util.h 2024-05-26 13:45:30 -04:00
capi Pass mime type values as file dialog accept filters (see #3314) 2024-05-30 15:46:19 -04:00
internal Update to Chromium version 126.0.6478.0 (#1300313) 2024-05-26 13:45:29 -04:00
test tests: Fix SchemeHandlerTest failure with ReduceAcceptLanguage trial 2024-05-26 13:45:29 -04:00
views chrome: Add support for Alloy style browsers and windows (see #3681) 2024-04-22 14:57:37 -04:00
wrapper wrapper: Format with clang-tidy (see #3632) 2024-01-20 12:34:13 -05:00
cef_accessibility_handler.h Update include/ comments to Doxygen formatting (see issue #3384) 2022-09-01 17:14:30 -04:00
cef_api_hash.h Pass mime type values as file dialog accept filters (see #3314) 2024-05-30 15:46:19 -04:00
cef_app.h Add callbacks for unresponsive render process (fixes #3661) 2024-03-18 17:45:31 -04:00
cef_application_mac.h Update to Chromium version 114.0.5735.0 (#1135570) 2023-05-05 22:53:16 +03:00
cef_audio_handler.h Remove CEF-specific integer and char16 typedef's (see #3507) 2023-06-01 19:32:36 +03:00
cef_auth_callback.h Update include/ comments to Doxygen formatting (see issue #3384) 2022-09-01 17:14:30 -04:00
cef_base.h Update include files for bracket style 2023-01-04 21:36:29 -05:00
cef_browser.h Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
cef_browser_process_handler.h chrome: Enforce matching context for new user and incognito profiles 2024-02-14 18:51:32 -05:00
cef_callback.h Update include/ comments to Doxygen formatting (see issue #3384) 2022-09-01 17:14:30 -04:00
cef_client.h Update include/ comments to Doxygen formatting (see issue #3384) 2022-09-01 17:14:30 -04:00
cef_command_handler.h chrome: Add ability to hide toolbar and app menu contents (see issue #3280) 2023-03-08 12:02:49 -05:00
cef_command_line.h Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
cef_context_menu_handler.h Update include/ comments to Doxygen formatting (see issue #3384) 2022-09-01 17:14:30 -04:00
cef_cookie.h Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
cef_crash_util.h alloy: Remove CefSettings.user_data_path (fixes #3511) 2023-06-06 17:41:57 +03:00
cef_devtools_message_observer.h Update include/ comments to Doxygen formatting (see issue #3384) 2022-09-01 17:14:30 -04:00
cef_dialog_handler.h Pass mime type values as file dialog accept filters (see #3314) 2024-05-30 15:46:19 -04:00
cef_display_handler.h chrome: Standardize fullscreen transition behavor/callbacks (fixes #3571) 2023-09-28 17:44:35 -04:00
cef_dom.h Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
cef_download_handler.h chrome: Add CefDownloadHandler support (see #3681) 2024-04-27 15:36:58 -04:00
cef_download_item.h Remove CEF-specific integer and char16 typedef's (see #3507) 2023-06-01 19:32:36 +03:00
cef_drag_data.h Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
cef_drag_handler.h Update include/ comments to Doxygen formatting (see issue #3384) 2022-09-01 17:14:30 -04:00
cef_extension.h Add GN arg to disable Alloy bootstrap (see #3681, see #3685) 2024-05-01 14:34:21 -04:00
cef_extension_handler.h Add GN arg to disable Alloy bootstrap (see #3681, see #3685) 2024-05-01 14:34:21 -04:00
cef_file_util.h Update include/ comments to Doxygen formatting (see issue #3384) 2022-09-01 17:14:30 -04:00
cef_find_handler.h Update include/ comments to Doxygen formatting (see issue #3384) 2022-09-01 17:14:30 -04:00
cef_focus_handler.h Update include/ comments to Doxygen formatting (see issue #3384) 2022-09-01 17:14:30 -04:00
cef_frame.h Update to Chromium version 122.0.6261.0 (#1250580) 2024-01-30 12:07:08 -05:00
cef_frame_handler.h docs: Fix typos "recieve" -> "receive" 2024-01-05 15:03:20 -05:00
cef_i18n_util.h Update include/ comments to Doxygen formatting (see issue #3384) 2022-09-01 17:14:30 -04:00
cef_image.h Update include/ comments to Doxygen formatting (see issue #3384) 2022-09-01 17:14:30 -04:00
cef_jsdialog_handler.h Update include/ comments to Doxygen formatting (see issue #3384) 2022-09-01 17:14:30 -04:00
cef_keyboard_handler.h Update include/ comments to Doxygen formatting (see issue #3384) 2022-09-01 17:14:30 -04:00
cef_life_span_handler.h docs: Fix typos "recieve" -> "receive" 2024-01-05 15:03:20 -05:00
cef_load_handler.h Update include/ comments to Doxygen formatting (see issue #3384) 2022-09-01 17:14:30 -04:00
cef_media_router.h Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
cef_menu_model.h Update include/ comments to Doxygen formatting (see issue #3384) 2022-09-01 17:14:30 -04:00
cef_menu_model_delegate.h Update include/ comments to Doxygen formatting (see issue #3384) 2022-09-01 17:14:30 -04:00
cef_navigation_entry.h Update include/ comments to Doxygen formatting (see issue #3384) 2022-09-01 17:14:30 -04:00
cef_origin_whitelist.h Fix typos in cef_origin_whitelist.h and capi/cef_origin_whitelist_capi.h 2023-04-12 18:21:39 +00:00
cef_parser.h Add CefResolveURL function (fixes issue #3402) 2022-10-03 17:46:50 +00:00
cef_path_util.h Update include/ comments to Doxygen formatting (see issue #3384) 2022-09-01 17:14:30 -04:00
cef_permission_handler.h Remove CEF-specific integer and char16 typedef's (see #3507) 2023-06-01 19:32:36 +03:00
cef_preference.h Support registration of custom preferences. 2022-10-26 16:54:33 -04:00
cef_print_handler.h Update include/ comments to Doxygen formatting (see issue #3384) 2022-09-01 17:14:30 -04:00
cef_print_settings.h Update include/ comments to Doxygen formatting (see issue #3384) 2022-09-01 17:14:30 -04:00
cef_process_message.h Update include/ comments to Doxygen formatting (see issue #3384) 2022-09-01 17:14:30 -04:00
cef_process_util.h Update include/ comments to Doxygen formatting (see issue #3384) 2022-09-01 17:14:30 -04:00
cef_registration.h Update include/ comments to Doxygen formatting (see issue #3384) 2022-09-01 17:14:30 -04:00
cef_render_handler.h osr: Implement shared texture support (fixes #1006, fixes #2575) 2024-04-23 13:03:56 -04:00
cef_render_process_handler.h Update include/ comments to Doxygen formatting (see issue #3384) 2022-09-01 17:14:30 -04:00
cef_request.h Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
cef_request_context.h Add GN arg to disable Alloy bootstrap (see #3681, see #3685) 2024-05-01 14:34:21 -04:00
cef_request_context_handler.h Support registration of custom preferences. 2022-10-26 16:54:33 -04:00
cef_request_handler.h Add callbacks for unresponsive render process (fixes #3661) 2024-03-18 17:45:31 -04:00
cef_resource_bundle.h Update include/ comments to Doxygen formatting (see issue #3384) 2022-09-01 17:14:30 -04:00
cef_resource_bundle_handler.h Update include/ comments to Doxygen formatting (see issue #3384) 2022-09-01 17:14:30 -04:00
cef_resource_handler.h Remove CEF-specific integer and char16 typedef's (see #3507) 2023-06-01 19:32:36 +03:00
cef_resource_request_handler.h Remove CEF-specific integer and char16 typedef's (see #3507) 2023-06-01 19:32:36 +03:00
cef_response.h Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
cef_response_filter.h Update include/ comments to Doxygen formatting (see issue #3384) 2022-09-01 17:14:30 -04:00
cef_sandbox_mac.h Update include/ comments to Doxygen formatting (see issue #3384) 2022-09-01 17:14:30 -04:00
cef_sandbox_win.h Update include/ comments to Doxygen formatting (see issue #3384) 2022-09-01 17:14:30 -04:00
cef_scheme.h Update include/ comments to Doxygen formatting (see issue #3384) 2022-09-01 17:14:30 -04:00
cef_server.h Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
cef_shared_memory_region.h Replace ReadOnlySharedMemoryRegion with WritableSharedMemoryRegion (see #3502) 2023-10-16 22:43:29 +00:00
cef_shared_process_message_builder.h Update include/ comments to Doxygen formatting (see issue #3384) 2022-09-01 17:14:30 -04:00
cef_ssl_info.h Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
cef_ssl_status.h Update include/ comments to Doxygen formatting (see issue #3384) 2022-09-01 17:14:30 -04:00
cef_stream.h Remove CEF-specific integer and char16 typedef's (see #3507) 2023-06-01 19:32:36 +03:00
cef_string_visitor.h Update include/ comments to Doxygen formatting (see issue #3384) 2022-09-01 17:14:30 -04:00
cef_task.h Remove CEF-specific integer and char16 typedef's (see #3507) 2023-06-01 19:32:36 +03:00
cef_thread.h Update include/ comments to Doxygen formatting (see issue #3384) 2022-09-01 17:14:30 -04:00
cef_trace.h Remove CEF-specific integer and char16 typedef's (see #3507) 2023-06-01 19:32:36 +03:00
cef_unresponsive_process_callback.h Add callbacks for unresponsive render process (fixes #3661) 2024-03-18 17:45:31 -04:00
cef_urlrequest.h Remove CEF-specific integer and char16 typedef's (see #3507) 2023-06-01 19:32:36 +03:00
cef_v8.h Update to Chromium version 126.0.6478.0 (#1300313) 2024-05-26 13:45:29 -04:00
cef_values.h Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
cef_waitable_event.h Remove CEF-specific integer and char16 typedef's (see #3507) 2023-06-01 19:32:36 +03:00
cef_x509_certificate.h Update to Chromium version 115.0.5790.0 (#1148114) 2023-06-01 13:44:39 +03:00
cef_xml_reader.h Update include/ comments to Doxygen formatting (see issue #3384) 2022-09-01 17:14:30 -04:00
cef_zip_reader.h Remove CEF-specific integer and char16 typedef's (see #3507) 2023-06-01 19:32:36 +03:00