| 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/aura/root_window.h" | 9 #include "ui/aura/root_window.h" |
| 10 #include "ui/base/ui_base_types.h" | 10 #include "ui/base/ui_base_types.h" |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 virtual void Restore() = 0; | 106 virtual void Restore() = 0; |
| 107 virtual bool IsMaximized() const = 0; | 107 virtual bool IsMaximized() const = 0; |
| 108 virtual bool IsMinimized() const = 0; | 108 virtual bool IsMinimized() const = 0; |
| 109 | 109 |
| 110 virtual bool HasCapture() const = 0; | 110 virtual bool HasCapture() const = 0; |
| 111 | 111 |
| 112 virtual void SetAlwaysOnTop(bool always_on_top) = 0; | 112 virtual void SetAlwaysOnTop(bool always_on_top) = 0; |
| 113 virtual bool IsAlwaysOnTop() const = 0; | 113 virtual bool IsAlwaysOnTop() const = 0; |
| 114 | 114 |
| 115 // Returns true if the title changed. | 115 // Returns true if the title changed. |
| 116 virtual bool SetWindowTitle(const string16& title) = 0; | 116 virtual bool SetWindowTitle(const base::string16& title) = 0; |
| 117 | 117 |
| 118 virtual void ClearNativeFocus() = 0; | 118 virtual void ClearNativeFocus() = 0; |
| 119 | 119 |
| 120 virtual Widget::MoveLoopResult RunMoveLoop( | 120 virtual Widget::MoveLoopResult RunMoveLoop( |
| 121 const gfx::Vector2d& drag_offset, | 121 const gfx::Vector2d& drag_offset, |
| 122 Widget::MoveLoopSource source, | 122 Widget::MoveLoopSource source, |
| 123 Widget::MoveLoopEscapeBehavior escape_behavior) = 0; | 123 Widget::MoveLoopEscapeBehavior escape_behavior) = 0; |
| 124 virtual void EndMoveLoop() = 0; | 124 virtual void EndMoveLoop() = 0; |
| 125 | 125 |
| 126 virtual void SetVisibilityChangedAnimationsEnabled(bool value) = 0; | 126 virtual void SetVisibilityChangedAnimationsEnabled(bool value) = 0; |
| (...skipping 22 matching lines...) Expand all Loading... |
| 149 virtual void OnNativeWidgetBlur() = 0; | 149 virtual void OnNativeWidgetBlur() = 0; |
| 150 | 150 |
| 151 // Returns true if the Widget was closed but is still showing because of | 151 // Returns true if the Widget was closed but is still showing because of |
| 152 // animations. | 152 // animations. |
| 153 virtual bool IsAnimatingClosed() const = 0; | 153 virtual bool IsAnimatingClosed() const = 0; |
| 154 }; | 154 }; |
| 155 | 155 |
| 156 } // namespace views | 156 } // namespace views |
| 157 | 157 |
| 158 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_H_ | 158 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_H_ |
| OLD | NEW |