Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 5 #ifndef ASH_TRAY_ACTION_HANDLER_TRAY_ACTION_HANDLER_OBSERVER_H_ | |
| 6 #define ASH_TRAY_ACTION_HANDLER_TRAY_ACTION_HANDLER_OBSERVER_H_ | |
| 7 | |
| 8 #include "ash/ash_export.h" | |
|
James Cook
2017/05/03 23:31:51
not needed?
tbarzic
2017/05/04 20:58:31
Done.
| |
| 9 | |
| 10 #include "ash/public/interfaces/tray_action_handler.mojom.h" | |
| 11 | |
| 12 namespace ash { | |
| 13 | |
| 14 class TrayActionHandlerObserver { | |
|
James Cook
2017/05/03 23:31:51
This doesn't look used - do you need it for a foll
tbarzic
2017/05/04 20:58:31
yes, it's needed for a follow-up cl
| |
| 15 public: | |
| 16 virtual ~TrayActionHandlerObserver() {} | |
| 17 | |
| 18 // Called when action handler state changes. | |
| 19 virtual void OnActionStateChanged(mojom::TrayActionHandlerAction action, | |
| 20 mojom::TrayActionHandlerState state) = 0; | |
| 21 }; | |
| 22 | |
| 23 } // namespace ash | |
| 24 | |
| 25 #endif // ASH_TRAY_ACTION_HANDLER_TRAY_ACTION_HANDLER_OBSERVER_H_ | |
| OLD | NEW |