cef/include
Marshall Greenblatt 6d7a680187 Add permission callback for user-initated downloads (fixes issue #3183)
This change adds a CefDownloadHandler::CanDownload callback for optionally
blocking user-initiated downloads (e.g. alt + link click or link click that
returns a `Content-Disposition: attachment` response from the server).

To test:
- Run `ceftests --gtest_filter=DownloadTest.*`.
- Run `cefclient --hide-controls`. User-initiated downloads will be blocked.
2022-03-22 17:46:44 -04:00
..
base Fix std::result_of deprecation error in C++17 (fixes issue #3194) 2022-02-24 17:34:10 +00:00
capi Add permission callback for user-initated downloads (fixes issue #3183) 2022-03-22 17:46:44 -04:00
internal chrome: Add ability to handle chrome menu/keyboard commands (fixes issue #3280) 2022-03-22 15:11:47 -04:00
test Update to Chromium revision d483fb77 (#474934) 2017-06-02 05:55:23 -07:00
views views: Support configuration of initial window show state 2021-09-23 14:41:47 +03:00
wrapper Update include/ files for strict C function prototypes 2022-02-17 12:54:16 -05:00
cef_accessibility_handler.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
cef_api_hash.h Add permission callback for user-initated downloads (fixes issue #3183) 2022-03-22 17:46:44 -04:00
cef_app.h libcef: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:49:22 +01:00
cef_application_mac.h Update to Chromium version 86.0.4240.0 (#800218) 2020-09-03 17:44:25 -04:00
cef_audio_handler.h Fix typo in cef_audio_handler.h 2022-03-01 18:13:56 -05:00
cef_auth_callback.h Allow empty username parameter to CefAuthCallback::Continue (issue #2275) 2018-03-28 19:29:28 -04:00
cef_base.h Remove DISALLOW_ macro from include/ (see issue #3234) 2021-12-07 15:02:28 -05:00
cef_browser.h alloy: Implement Find() using find_in_page::FindTabHelper (fixes issue #3098, see issue #3047) 2022-02-17 13:59:25 -05:00
cef_browser_process_handler.h Delete cef_web_plugin.h and plugin-related APIs (see issue #3047) 2022-02-18 16:23:11 -05:00
cef_callback.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
cef_client.h chrome: Add ability to handle chrome menu/keyboard commands (fixes issue #3280) 2022-03-22 15:11:47 -04:00
cef_command_handler.h chrome: Add ability to handle chrome menu/keyboard commands (fixes issue #3280) 2022-03-22 15:11:47 -04:00
cef_command_line.h Fix CefCommandLine character case requirements (fixes issue #1872) 2021-09-27 16:36:57 +03:00
cef_context_menu_handler.h Delete cef_web_plugin.h and plugin-related APIs (see issue #3047) 2022-02-18 16:23:11 -05:00
cef_cookie.h Move cookieable scheme configuration to settings (see issue #2969) 2021-04-09 15:04:24 -04:00
cef_crash_util.h Update to Chromium revision bc084a8b (#530369) 2018-02-19 17:38:04 -05:00
cef_devtools_message_observer.h Add support for direct DevTools protocol messaging (fixes issue #2961). 2020-06-19 22:15:22 -04:00
cef_dialog_handler.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
cef_display_handler.h Move OnCursorChange from CefRenderHandler to CefDisplayHandler 2020-10-28 12:56:27 -04:00
cef_dom.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
cef_download_handler.h Add permission callback for user-initated downloads (fixes issue #3183) 2022-03-22 17:46:44 -04:00
cef_download_item.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
cef_drag_data.h Adding ClearFilenames method to CefDragData (fixes issue #3266) 2022-03-02 19:44:16 +00:00
cef_drag_handler.h Move message routing from CefBrowser to CefFrame (see issue #2498). 2019-05-29 17:44:56 +03:00
cef_extension.h Add support for loading extensions (issue #1947) 2017-08-25 18:40:32 -04:00
cef_extension_handler.h libcef: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:49:22 +01:00
cef_file_util.h Add support for loading certificate revocation lists (issue #2213) 2017-07-11 15:44:35 -04:00
cef_find_handler.h alloy: Implement Find() using find_in_page::FindTabHelper (fixes issue #3098, see issue #3047) 2022-02-17 13:59:25 -05:00
cef_focus_handler.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
cef_frame.h Convert legacy IPC messages to Mojo (fixes issue #3123) 2021-05-18 21:59:48 -04:00
cef_frame_handler.h Fix draggable region update with BackForwardCache enabled (see issue #2421) 2021-09-16 18:25:43 +03:00
cef_i18n_util.h views: Add support for absolute positioned overlay views. 2021-09-16 18:25:43 +03:00
cef_image.h Allow CefImage usage from any thread 2019-11-19 13:29:33 -05:00
cef_jsdialog_handler.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
cef_keyboard_handler.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
cef_life_span_handler.h Add CefFrameHandler callbacks for tracking CefFrame lifespan (see issue #2421) 2021-05-31 18:58:27 -04:00
cef_load_handler.h Update to Chromium revision 939b32ee (#454471) 2017-03-08 13:33:05 -08:00
cef_media_router.h Wait for CefBrowserContext initialization (see issue #2969) 2021-04-14 21:03:44 -04:00
cef_menu_model.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
cef_menu_model_delegate.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
cef_navigation_entry.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
cef_origin_whitelist.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
cef_parser.h Update to Chromium version 87.0.4280.0 (#812852) 2020-10-15 14:21:06 -04:00
cef_path_util.h - Add example to cefclient of launching DevTools in an external browser window and process using new CefGetPath and CefLaunchProcess functions (issue #639). 2012-06-26 16:47:05 +00:00
cef_print_handler.h Move GetPrintHandler to CefClient (see issue #2196) 2021-03-30 12:26:57 -04:00
cef_print_settings.h Update to Chromium version 78.0.3904.0 (#693954) 2019-10-01 13:55:16 +00:00
cef_process_message.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
cef_process_util.h - Add example to cefclient of launching DevTools in an external browser window and process using new CefGetPath and CefLaunchProcess functions (issue #639). 2012-06-26 16:47:05 +00:00
cef_registration.h Add support for media device discovery and messaging (fixes issue #2900) 2020-03-27 15:54:39 -04:00
cef_render_handler.h Move OnCursorChange from CefRenderHandler to CefDisplayHandler 2020-10-28 12:56:27 -04:00
cef_render_process_handler.h Allow a CefProcessMessage to remain valid after receipt (see issue #3126) 2021-05-20 14:46:19 -04:00
cef_request.h Fix issues with request callbacks during browser shutdown (see issue #2622). 2019-06-01 15:51:33 +03:00
cef_request_context.h Update to Chromium version 97.0.4692.0 (#938553) 2021-11-15 14:25:16 -05:00
cef_request_context_handler.h Delete cef_web_plugin.h and plugin-related APIs (see issue #3047) 2022-02-18 16:23:11 -05:00
cef_request_handler.h Delete cef_web_plugin.h and plugin-related APIs (see issue #3047) 2022-02-18 16:23:11 -05:00
cef_resource_bundle.h Return decompressed values from CefResourceBundle (fixes issue #2976) 2020-07-21 15:55:54 +00:00
cef_resource_bundle_handler.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
cef_resource_handler.h Fix typo in documentation for CefResourceHandler::Skip 2019-07-25 15:44:23 +00:00
cef_resource_request_handler.h Replace CefRequestCallback with CefCallback (fixes issue #1861) 2021-09-27 16:22:27 +03:00
cef_response.h Modify CefResponse header methods to match CefRequest API (fixes issue #2770) 2019-10-14 13:49:05 +02:00
cef_response_filter.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
cef_sandbox_mac.h Delete cef_web_plugin.h and plugin-related APIs (see issue #3047) 2022-02-18 16:23:11 -05:00
cef_sandbox_win.h Fix documentation typo in cef_sandbox_win.h 2022-02-18 21:58:50 +00:00
cef_scheme.h Implement NetworkService request interception/handling (see issue #2622). 2019-04-23 22:53:28 -04:00
cef_server.h Add CefServer API for handling HTTP/WebSocket requests (issue #2278) 2017-11-15 12:00:36 -05:00
cef_ssl_info.h Update to Chromium version 78.0.3904.0 (#693954) 2019-10-01 13:55:16 +00:00
cef_ssl_status.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
cef_stream.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
cef_string_visitor.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
cef_task.h Implement new approach for debugging leaked wrapper object references (issue #2593) 2019-02-14 17:08:43 -05:00
cef_thread.h Fix documentation typo 2020-09-08 12:18:35 -04:00
cef_trace.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
cef_urlrequest.h Update to Chromium version 86.0.4240.0 (#800218) 2020-09-03 17:44:25 -04:00
cef_v8.h Implement new approach for debugging leaked wrapper object references (issue #2593) 2019-02-14 17:08:43 -05:00
cef_values.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
cef_waitable_event.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
cef_x509_certificate.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
cef_xml_reader.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
cef_zip_reader.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00