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_WM_DRAG_WINDOW_RESIZER_H_ | 5 #ifndef ASH_WM_DRAG_WINDOW_RESIZER_H_ |
6 #define ASH_WM_DRAG_WINDOW_RESIZER_H_ | 6 #define ASH_WM_DRAG_WINDOW_RESIZER_H_ |
7 | 7 |
8 #include "ash/wm/window_resizer.h" | 8 #include "ash/wm/window_resizer.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/gtest_prod_util.h" | 10 #include "base/gtest_prod_util.h" |
| 11 #include "base/macros.h" |
11 #include "base/memory/scoped_vector.h" | 12 #include "base/memory/scoped_vector.h" |
12 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
13 #include "ui/gfx/geometry/point.h" | 14 #include "ui/gfx/geometry/point.h" |
14 | 15 |
15 namespace ash { | 16 namespace ash { |
16 | 17 |
17 class DragWindowController; | 18 class DragWindowController; |
18 | 19 |
19 // DragWindowResizer is a decorator of WindowResizer and adds the ability to | 20 // DragWindowResizer is a decorator of WindowResizer and adds the ability to |
20 // drag windows across displays. | 21 // drag windows across displays. |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 static DragWindowResizer* instance_; | 61 static DragWindowResizer* instance_; |
61 | 62 |
62 base::WeakPtrFactory<DragWindowResizer> weak_ptr_factory_; | 63 base::WeakPtrFactory<DragWindowResizer> weak_ptr_factory_; |
63 | 64 |
64 DISALLOW_COPY_AND_ASSIGN(DragWindowResizer); | 65 DISALLOW_COPY_AND_ASSIGN(DragWindowResizer); |
65 }; | 66 }; |
66 | 67 |
67 } // namespace ash | 68 } // namespace ash |
68 | 69 |
69 #endif // ASH_WM_DRAG_WINDOW_RESIZER_H_ | 70 #endif // ASH_WM_DRAG_WINDOW_RESIZER_H_ |
OLD | NEW |