feat: support Mica/Acrylic on Windows (#38361)

This commit is contained in:
Shelley Vohr
2023-05-18 22:57:41 +02:00
committed by GitHub
parent 2594d94760
commit 4cfd732908
9 changed files with 68 additions and 4 deletions

View File

@@ -110,6 +110,9 @@ const char kWebPreferences[] = "webPreferences";
// Add a vibrancy effect to the browser window
const char kVibrancyType[] = "vibrancy";
// Add a vibrancy effect to the browser window.
const char kBackgroundMaterial[] = "backgroundMaterial";
// Specify how the material appearance should reflect window activity state on
// macOS.
const char kVisualEffectState[] = "visualEffectState";

View File

@@ -55,6 +55,7 @@ extern const char kOpacity[];
extern const char kFocusable[];
extern const char kWebPreferences[];
extern const char kVibrancyType[];
extern const char kBackgroundMaterial[];
extern const char kVisualEffectState[];
extern const char kTrafficLightPosition[];
extern const char kRoundedCorners[];