Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2841)

Unified Diff: ash/tray_action_handler/tray_action_handler_observer.h

Issue 2848813002: Introduce ash mojo interface for lock screen action handlers (Closed)
Patch Set: . Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ash/tray_action_handler/tray_action_handler_observer.h
diff --git a/ash/tray_action_handler/tray_action_handler_observer.h b/ash/tray_action_handler/tray_action_handler_observer.h
new file mode 100644
index 0000000000000000000000000000000000000000..82f713b44d70aba6d2f3a2c4ab506e31f72f3d7a
--- /dev/null
+++ b/ash/tray_action_handler/tray_action_handler_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_TRAY_ACTION_HANDLER_TRAY_ACTION_HANDLER_OBSERVER_H_
+#define ASH_TRAY_ACTION_HANDLER_TRAY_ACTION_HANDLER_OBSERVER_H_
+
+#include "ash/ash_export.h"
James Cook 2017/05/03 23:31:51 not needed?
tbarzic 2017/05/04 20:58:31 Done.
+
+#include "ash/public/interfaces/tray_action_handler.mojom.h"
+
+namespace ash {
+
+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
+ public:
+ virtual ~TrayActionHandlerObserver() {}
+
+ // Called when action handler state changes.
+ virtual void OnActionStateChanged(mojom::TrayActionHandlerAction action,
+ mojom::TrayActionHandlerState state) = 0;
+};
+
+} // namespace ash
+
+#endif // ASH_TRAY_ACTION_HANDLER_TRAY_ACTION_HANDLER_OBSERVER_H_

Powered by Google App Engine
This is Rietveld 408576698