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_PANELS_PANEL_WINDOW_RESIZER_H_ | 5 #ifndef ASH_WM_PANELS_PANEL_WINDOW_RESIZER_H_ |
6 #define ASH_WM_PANELS_PANEL_WINDOW_RESIZER_H_ | 6 #define ASH_WM_PANELS_PANEL_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/macros.h" |
10 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
11 | 12 |
12 namespace gfx { | 13 namespace gfx { |
13 class Rect; | 14 class Rect; |
14 class Point; | 15 class Point; |
15 } | 16 } |
16 | 17 |
17 namespace ash { | 18 namespace ash { |
18 | 19 |
19 // PanelWindowResizer is used by ToplevelWindowEventFilter to handle dragging, | 20 // PanelWindowResizer is used by ToplevelWindowEventFilter to handle dragging, |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 const bool was_attached_; | 76 const bool was_attached_; |
76 | 77 |
77 base::WeakPtrFactory<PanelWindowResizer> weak_ptr_factory_; | 78 base::WeakPtrFactory<PanelWindowResizer> weak_ptr_factory_; |
78 | 79 |
79 DISALLOW_COPY_AND_ASSIGN(PanelWindowResizer); | 80 DISALLOW_COPY_AND_ASSIGN(PanelWindowResizer); |
80 }; | 81 }; |
81 | 82 |
82 } // namespace ash | 83 } // namespace ash |
83 | 84 |
84 #endif // ASH_WM_PANELS_PANEL_WINDOW_RESIZER_H_ | 85 #endif // ASH_WM_PANELS_PANEL_WINDOW_RESIZER_H_ |
OLD | NEW |