Chromium Code Reviews| Index: ui/views/win/hwnd_message_handler.h |
| diff --git a/ui/views/win/hwnd_message_handler.h b/ui/views/win/hwnd_message_handler.h |
| index f56a7ca05927ae0f5c947899aaeb522ca9db6667..d141c2a607fe922562e69c7ff654cdd148e7e7a7 100644 |
| --- a/ui/views/win/hwnd_message_handler.h |
| +++ b/ui/views/win/hwnd_message_handler.h |
| @@ -213,6 +213,9 @@ class VIEWS_EXPORT HWNDMessageHandler : |
| // to this window. |
| bool HasChildRenderingWindow(); |
| + void set_translucent(bool translucent) { translucent_ = translucent; } |
| + bool translucent() const { return translucent_; } |
| + |
| private: |
| typedef std::set<DWORD> TouchIDs; |
| enum class DwmFrameState { OFF, ON }; |
| @@ -706,6 +709,10 @@ class VIEWS_EXPORT HWNDMessageHandler : |
| // fullscreen window which lost activation. Defaults to false. |
| bool background_fullscreen_hack_; |
| + // True if the window should have no border and its contents should be |
| + // partially or fully transparent. |
| + bool translucent_ = false; |
|
sky
2017/04/20 17:26:28
Please rename this is_translucent_ and the setter/
|
| + |
| // This is a map of the HMONITOR to full screeen window instance. It is safe |
| // to keep a raw pointer to the HWNDMessageHandler instance as we track the |
| // window destruction and ensure that the map is cleaned up. |