| 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 "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "ui/aura/window_event_dispatcher.h" | 9 #include "ui/aura/window_event_dispatcher.h" |
| 10 #include "ui/base/ui_base_types.h" | 10 #include "ui/base/ui_base_types.h" |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 virtual bool IsMaximized() const = 0; | 104 virtual bool IsMaximized() const = 0; |
| 105 virtual bool IsMinimized() const = 0; | 105 virtual bool IsMinimized() const = 0; |
| 106 | 106 |
| 107 virtual bool HasCapture() const = 0; | 107 virtual bool HasCapture() const = 0; |
| 108 | 108 |
| 109 virtual void SetAlwaysOnTop(bool always_on_top) = 0; | 109 virtual void SetAlwaysOnTop(bool always_on_top) = 0; |
| 110 virtual bool IsAlwaysOnTop() const = 0; | 110 virtual bool IsAlwaysOnTop() const = 0; |
| 111 | 111 |
| 112 virtual void SetVisibleOnAllWorkspaces(bool always_visible) = 0; | 112 virtual void SetVisibleOnAllWorkspaces(bool always_visible) = 0; |
| 113 | 113 |
| 114 virtual void SetInterceptAllKeys(bool want_all_keys) = 0; |
| 115 |
| 114 // Returns true if the title changed. | 116 // Returns true if the title changed. |
| 115 virtual bool SetWindowTitle(const base::string16& title) = 0; | 117 virtual bool SetWindowTitle(const base::string16& title) = 0; |
| 116 | 118 |
| 117 virtual void ClearNativeFocus() = 0; | 119 virtual void ClearNativeFocus() = 0; |
| 118 | 120 |
| 119 virtual Widget::MoveLoopResult RunMoveLoop( | 121 virtual Widget::MoveLoopResult RunMoveLoop( |
| 120 const gfx::Vector2d& drag_offset, | 122 const gfx::Vector2d& drag_offset, |
| 121 Widget::MoveLoopSource source, | 123 Widget::MoveLoopSource source, |
| 122 Widget::MoveLoopEscapeBehavior escape_behavior) = 0; | 124 Widget::MoveLoopEscapeBehavior escape_behavior) = 0; |
| 123 virtual void EndMoveLoop() = 0; | 125 virtual void EndMoveLoop() = 0; |
| (...skipping 30 matching lines...) Expand all Loading... |
| 154 // animations. | 156 // animations. |
| 155 virtual bool IsAnimatingClosed() const = 0; | 157 virtual bool IsAnimatingClosed() const = 0; |
| 156 | 158 |
| 157 // Returns true if the Widget supports translucency. | 159 // Returns true if the Widget supports translucency. |
| 158 virtual bool IsTranslucentWindowOpacitySupported() const = 0; | 160 virtual bool IsTranslucentWindowOpacitySupported() const = 0; |
| 159 }; | 161 }; |
| 160 | 162 |
| 161 } // namespace views | 163 } // namespace views |
| 162 | 164 |
| 163 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_H_ | 165 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_H_ |
| OLD | NEW |