summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/notifications/system_notification.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/chromeos/notifications/system_notification.h')
-rw-r--r--chrome/browser/chromeos/notifications/system_notification.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/chromeos/notifications/system_notification.h b/chrome/browser/chromeos/notifications/system_notification.h
index fa323b6..82ca8f3 100644
--- a/chrome/browser/chromeos/notifications/system_notification.h
+++ b/chrome/browser/chromeos/notifications/system_notification.h
@@ -16,6 +16,7 @@
#include "chrome/browser/notifications/notification_delegate.h"
#include "googleurl/src/gurl.h"
+class MessageCallback;
class Profile;
namespace chromeos {
@@ -39,6 +40,11 @@ class SystemNotification {
// previously hidden or minimized by the user.
void Show(const string16& message, bool urgent, bool sticky);
+ // Same as Show() above with a footer link at the bottom and a callback
+ // for when the link is clicked.
+ void Show(const string16& message, const string16& link_text,
+ MessageCallback* callback, bool urgent, bool sticky);
+
// Hide will dismiss the notification, if the notification is already
// hidden it does nothing
void Hide();