Index: Source/modules/notifications/Notification.h |
diff --git a/Source/modules/notifications/Notification.h b/Source/modules/notifications/Notification.h |
index 1f780a0a9bfdd265eb3e0c2c89bc3e0ed2ae1cb6..14bcf924c23df1353406584df8afcd1347c60267 100644 |
--- a/Source/modules/notifications/Notification.h |
+++ b/Source/modules/notifications/Notification.h |
@@ -34,6 +34,7 @@ |
#include "bindings/core/v8/SerializedScriptValue.h" |
#include "core/dom/ActiveDOMObject.h" |
#include "modules/EventTargetModules.h" |
+#include "modules/vibration/NavigatorVibration.h" |
#include "platform/AsyncMethodRunner.h" |
#include "platform/heap/Handle.h" |
#include "platform/text/TextDirection.h" |
@@ -127,6 +128,7 @@ private: |
void setBody(const String& body) { m_body = body; } |
void setIconUrl(KURL iconUrl) { m_iconUrl = iconUrl; } |
void setTag(const String& tag) { m_tag = tag; } |
+ void setVibrate(const NavigatorVibration::VibrationPattern& vibrate) { m_vibrate = vibrate; } |
void setSilent(bool silent) { m_silent = silent; } |
void setSerializedData(PassRefPtr<SerializedScriptValue> data) { m_serializedData = data; } |
@@ -138,6 +140,7 @@ private: |
String m_lang; |
String m_body; |
String m_tag; |
+ NavigatorVibration::VibrationPattern m_vibrate; |
bool m_silent; |
RefPtr<SerializedScriptValue> m_serializedData; |