feat: add WCO title bar style setters (#33066)

* feat: add wco title bar style setters

* return after throwing
This commit is contained in:
Calvin 2022-03-24 18:02:45 -06:00 committed by GitHub
parent 4fdf8584ed
commit f69b59effc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 108 additions and 0 deletions

View file

@ -99,6 +99,10 @@ class BrowserWindow : public BaseWindow,
void BlurWebView();
bool IsWebViewFocused();
v8::Local<v8::Value> GetWebContents(v8::Isolate* isolate);
#if BUILDFLAG(IS_WIN)
void SetTitleBarOverlay(const gin_helper::Dictionary& options,
gin_helper::Arguments* args);
#endif
private:
#if BUILDFLAG(IS_MAC)