| 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_DISPLAY_SHARED_DISPLAY_EDGE_INDICATOR_H_ | 5 #ifndef ASH_DISPLAY_SHARED_DISPLAY_EDGE_INDICATOR_H_ |
| 6 #define ASH_DISPLAY_SHARED_DISPLAY_EDGE_INDICATOR_H_ | 6 #define ASH_DISPLAY_SHARED_DISPLAY_EDGE_INDICATOR_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "ash/ash_export.h" | 10 #include "ash/ash_export.h" |
| 11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "ui/gfx/animation/animation_delegate.h" | 12 #include "ui/gfx/animation/animation_delegate.h" |
| 13 | 13 |
| 14 namespace gfx { | 14 namespace gfx { |
| 15 class Rect; | 15 class Rect; |
| 16 class ThrobAnimation; | 16 class ThrobAnimation; |
| 17 } | 17 } |
| 18 | 18 |
| 19 namespace views { | 19 namespace views { |
| 20 class View; | 20 class View; |
| 21 class Widget; | |
| 22 } | 21 } |
| 23 | 22 |
| 24 namespace ash { | 23 namespace ash { |
| 25 | 24 |
| 26 // SharedDisplayEdgeIndicator is responsible for showing a window that indicates | 25 // SharedDisplayEdgeIndicator is responsible for showing a window that indicates |
| 27 // the edge that a window can be dragged into another display. | 26 // the edge that a window can be dragged into another display. |
| 28 class ASH_EXPORT SharedDisplayEdgeIndicator : public gfx::AnimationDelegate { | 27 class ASH_EXPORT SharedDisplayEdgeIndicator : public gfx::AnimationDelegate { |
| 29 public: | 28 public: |
| 30 SharedDisplayEdgeIndicator(); | 29 SharedDisplayEdgeIndicator(); |
| 31 ~SharedDisplayEdgeIndicator() override; | 30 ~SharedDisplayEdgeIndicator() override; |
| (...skipping 16 matching lines...) Expand all Loading... |
| 48 | 47 |
| 49 // Used to transition the opacity. | 48 // Used to transition the opacity. |
| 50 std::unique_ptr<gfx::ThrobAnimation> animation_; | 49 std::unique_ptr<gfx::ThrobAnimation> animation_; |
| 51 | 50 |
| 52 DISALLOW_COPY_AND_ASSIGN(SharedDisplayEdgeIndicator); | 51 DISALLOW_COPY_AND_ASSIGN(SharedDisplayEdgeIndicator); |
| 53 }; | 52 }; |
| 54 | 53 |
| 55 } // namespace ash | 54 } // namespace ash |
| 56 | 55 |
| 57 #endif // ASH_DISPLAY_SHARED_DISPLAY_EDGE_INDICATOR_H_ | 56 #endif // ASH_DISPLAY_SHARED_DISPLAY_EDGE_INDICATOR_H_ |
| OLD | NEW |