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 ASH_COMMON_WM_WORKSPACE_MULTI_WINDOW_RESIZE_CONTROLLER_H_ | 5 #ifndef ASH_WM_WORKSPACE_MULTI_WINDOW_RESIZE_CONTROLLER_H_ |
6 #define ASH_COMMON_WM_WORKSPACE_MULTI_WINDOW_RESIZE_CONTROLLER_H_ | 6 #define ASH_WM_WORKSPACE_MULTI_WINDOW_RESIZE_CONTROLLER_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "ash/ash_export.h" | 11 #include "ash/ash_export.h" |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/timer/timer.h" | 13 #include "base/timer/timer.h" |
14 #include "ui/aura/window_observer.h" | 14 #include "ui/aura/window_observer.h" |
15 #include "ui/gfx/geometry/rect.h" | 15 #include "ui/gfx/geometry/rect.h" |
16 #include "ui/views/mouse_watcher.h" | 16 #include "ui/views/mouse_watcher.h" |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 // Used to detect whether the mouse is over the windows. While | 170 // Used to detect whether the mouse is over the windows. While |
171 // |resize_widget_| is non-NULL (ie the widget is showing) we ignore calls | 171 // |resize_widget_| is non-NULL (ie the widget is showing) we ignore calls |
172 // to Show(). | 172 // to Show(). |
173 std::unique_ptr<views::MouseWatcher> mouse_watcher_; | 173 std::unique_ptr<views::MouseWatcher> mouse_watcher_; |
174 | 174 |
175 DISALLOW_COPY_AND_ASSIGN(MultiWindowResizeController); | 175 DISALLOW_COPY_AND_ASSIGN(MultiWindowResizeController); |
176 }; | 176 }; |
177 | 177 |
178 } // namespace ash | 178 } // namespace ash |
179 | 179 |
180 #endif // ASH_COMMON_WM_WORKSPACE_MULTI_WINDOW_RESIZE_CONTROLLER_H_ | 180 #endif // ASH_WM_WORKSPACE_MULTI_WINDOW_RESIZE_CONTROLLER_H_ |
OLD | NEW |