notification_interaction_handler_impl.h 943 B

123456789101112131415161718192021222324252627282930
  1. // Copyright 2021 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_COMPONENTS_PHONEHUB_NOTIFICATION_INTERACTION_HANDLER_IMPL_H_
  5. #define ASH_COMPONENTS_PHONEHUB_NOTIFICATION_INTERACTION_HANDLER_IMPL_H_
  6. #include <stdint.h>
  7. #include "ash/components/phonehub/notification.h"
  8. #include "ash/components/phonehub/notification_interaction_handler.h"
  9. namespace ash {
  10. namespace phonehub {
  11. class NotificationInteractionHandlerImpl
  12. : public NotificationInteractionHandler {
  13. public:
  14. NotificationInteractionHandlerImpl();
  15. ~NotificationInteractionHandlerImpl() override;
  16. private:
  17. void HandleNotificationClicked(
  18. int64_t notification_id,
  19. const Notification::AppMetadata& app_metadata) override;
  20. };
  21. } // namespace phonehub
  22. } // namespace ash
  23. #endif // ASH_COMPONENTS_PHONEHUB_NOTIFICATION_INTERACTION_HANDLER_IMPL_H_