| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 UI_APP_LIST_VIEWS_TOP_ICON_ANIMATION_VIEW_H | 5 #ifndef UI_APP_LIST_VIEWS_TOP_ICON_ANIMATION_VIEW_H |
| 6 #define UI_APP_LIST_VIEWS_TOP_ICON_ANIMATION_VIEW_H | 6 #define UI_APP_LIST_VIEWS_TOP_ICON_ANIMATION_VIEW_H |
| 7 | 7 |
| 8 #include "base/observer_list.h" | 8 #include "base/observer_list.h" |
| 9 #include "ui/compositor/layer_animation_observer.h" | 9 #include "ui/compositor/layer_animation_observer.h" |
| 10 #include "ui/views/view.h" | 10 #include "ui/views/view.h" |
| 11 | 11 |
| 12 namespace gfx { |
| 13 class ImageSkia; |
| 14 } |
| 15 |
| 12 namespace views { | 16 namespace views { |
| 13 class ImageView; | 17 class ImageView; |
| 14 } | 18 } |
| 15 | 19 |
| 16 namespace app_list { | 20 namespace app_list { |
| 17 | 21 |
| 18 // Observer for top icon animation completion. | 22 // Observer for top icon animation completion. |
| 19 class TopIconAnimationObserver { | 23 class TopIconAnimationObserver { |
| 20 public: | 24 public: |
| 21 // Called when top icon animation completes. | 25 // Called when top icon animation completes. |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 bool open_folder_; | 72 bool open_folder_; |
| 69 | 73 |
| 70 ObserverList<TopIconAnimationObserver> observers_; | 74 ObserverList<TopIconAnimationObserver> observers_; |
| 71 | 75 |
| 72 DISALLOW_COPY_AND_ASSIGN(TopIconAnimationView); | 76 DISALLOW_COPY_AND_ASSIGN(TopIconAnimationView); |
| 73 }; | 77 }; |
| 74 | 78 |
| 75 } // namespace app_list | 79 } // namespace app_list |
| 76 | 80 |
| 77 #endif // UI_APP_LIST_VIEWS_TOP_ICON_ANIMATION_VIEW_H | 81 #endif // UI_APP_LIST_VIEWS_TOP_ICON_ANIMATION_VIEW_H |
| OLD | NEW |