Merge pull request #10667 from dittos/window-opacity

Add window opacity support
This commit is contained in:
Cheng Zhao 2017-10-04 15:03:45 +09:00 committed by GitHub
commit 8c5bb5969c
12 changed files with 92 additions and 0 deletions

View file

@ -141,6 +141,8 @@ class NativeWindow : public base::SupportsUserData,
virtual void SetBackgroundColor(const std::string& color_name) = 0;
virtual void SetHasShadow(bool has_shadow) = 0;
virtual bool HasShadow() = 0;
virtual void SetOpacity(const double opacity) = 0;
virtual double GetOpacity() = 0;
virtual void SetRepresentedFilename(const std::string& filename);
virtual std::string GetRepresentedFilename();
virtual void SetDocumentEdited(bool edited);