| 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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 | 161 |
| 162 // Returns true if the transparency of the DesktopNativeWidgetAura's | 162 // Returns true if the transparency of the DesktopNativeWidgetAura's |
| 163 // |content_window_| should change. | 163 // |content_window_| should change. |
| 164 virtual bool ShouldUpdateWindowTransparency() const = 0; | 164 virtual bool ShouldUpdateWindowTransparency() const = 0; |
| 165 |
| 166 // A return value of true indicates DesktopNativeCursorManager should be |
| 167 // used, a return value of false indicates the DesktopWindowTreeHost manages |
| 168 // cursors itself. |
| 169 virtual bool ShouldUseDesktopNativeCursorManager() const = 0; |
| 165 }; | 170 }; |
| 166 | 171 |
| 167 } // namespace views | 172 } // namespace views |
| 168 | 173 |
| 169 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_H_ | 174 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_H_ |
| OLD | NEW |