cef/include
Marshall Greenblatt 4fbd247231 Add chrome runtime support for more callbacks and ceftests (see issue #2969)
This change adds support for:
- Protocol and request handling.
- Loading and navigation events.
- Display and focus events.
- Mouse/keyboard events.
- Popup browsers.
- Callbacks in the renderer process.
- Misc. functionality required for ceftests.

This change also adds a new CefBrowserProcessHandler::GetCookieableSchemes
callback for configuring global state that will be applied to all
CefCookieManagers by default. This global callback is currently required by the
chrome runtime because the primary ProfileImpl is created via
ChromeBrowserMainParts::PreMainMessageLoopRun (CreatePrimaryProfile) before
OnContextCreated can be called.

ProfileImpl will use the "C:\Users\[user]\AppData\Local\CEF\User Data\Default"
directory by default (on Windows). Cookies may persist in this directory when
running ceftests and may need to be manually deleted if those tests fail.

Remaining work includes:
- Support for client-created request contexts.
- Embedding the browser in a Views hierarchy (cefclient support).
- TryCloseBrowser and DoClose support.
- Most of the CefSettings configuration.
- DevTools protocol and window control (ShowDevTools, ExecuteDevToolsMethod).
- CEF-specific WebUI pages (about, license, webui-hosts).
- Context menu customization (CefContextMenuHandler).
- Auto resize (SetAutoResizeEnabled).
- Zoom settings (SetZoomLevel).
- File dialog runner (RunFileDialog).
- File and JS dialog handlers (CefDialogHandler, CefJSDialogHandler).
- Extension loading (LoadExtension, etc).
- Plugin loading (OnBeforePluginLoad).
- Widevine loading (CefRegisterWidevineCdm).
- PDF and print preview does not display.
- Crash reporting is untested.
- Mac: Web content loads but does not display.

The following ceftests are now passing when run with the
"--enable-chrome-runtime" command-line flag:

CorsTest.*
DisplayTest.*:-DisplayTest.AutoResize
DOMTest.*
DraggableRegionsTest.*
ImageTest.*
MessageRouterTest.*
NavigationTest.*
ParserTest.*
RequestContextTest.*Global*
RequestTest.*
ResourceManagerTest.*
ResourceRequestHandlerTest.*
ResponseTest.*
SchemeHandlerTest.*
ServerTest.*
StreamResourceHandlerTest.*
StreamTest.*
StringTest.*
TaskTest.*
TestServerTest.*
ThreadTest.*
URLRequestTest.*Global*
V8Test.*:-V8Test.OnUncaughtExceptionDevTools
ValuesTest.*
WaitableEventTest.*
XmlReaderTest.*
ZipReaderTest.*
2020-09-29 18:31:43 -04:00
..
base Update to Chromium version 86.0.4240.0 (#800218) 2020-09-03 17:44:25 -04:00
capi Add chrome runtime support for more callbacks and ceftests (see issue #2969) 2020-09-29 18:31:43 -04:00
internal Update to Chromium version 86.0.4240.0 (#800218) 2020-09-03 17:44:25 -04:00
test Update to Chromium revision d483fb77 (#474934) 2017-06-02 05:55:23 -07:00
views views: Support specification of screen bounds for CefWindow creation (fixes issue #2980) 2020-09-03 17:51:57 -04:00
wrapper Update to Chromium version 86.0.4240.0 (#800218) 2020-09-03 17:44:25 -04: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 chrome runtime support for more callbacks and ceftests (see issue #2969) 2020-09-29 18:31:43 -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 Re-implement audio capturing based on the AudioService API (fixes issue #2755) 2020-05-01 18:18:18 +00: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 Update to Chromium version 86.0.4240.0 (#800218) 2020-09-03 17:44:25 -04:00
cef_browser.h Add support for direct DevTools protocol messaging (fixes issue #2961). 2020-06-19 22:15:22 -04:00
cef_browser_process_handler.h Add chrome runtime support for more callbacks and ceftests (see issue #2969) 2020-09-29 18:31:43 -04: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 Re-implement audio capturing based on the AudioService API (fixes issue #2755) 2020-05-01 18:18:18 +00:00
cef_command_line.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
cef_context_menu_handler.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
cef_cookie.h Support disabling of cookie load/save via SetSupportedSchemes (see issue #2622). 2019-05-02 18:33:10 -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 Add CefDisplayHandler::OnLoadingProgressChange callback (issue #2382) 2018-04-10 13:52:31 -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 Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02: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 Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02: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 Rename CefBase to CefBaseRefCounted (issue #2090) 2017-02-09 17:50:59 -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 Remove CefFrame::LoadString method (fixes issue #2586) 2019-10-15 17:34:16 +02: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 Fix issues with request callbacks during browser shutdown (see issue #2622). 2019-06-01 15:51:33 +03:00
cef_load_handler.h Update to Chromium revision 939b32ee (#454471) 2017-03-08 13:33:05 -08:00
cef_media_router.h Expose MediaSink device ip/port and model name (see issue #2900) 2020-07-16 19:11:19 -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 Add support for direct DevTools protocol messaging (fixes issue #2961). 2020-06-19 22:15:22 -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 Linux: Don't pass NULL CefBrowser to PrintHandler::GetPdfPaperSize (issue #2199) 2017-06-17 12:49:41 +03: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 libcef: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:49:22 +01:00
cef_render_process_handler.h Remove render thread created callbacks (see issue #2498) 2020-07-16 19:11:18 -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_callback.h Implement NetworkService request interception/handling (see issue #2622). 2019-04-23 22:53:28 -04:00
cef_request_context.h Add support for media device discovery and messaging (fixes issue #2900) 2020-03-27 15:54:39 -04:00
cef_request_context_handler.h libcef: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:49:22 +01:00
cef_request_handler.h Add support for direct DevTools protocol messaging (fixes issue #2961). 2020-06-19 22:15:22 -04: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 libcef: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:49:22 +01: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 Update to Chromium version 86.0.4240.0 (#800218) 2020-09-03 17:44:25 -04:00
cef_sandbox_win.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02: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_web_plugin.h Update to Chromium revision 9ef2aa86 (#550428) 2018-05-04 10:50:26 +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