tray_action_observer.h 642 B

1234567891011121314151617181920212223
  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_TRAY_ACTION_TRAY_ACTION_OBSERVER_H_
  5. #define ASH_TRAY_ACTION_TRAY_ACTION_OBSERVER_H_
  6. #include "ash/ash_export.h"
  7. #include "ash/public/mojom/tray_action.mojom.h"
  8. namespace ash {
  9. class ASH_EXPORT TrayActionObserver {
  10. public:
  11. virtual ~TrayActionObserver() {}
  12. // Called when action handler state changes.
  13. virtual void OnLockScreenNoteStateChanged(mojom::TrayActionState state) = 0;
  14. };
  15. } // namespace ash
  16. #endif // ASH_TRAY_ACTION_TRAY_ACTION_OBSERVER_H_