| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 #include "ash/system/chromeos/network/network_icon_animation.h" | 5 #include "ash/system/chromeos/network/network_icon_animation.h" |
| 6 | 6 |
| 7 #include "ash/system/chromeos/network/network_icon_animation_observer.h" | 7 #include "ash/system/chromeos/network/network_icon_animation_observer.h" |
| 8 | 8 |
| 9 namespace { | 9 namespace { |
| 10 const int kThrobDurationMs = 750; // Animation cycle length. | 10 const int kThrobDurationMs = 750; // Animation cycle length. |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 | 52 |
| 53 // static | 53 // static |
| 54 NetworkIconAnimation* NetworkIconAnimation::GetInstance() { | 54 NetworkIconAnimation* NetworkIconAnimation::GetInstance() { |
| 55 static NetworkIconAnimation* s_icon_animation = | 55 static NetworkIconAnimation* s_icon_animation = |
| 56 new NetworkIconAnimation(); | 56 new NetworkIconAnimation(); |
| 57 return s_icon_animation; | 57 return s_icon_animation; |
| 58 } | 58 } |
| 59 | 59 |
| 60 } // namespace network_icon | 60 } // namespace network_icon |
| 61 } // namespace ash | 61 } // namespace ash |
| OLD | NEW |