| Index: ash/action_handler/action_handler_state_observer.h
|
| diff --git a/ash/action_handler/action_handler_state_observer.h b/ash/action_handler/action_handler_state_observer.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..db6185ef4251ae508efea534364eaf13ffcc146f
|
| --- /dev/null
|
| +++ b/ash/action_handler/action_handler_state_observer.h
|
| @@ -0,0 +1,25 @@
|
| +// Copyright 2017 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_ACTION_HANDLER_ACTION_HANDLER_STATE_OBSERVER_H_
|
| +#define ASH_ACTION_HANDLER_ACTION_HANDLER_STATE_OBSERVER_H_
|
| +
|
| +#include "ash/ash_export.h"
|
| +
|
| +#include "ash/public/interfaces/action_handler.mojom.h"
|
| +
|
| +namespace ash {
|
| +
|
| +class ActionHandlerStateObserver {
|
| + public:
|
| + virtual ~ActionHandlerStateObserver() {}
|
| +
|
| + // Called when action handler state changes.
|
| + virtual void OnActionStateChanged(mojom::ActionHandlerAction action,
|
| + mojom::ActionHandlerState state) = 0;
|
| +};
|
| +
|
| +} // namespace ash
|
| +
|
| +#endif // ASH_ACTION_HANDLER_ACTION_HANDLER_STATE_OBSERVER_H_
|
|
|