notification_presenter_linux.h 905 B

1234567891011121314151617181920212223242526
  1. // Copyright (c) 2012 The Chromium Authors. All rights reserved.
  2. // Copyright (c) 2013 Patrick Reynolds <[email protected]>. All rights reserved.
  3. // Use of this source code is governed by a BSD-style license that can be
  4. // found in the LICENSE-CHROMIUM file.
  5. #ifndef ELECTRON_SHELL_BROWSER_NOTIFICATIONS_LINUX_NOTIFICATION_PRESENTER_LINUX_H_
  6. #define ELECTRON_SHELL_BROWSER_NOTIFICATIONS_LINUX_NOTIFICATION_PRESENTER_LINUX_H_
  7. #include "shell/browser/notifications/notification_presenter.h"
  8. namespace electron {
  9. class NotificationPresenterLinux : public NotificationPresenter {
  10. public:
  11. NotificationPresenterLinux();
  12. ~NotificationPresenterLinux() override;
  13. private:
  14. // NotificationPresenter
  15. Notification* CreateNotificationObject(
  16. NotificationDelegate* delegate) override;
  17. };
  18. } // namespace electron
  19. #endif // ELECTRON_SHELL_BROWSER_NOTIFICATIONS_LINUX_NOTIFICATION_PRESENTER_LINUX_H_