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 "ui/aura/window_tree_host.h" | 8 #include "ui/aura/window_tree_host.h" |
9 #include "ui/views/views_export.h" | 9 #include "ui/views/views_export.h" |
10 #include "ui/views/widget/desktop_aura/desktop_window_tree_host.h" | 10 #include "ui/views/widget/desktop_aura/desktop_window_tree_host.h" |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 void StackAtTop() override; | 61 void StackAtTop() override; |
62 void CenterWindow(const gfx::Size& size) override; | 62 void CenterWindow(const gfx::Size& size) override; |
63 void GetWindowPlacement(gfx::Rect* bounds, | 63 void GetWindowPlacement(gfx::Rect* bounds, |
64 ui::WindowShowState* show_state) const override; | 64 ui::WindowShowState* show_state) const override; |
65 gfx::Rect GetWindowBoundsInScreen() const override; | 65 gfx::Rect GetWindowBoundsInScreen() const override; |
66 gfx::Rect GetClientAreaBoundsInScreen() const override; | 66 gfx::Rect GetClientAreaBoundsInScreen() const override; |
67 gfx::Rect GetRestoredBounds() const override; | 67 gfx::Rect GetRestoredBounds() const override; |
68 gfx::Rect GetWorkAreaBoundsInScreen() const override; | 68 gfx::Rect GetWorkAreaBoundsInScreen() const override; |
69 void SetShape(gfx::NativeRegion native_region) override; | 69 void SetShape(gfx::NativeRegion native_region) override; |
70 void Activate() override; | 70 void Activate() override; |
| 71 void ActivateForUserGesture() override; |
71 void Deactivate() override; | 72 void Deactivate() override; |
72 bool IsActive() const override; | 73 bool IsActive() const override; |
73 void Maximize() override; | 74 void Maximize() override; |
74 void Minimize() override; | 75 void Minimize() override; |
75 void Restore() override; | 76 void Restore() override; |
76 bool IsMaximized() const override; | 77 bool IsMaximized() const override; |
77 bool IsMinimized() const override; | 78 bool IsMinimized() const override; |
78 bool HasCapture() const override; | 79 bool HasCapture() const override; |
79 void SetAlwaysOnTop(bool always_on_top) override; | 80 void SetAlwaysOnTop(bool always_on_top) override; |
80 bool IsAlwaysOnTop() const override; | 81 bool IsAlwaysOnTop() const override; |
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
266 | 267 |
267 // Set to true if we are about to enter a sizing loop. | 268 // Set to true if we are about to enter a sizing loop. |
268 bool in_sizing_loop_; | 269 bool in_sizing_loop_; |
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 |