lock_screen_action_background_observer.h 1010 B

123456789101112131415161718192021222324252627
  1. // Copyright 2017 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_LOCK_SCREEN_ACTION_LOCK_SCREEN_ACTION_BACKGROUND_OBSERVER_H_
  5. #define ASH_LOCK_SCREEN_ACTION_LOCK_SCREEN_ACTION_BACKGROUND_OBSERVER_H_
  6. #include "ash/ash_export.h"
  7. #include "ash/lock_screen_action/lock_screen_action_background_state.h"
  8. namespace ash {
  9. // Used to observe the state of a lock screen action background.
  10. class ASH_EXPORT LockScreenActionBackgroundObserver {
  11. public:
  12. virtual ~LockScreenActionBackgroundObserver() {}
  13. // Called when the state of the lock screen action background changes. For
  14. // example when the background starts showing (with animation), or a
  15. // background visibility animation ends.
  16. virtual void OnLockScreenActionBackgroundStateChanged(
  17. LockScreenActionBackgroundState state) = 0;
  18. };
  19. } // namespace ash
  20. #endif // ASH_LOCK_SCREEN_ACTION_LOCK_SCREEN_ACTION_BACKGROUND_OBSERVER_H_