ozone: evdev: Sync caps lock LED state to evdev
[chromium-blink-merge.git] / content / public / browser / desktop_notification_delegate.h
blobaaf2c9d98d722e0b34e1cb2557012066a1d44f0f
1 // Copyright 2014 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.
5 #ifndef CONTENT_PUBLIC_BROWSER_DESKTOP_NOTIFICATION_DELEGATE_H_
6 #define CONTENT_PUBLIC_BROWSER_DESKTOP_NOTIFICATION_DELEGATE_H_
8 namespace content {
10 // A delegate used by ContentBrowserClient::ShowDesktopNotification to report
11 // the result of a desktop notification.
12 class DesktopNotificationDelegate {
13 public:
14 virtual ~DesktopNotificationDelegate() {}
16 // The notification was shown.
17 virtual void NotificationDisplayed() = 0;
19 // The notification was closed.
20 virtual void NotificationClosed(bool by_user) = 0;
22 // The user clicked on the notification.
23 virtual void NotificationClick() = 0;
26 } // namespace content
28 #endif // CONTENT_PUBLIC_BROWSER_DESKTOP_NOTIFICATION_DELEGATE_H_