diff options
Diffstat (limited to 'WebKit/chromium/src/WebNotification.cpp')
-rw-r--r-- | WebKit/chromium/src/WebNotification.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/WebKit/chromium/src/WebNotification.cpp b/WebKit/chromium/src/WebNotification.cpp index 5ae1557..38d91df 100644 --- a/WebKit/chromium/src/WebNotification.cpp +++ b/WebKit/chromium/src/WebNotification.cpp @@ -36,6 +36,7 @@ #include "Notification.h" #include "WebString.h" +#include "WebTextDirection.h" #include "WebURL.h" #include <wtf/PassRefPtr.h> @@ -94,11 +95,19 @@ WebString WebNotification::body() const return m_private->contents().body(); } +// FIXME: remove dir() when unreferenced. Being replaced by direction(). WebString WebNotification::dir() const { return m_private->dir(); } +WebTextDirection WebNotification::direction() const +{ + return (m_private->direction() == RTL) ? + WebTextDirectionRightToLeft : + WebTextDirectionLeftToRight; +} + WebString WebNotification::replaceId() const { return m_private->replaceId(); |