network_icon_animation_observer.h 733 B

1234567891011121314151617181920212223242526
  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
  3. // found in the LICENSE file.
  4. #ifndef ASH_SYSTEM_NETWORK_NETWORK_ICON_ANIMATION_OBSERVER_H_
  5. #define ASH_SYSTEM_NETWORK_NETWORK_ICON_ANIMATION_OBSERVER_H_
  6. #include "ash/ash_export.h"
  7. namespace ash {
  8. namespace network_icon {
  9. // Observer interface class for animating network icons.
  10. class ASH_EXPORT AnimationObserver {
  11. public:
  12. // Called when the image has changed due to animation.
  13. virtual void NetworkIconChanged() = 0;
  14. protected:
  15. virtual ~AnimationObserver() {}
  16. };
  17. } // namespace network_icon
  18. } // namespace ash
  19. #endif // ASH_SYSTEM_NETWORK_NETWORK_ICON_ANIMATION_OBSERVER_H_