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_ROOT_WINDOW_HOST_H_ | 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_H_ |
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_H_ | 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_H_ |
7 | 7 |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "ui/base/ui_base_types.h" | 9 #include "ui/base/ui_base_types.h" |
10 #include "ui/views/views_export.h" | 10 #include "ui/views/views_export.h" |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 virtual bool IsActive() const = 0; | 83 virtual bool IsActive() const = 0; |
84 virtual void Maximize() = 0; | 84 virtual void Maximize() = 0; |
85 virtual void Minimize() = 0; | 85 virtual void Minimize() = 0; |
86 virtual void Restore() = 0; | 86 virtual void Restore() = 0; |
87 virtual bool IsMaximized() const = 0; | 87 virtual bool IsMaximized() const = 0; |
88 virtual bool IsMinimized() const = 0; | 88 virtual bool IsMinimized() const = 0; |
89 | 89 |
90 virtual bool HasCapture() const = 0; | 90 virtual bool HasCapture() const = 0; |
91 | 91 |
92 virtual void SetAlwaysOnTop(bool always_on_top) = 0; | 92 virtual void SetAlwaysOnTop(bool always_on_top) = 0; |
| 93 virtual bool IsAlwaysOnTop() const = 0; |
93 | 94 |
94 virtual void SetWindowTitle(const string16& title) = 0; | 95 virtual void SetWindowTitle(const string16& title) = 0; |
95 | 96 |
96 virtual void ClearNativeFocus() = 0; | 97 virtual void ClearNativeFocus() = 0; |
97 | 98 |
98 virtual Widget::MoveLoopResult RunMoveLoop( | 99 virtual Widget::MoveLoopResult RunMoveLoop( |
99 const gfx::Vector2d& drag_offset, | 100 const gfx::Vector2d& drag_offset, |
100 Widget::MoveLoopSource source, | 101 Widget::MoveLoopSource source, |
101 Widget::MoveLoopEscapeBehavior escape_behavior) = 0; | 102 Widget::MoveLoopEscapeBehavior escape_behavior) = 0; |
102 virtual void EndMoveLoop() = 0; | 103 virtual void EndMoveLoop() = 0; |
(...skipping 20 matching lines...) Expand all Loading... |
123 | 124 |
124 // Called when the DesktopNativeWidgetAura's aura::Window is focused and | 125 // Called when the DesktopNativeWidgetAura's aura::Window is focused and |
125 // blurred. | 126 // blurred. |
126 virtual void OnNativeWidgetFocus() = 0; | 127 virtual void OnNativeWidgetFocus() = 0; |
127 virtual void OnNativeWidgetBlur() = 0; | 128 virtual void OnNativeWidgetBlur() = 0; |
128 }; | 129 }; |
129 | 130 |
130 } // namespace views | 131 } // namespace views |
131 | 132 |
132 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_H_ | 133 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_H_ |
OLD | NEW |