| Index: ash/common/system/chromeos/network/network_icon_animation.h
|
| diff --git a/ash/common/system/chromeos/network/network_icon_animation.h b/ash/common/system/chromeos/network/network_icon_animation.h
|
| deleted file mode 100644
|
| index 0f28eb4e42c63c054d17d938a20ce568c874a7e0..0000000000000000000000000000000000000000
|
| --- a/ash/common/system/chromeos/network/network_icon_animation.h
|
| +++ /dev/null
|
| @@ -1,48 +0,0 @@
|
| -// Copyright (c) 2013 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -#ifndef ASH_COMMON_SYSTEM_CHROMEOS_NETWORK_NETWORK_ICON_ANIMATION_H_
|
| -#define ASH_COMMON_SYSTEM_CHROMEOS_NETWORK_NETWORK_ICON_ANIMATION_H_
|
| -
|
| -#include <set>
|
| -#include <string>
|
| -
|
| -#include "ash/ash_export.h"
|
| -#include "base/observer_list.h"
|
| -#include "ui/gfx/animation/animation_delegate.h"
|
| -#include "ui/gfx/animation/throb_animation.h"
|
| -
|
| -namespace ash {
|
| -namespace network_icon {
|
| -
|
| -class AnimationObserver;
|
| -
|
| -// Single instance class to handle icon animations and keep them in sync.
|
| -class ASH_EXPORT NetworkIconAnimation : public gfx::AnimationDelegate {
|
| - public:
|
| - NetworkIconAnimation();
|
| - ~NetworkIconAnimation() override;
|
| -
|
| - // Returns the current animation value, [0-1].
|
| - double GetAnimation();
|
| -
|
| - // The animation stops when all observers have been removed.
|
| - // Be sure to remove observers when no associated icons are animating.
|
| - void AddObserver(AnimationObserver* observer);
|
| - void RemoveObserver(AnimationObserver* observer);
|
| -
|
| - // gfx::AnimationDelegate implementation.
|
| - void AnimationProgressed(const gfx::Animation* animation) override;
|
| -
|
| - static NetworkIconAnimation* GetInstance();
|
| -
|
| - private:
|
| - gfx::ThrobAnimation animation_;
|
| - base::ObserverList<AnimationObserver> observers_;
|
| -};
|
| -
|
| -} // namespace network_icon
|
| -} // namespace ash
|
| -
|
| -#endif // ASH_COMMON_SYSTEM_CHROMEOS_NETWORK_NETWORK_ICON_ANIMATION_H_
|
|
|