Skip to content

Support for Chrome Extensions #457

@cztomczak

Description

@cztomczak

Upstream CEF supports Chrome Extensions APIs partially. Load chrome://extensions-support url in the browser to see which APIs are supported.

For this to be implemented we first need to expose Request Contexts APIs and that is to be done via Issue #244 ("Expose Request Contexts and Chromium Preferences").

Upstream Issue:
https://bitbucket.org/chromiumembedded/cef/issues/1947/add-support-for-chrome-extensions

Related files and code:

cef_browser.h

  • GetExtension
  • IsBackgroundHost

cef_extension.h

  • CefExtension
  • Will require exposing CefRequestContext object and its methods
    LoadExtension, DidLoadExtension, etc.

cef_request_context.h

  • LoadExtension
  • DidLoadExtension
  • HasExtension
  • GetExtensions
  • GetExtension

cef_request_context_handler.h

  • OnRequestContextInitialized

cef_extension_handler.h

  • CefGetExtensionResourceCallback
  • CefExtensionHandler

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions