cef/libcef/browser/extensions
Marshall Greenblatt 38d8acfa18 Create a ChromeBrowserHostImpl for every Chrome tab (see issue #2969)
The Browser object represents the top-level Chrome browser window. One or more
tabs (WebContents) are then owned by the Browser object via TabStripModel. A
new Browser object can be created programmatically using "new Browser" or
Browser::Create, or as a result of user action such as dragging a tab out of an
existing window. New or existing tabs can also be added to an already existing
Browser object.

The Browser object acts as the WebContentsDelegate for all attached tabs. CEF
integration requires WebContentsDelegate callbacks and notification of tab
attach/detach. To support this integration we add a cef::BrowserDelegate
(ChromeBrowserDelegate) member that is created in the Browser constructor and
receives delegation for the Browser callbacks. ChromeBrowserDelegate creates a
new ChromeBrowserHostImpl when a tab is added to a Browser for the first time,
and that ChromeBrowserHostImpl continues to exist until the tab's WebContents
is destroyed. The associated WebContents object does not change, but the
Browser object will change when the tab is dragged between windows.

CEF callback logic is shared between the chrome and alloy runtimes where
possible. This shared logic has been extracted from CefBrowserHostImpl to
create new CefBrowserHostBase and CefBrowserContentsDelegate classes. The
CefBrowserHostImpl class is now only used with the alloy runtime and will be
renamed to AlloyBrowserHostImpl in a future commit.
2020-09-21 17:06:56 -04:00
..
api libcef: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:49:22 +01:00
value_store Update to Chromium version 85.0.4183.0 (#782793) 2020-07-16 19:11:12 -04:00
browser_extensions_util.cc Create a ChromeBrowserHostImpl for every Chrome tab (see issue #2969) 2020-09-21 17:06:56 -04:00
browser_extensions_util.h Create a ChromeBrowserHostImpl for every Chrome tab (see issue #2969) 2020-09-21 17:06:56 -04:00
browser_platform_delegate_background.cc Move Alloy-specific logic to CefBrowserPlatformDelegateAlloy (see issue #2969) 2020-07-04 16:13:30 -04:00
browser_platform_delegate_background.h Move Alloy-specific logic to CefBrowserPlatformDelegateAlloy (see issue #2969) 2020-07-04 16:13:30 -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 Move browser runtime-specific logic to CefBrowserPlatformDelegate (see issue #2969) 2020-07-03 18:09:52 -04:00
extension_background_host.h Move browser runtime-specific logic to CefBrowserPlatformDelegate (see issue #2969) 2020-07-03 18:09:52 -04:00
extension_function_details.cc Create a ChromeBrowserHostImpl for every Chrome tab (see issue #2969) 2020-09-21 17:06:56 -04:00
extension_function_details.h Update to Chromium version 78.0.3904.0 (#693954) 2019-10-01 13:55:16 +00:00
extension_host_delegate.cc Update to Chromium version 80.0.3987.0 (#722274) 2020-02-17 13:19:09 -05:00
extension_host_delegate.h Update to Chromium version 80.0.3987.0 (#722274) 2020-02-17 13:19:09 -05: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 Move browser runtime-specific logic to CefBrowserPlatformDelegate (see issue #2969) 2020-07-03 18:09:52 -04:00
extension_view_host.h Move browser runtime-specific logic to CefBrowserPlatformDelegate (see issue #2969) 2020-07-03 18:09:52 -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 Create a ChromeBrowserHostImpl for every Chrome tab (see issue #2969) 2020-09-21 17:06:56 -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 the current CEF runtime to Alloy (see issue #2969) 2020-06-29 16:17:41 -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