feat: add optional animation parameter to BrowserWindow.setVibrancy (#35987)
adds optional animation parameter to BrowserWindow.setVibrancy
This commit is contained in:
parent
a6390b539c
commit
7a79d4c96e
7 changed files with 66 additions and 19 deletions
|
@ -221,7 +221,7 @@ class NativeWindow : public base::SupportsUserData,
|
|||
|
||||
// Vibrancy API
|
||||
const std::string& vibrancy() const { return vibrancy_; }
|
||||
virtual void SetVibrancy(const std::string& type);
|
||||
virtual void SetVibrancy(const std::string& type, int duration);
|
||||
|
||||
const std::string& background_material() const {
|
||||
return background_material_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue