| 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_WIN_H_ | 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ |
| 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ | 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "ui/aura/window_tree_host.h" | 9 #include "ui/aura/window_tree_host.h" |
| 10 #include "ui/views/views_export.h" | 10 #include "ui/views/views_export.h" |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 bool IsActive() const override; | 74 bool IsActive() const override; |
| 75 void Maximize() override; | 75 void Maximize() override; |
| 76 void Minimize() override; | 76 void Minimize() override; |
| 77 void Restore() override; | 77 void Restore() override; |
| 78 bool IsMaximized() const override; | 78 bool IsMaximized() const override; |
| 79 bool IsMinimized() const override; | 79 bool IsMinimized() const override; |
| 80 bool HasCapture() const override; | 80 bool HasCapture() const override; |
| 81 void SetAlwaysOnTop(bool always_on_top) override; | 81 void SetAlwaysOnTop(bool always_on_top) override; |
| 82 bool IsAlwaysOnTop() const override; | 82 bool IsAlwaysOnTop() const override; |
| 83 void SetVisibleOnAllWorkspaces(bool always_visible) override; | 83 void SetVisibleOnAllWorkspaces(bool always_visible) override; |
| 84 bool IsVisibleOnAllWorkspaces() const override; |
| 84 bool SetWindowTitle(const base::string16& title) override; | 85 bool SetWindowTitle(const base::string16& title) override; |
| 85 void ClearNativeFocus() override; | 86 void ClearNativeFocus() override; |
| 86 Widget::MoveLoopResult RunMoveLoop( | 87 Widget::MoveLoopResult RunMoveLoop( |
| 87 const gfx::Vector2d& drag_offset, | 88 const gfx::Vector2d& drag_offset, |
| 88 Widget::MoveLoopSource source, | 89 Widget::MoveLoopSource source, |
| 89 Widget::MoveLoopEscapeBehavior escape_behavior) override; | 90 Widget::MoveLoopEscapeBehavior escape_behavior) override; |
| 90 void EndMoveLoop() override; | 91 void EndMoveLoop() override; |
| 91 void SetVisibilityChangedAnimationsEnabled(bool value) override; | 92 void SetVisibilityChangedAnimationsEnabled(bool value) override; |
| 92 bool ShouldUseNativeFrame() const override; | 93 bool ShouldUseNativeFrame() const override; |
| 93 bool ShouldWindowContentsBeTransparent() const override; | 94 bool ShouldWindowContentsBeTransparent() const override; |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 266 // Indicates if current window will receive mouse events when should not | 267 // Indicates if current window will receive mouse events when should not |
| 267 // become activated. | 268 // become activated. |
| 268 bool wants_mouse_events_when_inactive_ = false; | 269 bool wants_mouse_events_when_inactive_ = false; |
| 269 | 270 |
| 270 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin); | 271 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin); |
| 271 }; | 272 }; |
| 272 | 273 |
| 273 } // namespace views | 274 } // namespace views |
| 274 | 275 |
| 275 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ | 276 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ |
| OLD | NEW |