summaryrefslogtreecommitdiffstats
path: root/WebCore/notifications/Notification.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/notifications/Notification.h')
-rw-r--r--WebCore/notifications/Notification.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/WebCore/notifications/Notification.h b/WebCore/notifications/Notification.h
index 98cbfdf..47de2a2 100644
--- a/WebCore/notifications/Notification.h
+++ b/WebCore/notifications/Notification.h
@@ -68,6 +68,11 @@ namespace WebCore {
KURL iconURL() { return m_contents.icon(); }
NotificationContents& contents() { return m_contents; }
+ String dir() const { return m_direction; }
+ void setDir(const String& dir) { m_direction = dir; }
+ String replaceId() const { return m_replaceId; }
+ void setReplaceId(const String& replaceId) { m_replaceId = replaceId; }
+
DEFINE_ATTRIBUTE_EVENT_LISTENER(display);
DEFINE_ATTRIBUTE_EVENT_LISTENER(error);
DEFINE_ATTRIBUTE_EVENT_LISTENER(close);
@@ -93,6 +98,9 @@ namespace WebCore {
KURL m_notificationURL;
NotificationContents m_contents;
+ String m_direction;
+ String m_replaceId;
+
bool m_isShowing;
NotificationPresenter* m_presenter;