9cff99dc4e
- Add CefRequestContext::LoadExtension, CefExtension, CefExtensionHandler and related methods/interfaces. - Add chrome://extensions-support that lists supported Chrome APIs. - Add CefBrowserHost::SetAutoResizeEnabled and CefDisplayHandler::OnAutoResize to support browser resize based on preferred web contents size. - views: Add support for custom CefMenuButton popups. - cefclient: Run with `--load-extension=set_page_color` command-line flag for an extension loading example. Add `--use-views` on Windows and Linux for an even better example. |
||
---|---|---|
.. | ||
README.md | ||
icon.png | ||
manifest.json | ||
popup.html | ||
popup.js |
README.md
Color Extension
Demonstrates basic extension app loading and integration by using a popup to change the page color.
Usage
Run cefclient --load-extension=set_page_color
.
When using the Views framework (--use-views
) an extension icon will be added to the control bar and clicking the icon will open the extension window. When not using the Views framework an extension window will be opened automatically on application start.
Implementation
Based on the set_page_color example extension.
Calls: