Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(529)

Unified Diff: third_party/WebKit/Source/modules/notifications/Notification.h

Issue 1974033003: Ship the Notification.action and Notification.vibration properties (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@threadsafe-statics
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/notifications/Notification.h
diff --git a/third_party/WebKit/Source/modules/notifications/Notification.h b/third_party/WebKit/Source/modules/notifications/Notification.h
index cf5c627b6ea058e3acdae6211829e286875ba0bf..f951d5ef6e608b013408dc27a24d25af188621b2 100644
--- a/third_party/WebKit/Source/modules/notifications/Notification.h
+++ b/third_party/WebKit/Source/modules/notifications/Notification.h
@@ -91,13 +91,13 @@ public:
String tag() const;
String icon() const;
String badge() const;
- NavigatorVibration::VibrationPattern vibrate(bool& isNull) const;
+ NavigatorVibration::VibrationPattern vibrate() const;
DOMTimeStamp timestamp() const;
bool renotify() const;
bool silent() const;
bool requireInteraction() const;
ScriptValue data(ScriptState*);
- HeapVector<NotificationAction> actions() const;
+ Vector<v8::Local<v8::Value>> actions(ScriptState*) const;
static String permissionString(mojom::PermissionStatus);
static String permission(ExecutionContext*);

Powered by Google App Engine
This is Rietveld 408576698