| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_H_ | 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_H_ |
| 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_H_ | 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "ui/aura/window_event_dispatcher.h" | 10 #include "ui/aura/window_event_dispatcher.h" |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 | 151 |
| 152 // Returns true if the Widget was closed but is still showing because of | 152 // Returns true if the Widget was closed but is still showing because of |
| 153 // animations. | 153 // animations. |
| 154 virtual bool IsAnimatingClosed() const = 0; | 154 virtual bool IsAnimatingClosed() const = 0; |
| 155 | 155 |
| 156 // Returns true if the Widget supports translucency. | 156 // Returns true if the Widget supports translucency. |
| 157 virtual bool IsTranslucentWindowOpacitySupported() const = 0; | 157 virtual bool IsTranslucentWindowOpacitySupported() const = 0; |
| 158 | 158 |
| 159 // Called when the window's size constraints change. | 159 // Called when the window's size constraints change. |
| 160 virtual void SizeConstraintsChanged() = 0; | 160 virtual void SizeConstraintsChanged() = 0; |
| 161 |
| 162 // Returns true if the transparency of the DesktopNativeWidgetAura's |
| 163 // |content_window_| should change. |
| 164 virtual bool ShouldUpdateWindowTransparency() const = 0; |
| 161 }; | 165 }; |
| 162 | 166 |
| 163 } // namespace views | 167 } // namespace views |
| 164 | 168 |
| 165 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_H_ | 169 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_H_ |
| OLD | NEW |