feat: add roundedCorners option for BrowserWindow (#27572)

* feat: add roundedCorner option for BrowserWindow

* Make roundedCorner work with vibrancy views

* roundedCorner => roundedCorners
This commit is contained in:
Cheng Zhao 2021-02-10 01:38:35 +09:00 committed by GitHub
parent e51ad4fa45
commit af4a050a1b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 21 additions and 7 deletions

View file

@ -29,6 +29,7 @@ const char kFullScreenable[] = "fullscreenable";
const char kClosable[] = "closable";
const char kFullscreen[] = "fullscreen";
const char kTrafficLightPosition[] = "trafficLightPosition";
const char kRoundedCorners[] = "roundedCorners";
// Whether the window should show in taskbar.
const char kSkipTaskbar[] = "skipTaskbar";

View file

@ -56,6 +56,7 @@ extern const char kWebPreferences[];
extern const char kVibrancyType[];
extern const char kVisualEffectState[];
extern const char kTrafficLightPosition[];
extern const char kRoundedCorners[];
// WebPreferences.
extern const char kZoomFactor[];