feat: add win.getBackgroundColor() for macOS (#21448)

thanks @vbennich - great work on this 🌟
This commit is contained in:
Victor Bennich 2019-12-13 17:08:30 +01:00 committed by Shelley Vohr
parent c1210f8ad3
commit cf833a7650
10 changed files with 46 additions and 1 deletions

View file

@ -149,6 +149,7 @@ class NativeWindow : public base::SupportsUserData,
virtual void SetKiosk(bool kiosk) = 0;
virtual bool IsKiosk() = 0;
virtual void SetBackgroundColor(SkColor color) = 0;
virtual SkColor GetBackgroundColor() = 0;
virtual void SetHasShadow(bool has_shadow) = 0;
virtual bool HasShadow() = 0;
virtual void SetOpacity(const double opacity) = 0;