| 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_RESIZE_SHADOW_H_ | 5 #ifndef ASH_WM_RESIZE_SHADOW_H_ |
| 6 #define ASH_WM_RESIZE_SHADOW_H_ | 6 #define ASH_WM_RESIZE_SHADOW_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 | 11 |
| 12 namespace aura { | 12 namespace aura { |
| 13 class Window; | 13 class Window; |
| 14 } | 14 } |
| 15 namespace gfx { | 15 namespace gfx { |
| 16 class Rect; | 16 class Rect; |
| 17 } | 17 } |
| 18 namespace ui { | |
| 19 class Layer; | |
| 20 } | |
| 21 namespace wm { | 18 namespace wm { |
| 22 class ImageGrid; | 19 class ImageGrid; |
| 23 } | 20 } |
| 24 | 21 |
| 25 namespace ash { | 22 namespace ash { |
| 26 | 23 |
| 27 // A class to render the resize edge effect when the user moves their mouse | 24 // A class to render the resize edge effect when the user moves their mouse |
| 28 // over a sizing edge. This is just a visual effect; the actual resize is | 25 // over a sizing edge. This is just a visual effect; the actual resize is |
| 29 // handled by the EventFilter. | 26 // handled by the EventFilter. |
| 30 class ResizeShadow { | 27 class ResizeShadow { |
| (...skipping 23 matching lines...) Expand all Loading... |
| 54 // Hit test value from last call to ShowForHitTest(). Used to prevent | 51 // Hit test value from last call to ShowForHitTest(). Used to prevent |
| 55 // repeatedly triggering the same animations for the same hit. | 52 // repeatedly triggering the same animations for the same hit. |
| 56 int last_hit_test_; | 53 int last_hit_test_; |
| 57 | 54 |
| 58 DISALLOW_COPY_AND_ASSIGN(ResizeShadow); | 55 DISALLOW_COPY_AND_ASSIGN(ResizeShadow); |
| 59 }; | 56 }; |
| 60 | 57 |
| 61 } // namespace ash | 58 } // namespace ash |
| 62 | 59 |
| 63 #endif // ASH_WM_RESIZE_SHADOW_H_ | 60 #endif // ASH_WM_RESIZE_SHADOW_H_ |
| OLD | NEW |