cef/libcef/browser/views
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
..
basic_label_button_impl.cc Update to Chromium version 76.0.3809.0 (#665002) 2019-07-16 15:34:16 -04:00
basic_label_button_impl.h Update to Chromium version 76.0.3809.0 (#665002) 2019-07-16 15:34:16 -04:00
basic_label_button_view.cc
basic_label_button_view.h
basic_panel_impl.cc
basic_panel_impl.h
basic_panel_view.cc
basic_panel_view.h
box_layout_impl.cc Update to Chromium version 77.0.3865.0 (#681094) 2019-09-04 15:13:32 +00:00
box_layout_impl.h
browser_platform_delegate_views.cc Add chrome runtime support for more callbacks and ceftests (see issue #2969) 2020-09-29 18:31:43 -04:00
browser_platform_delegate_views.h Add chrome runtime support for more callbacks and ceftests (see issue #2969) 2020-09-29 18:31:43 -04:00
browser_view_impl.cc Add chrome runtime support for more callbacks and ceftests (see issue #2969) 2020-09-29 18:31:43 -04:00
browser_view_impl.h Add chrome runtime support for more callbacks and ceftests (see issue #2969) 2020-09-29 18:31:43 -04:00
browser_view_view.cc Add print preview support (see issue #123) 2019-07-19 21:55:30 -04:00
browser_view_view.h Add print preview support (see issue #123) 2019-07-19 21:55:30 -04:00
button_impl.h Update to Chromium version 86.0.4240.0 (#800218) 2020-09-03 17:44:25 -04:00
button_view.h Update to Chromium version 86.0.4240.0 (#800218) 2020-09-03 17:44:25 -04:00
display_impl.cc
display_impl.h
fill_layout_impl.cc
fill_layout_impl.h
label_button_impl.h Allow CefImage usage from any thread 2019-11-19 13:29:33 -05:00
label_button_view.h
layout_adapter.cc
layout_adapter.h
layout_impl.h
layout_util.cc
layout_util.h
menu_button_impl.cc Update to Chromium version 76.0.3809.0 (#665002) 2019-07-16 15:34:16 -04:00
menu_button_impl.h Update to Chromium version 76.0.3809.0 (#665002) 2019-07-16 15:34:16 -04:00
menu_button_view.cc Update to Chromium version 80.0.3987.0 (#722274) 2020-02-17 13:19:09 -05:00
menu_button_view.h Update to Chromium version 86.0.4240.0 (#800218) 2020-09-03 17:44:25 -04:00
menu_runner_views.cc Rename CefBrowserHostImpl to AlloyBrowserHostImpl (see issue #2969) 2020-09-22 17:36:06 -04:00
menu_runner_views.h Rename CefBrowserHostImpl to AlloyBrowserHostImpl (see issue #2969) 2020-09-22 17:36:06 -04:00
panel_impl.h Update to Chromium version 76.0.3809.0 (#665002) 2019-07-16 15:34:16 -04:00
panel_view.h
scroll_view_impl.cc Update to Chromium version 76.0.3809.0 (#665002) 2019-07-16 15:34:16 -04:00
scroll_view_impl.h
scroll_view_view.cc
scroll_view_view.h
textfield_impl.cc Update to Chromium version 84.0.4147.0 (#768962) 2020-06-10 15:26:29 -04:00
textfield_impl.h Update to Chromium version 84.0.4147.0 (#768962) 2020-06-10 15:26:29 -04:00
textfield_view.cc
textfield_view.h
view_adapter.cc
view_adapter.h
view_impl.h Update to Chromium version 76.0.3809.0 (#665002) 2019-07-16 15:34:16 -04:00
view_util.cc Update to Chromium version 85.0.4183.0 (#782793) 2020-07-16 19:11:12 -04:00
view_util.h
view_view.h
window_impl.cc libcef: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:49:22 +01:00
window_impl.h
window_view.cc views: Support specification of screen bounds for CefWindow creation (fixes issue #2980) 2020-09-03 17:51:57 -04:00
window_view.h Update to Chromium version 86.0.4240.0 (#800218) 2020-09-03 17:44:25 -04:00