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

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: Ship the Notification.action and Notification.vibration properties Created 4 years, 6 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 4d641660073c95e13cf4a295d5900ba0c16d186f..39b3c184cdba8dec1fd48a8043e56ddc7d13d367 100644
--- a/third_party/WebKit/Source/modules/notifications/Notification.h
+++ b/third_party/WebKit/Source/modules/notifications/Notification.h
@@ -92,13 +92,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::blink::PermissionStatus);
static String permission(ExecutionContext*);

Powered by Google App Engine
This is Rietveld 408576698