-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- CEF will remove the alloy bootstrap (likely in M127) - Change examples to use the `Chrome Runtime` - Issue chromiumembedded/cef#3685
- Loading branch information
Showing
10 changed files
with
86 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
namespace CefSharp | ||
{ | ||
/// <summary> | ||
/// CEF supports both a Chrome runtime (based on the Chrome UI layer) and an | ||
/// Alloy runtime (based on the Chromium content layer). The Chrome runtime | ||
/// provides the full Chrome UI and browser functionality whereas the Alloy | ||
/// runtime provides less default browser functionality but adds additional | ||
/// client callbacks and support for windowless (off-screen) rendering. For | ||
/// additional comparative details on runtime types see | ||
/// https://bitbucket.org/chromiumembedded/cef/wiki/Architecture.md#markdown-header-cef3 | ||
/// | ||
/// Each runtime is composed of a bootstrap component and a style component. The | ||
/// bootstrap component is configured via CefSettings.ChromeRuntime and cannot | ||
/// be changed after CefInitialize. The style component is individually | ||
/// configured for each window/browser at creation time and, in combination with | ||
/// the Chrome bootstrap, different styles can be mixed during runtime. | ||
/// | ||
/// Windowless rendering will always use Alloy style. Windowed rendering with a | ||
/// default window or client-provided parent window can configure the style via | ||
/// CefWindowInfo.runtime_style. Windowed rendering with the Views framework can | ||
/// configure the style via CefWindowDelegate::GetWindowRuntimeStyle and | ||
/// CefBrowserViewDelegate::GetBrowserRuntimeStyle. Alloy style Windows with the | ||
/// Views framework can host only Alloy style BrowserViews but Chrome style | ||
/// Windows can host both style BrowserViews. Additionally, a Chrome style | ||
/// Window can host at most one Chrome style BrowserView but potentially | ||
/// multiple Alloy style BrowserViews. See CefWindowInfo.runtime_style | ||
/// documentation for any additional platform-specific limitations. | ||
/// </summary> | ||
public enum CefRuntimeStyle | ||
{ | ||
/// <summary> | ||
/// Use the default runtime style. The default style will match the | ||
/// CefSettings.ChromeRuntime value in most cases. See above documentation | ||
/// for exceptions. | ||
/// </summary> | ||
Default, | ||
|
||
/// <summary> | ||
/// Use the Chrome runtime style. Only supported with the Chrome runtime. | ||
/// </summary> | ||
Chrome, | ||
|
||
/// <summary> | ||
/// Use the Alloy runtime style. Supported with both the Alloy and Chrome | ||
/// runtime. | ||
/// </summary> | ||
Alloy, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters