cef/libcef/browser/extensions
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
..
api Rename CefBrowserHostImpl to AlloyBrowserHostImpl (see issue #2969) 2020-09-22 17:36:06 -04:00
value_store Update to Chromium version 85.0.4183.0 (#782793) 2020-07-16 19:11:12 -04:00
browser_extensions_util.cc Rename CefBrowserHostImpl to AlloyBrowserHostImpl (see issue #2969) 2020-09-22 17:36:06 -04:00
browser_extensions_util.h Rename CefBrowserHostImpl to AlloyBrowserHostImpl (see issue #2969) 2020-09-22 17:36:06 -04:00
browser_platform_delegate_background.cc Add chrome runtime support for more callbacks and ceftests (see issue #2969) 2020-09-29 18:31:43 -04:00
browser_platform_delegate_background.h Add chrome runtime support for more callbacks and ceftests (see issue #2969) 2020-09-29 18:31:43 -04:00
chrome_api_registration.cc Update to Chromium version 71.0.3578.0 (#599034) 2018-10-25 12:57:05 -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 80.0.3987.0 (#722274) 2020-02-17 13:19:09 -05:00
component_extension_resource_manager.h Update to Chromium version 85.0.4183.0 (#782793) 2020-07-16 19:11:12 -04:00
extension_background_host.cc Rename CefBrowserHostImpl to AlloyBrowserHostImpl (see issue #2969) 2020-09-22 17:36:06 -04:00
extension_background_host.h Rename CefBrowserHostImpl to AlloyBrowserHostImpl (see issue #2969) 2020-09-22 17:36:06 -04:00
extension_function_details.cc Add chrome runtime support for more callbacks and ceftests (see issue #2969) 2020-09-29 18:31:43 -04:00
extension_function_details.h Rename CefBrowserHostImpl to AlloyBrowserHostImpl (see issue #2969) 2020-09-22 17:36:06 -04:00
extension_host_delegate.cc Rename CefBrowserHostImpl to AlloyBrowserHostImpl (see issue #2969) 2020-09-22 17:36:06 -04:00
extension_host_delegate.h Rename CefBrowserHostImpl to AlloyBrowserHostImpl (see issue #2969) 2020-09-22 17:36:06 -04:00
extension_system.cc Update to Chromium version 86.0.4240.0 (#800218) 2020-09-03 17:44:25 -04:00
extension_system.h Update to Chromium version 85.0.4183.0 (#782793) 2020-07-16 19:11:12 -04: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 Update to Chromium revision cb947c01 (#352221) 2015-10-09 17:31:27 -04:00
extension_view_host.cc Rename CefBrowserHostImpl to AlloyBrowserHostImpl (see issue #2969) 2020-09-22 17:36:06 -04:00
extension_view_host.h Rename CefBrowserHostImpl to AlloyBrowserHostImpl (see issue #2969) 2020-09-22 17:36:06 -04:00
extension_web_contents_observer.cc Add NetworkService support for extensions and downloads (see issue #2622). 2019-05-01 17:10:52 -04:00
extension_web_contents_observer.h Update to Chromium version 73.0.3665.0 (#620590) 2019-01-18 11:25:51 +01:00
extensions_api_client.cc Make CefBrowserContext an abstract base class (see issue #2969) 2020-07-01 15:35:07 -04:00
extensions_api_client.h Add support for Chrome Storage Extension API (issue #1947) 2017-09-11 18:42:30 +00:00
extensions_browser_api_provider.cc Update to Chromium version 70.0.3538.0 (#587811) 2018-09-05 15:42:42 +02:00
extensions_browser_api_provider.h Update to Chromium version 70.0.3538.0 (#587811) 2018-09-05 15:42:42 +02:00
extensions_browser_client.cc Add chrome runtime support for more callbacks and ceftests (see issue #2969) 2020-09-29 18:31:43 -04:00
extensions_browser_client.h Update to Chromium version 84.0.4147.0 (#768962) 2020-06-10 15:26:29 -04:00
mime_handler_view_guest_delegate.cc Rename CefBrowserHostImpl to AlloyBrowserHostImpl (see issue #2969) 2020-09-22 17:36:06 -04:00
mime_handler_view_guest_delegate.h Add support for MimeHandlerViewInCrossProcessFrame (fixes issue #2727) 2020-01-24 20:16:47 -05:00
pdf_extension_util.cc Fix decoding of resources (fixes issue #2966) 2020-07-02 14:45:23 -04:00
pdf_extension_util.h Add PDF extension support (issue #1565) 2015-07-23 14:02:03 -04:00
pdf_web_contents_helper_client.cc Add support for MimeHandlerViewInCrossProcessFrame (fixes issue #2727) 2020-01-24 20:16:47 -05:00
pdf_web_contents_helper_client.h Update to Chromium version 74.0.3729.0 (#638880) 2019-03-13 21:27:37 +00:00