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

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

Issue 901843006: Allow the embedder to disable the Notification constructor. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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
« no previous file with comments | « no previous file | Source/modules/notifications/Notification.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/notifications/Notification.h
diff --git a/Source/modules/notifications/Notification.h b/Source/modules/notifications/Notification.h
index bbb875f9b755e57155d9fb7df06dd2eaeaf4950e..75e57a92987ab76a9839477a2052194d33a5ab8c 100644
--- a/Source/modules/notifications/Notification.h
+++ b/Source/modules/notifications/Notification.h
@@ -56,7 +56,7 @@ class Notification final : public RefCountedGarbageCollectedEventTargetWithInlin
public:
// Used for JavaScript instantiations of the Notification object. Will automatically schedule for
// the notification to be displayed to the user.
- static Notification* create(ExecutionContext*, const String& title, const NotificationOptions&);
+ static Notification* create(ExecutionContext*, const String& title, const NotificationOptions&, ExceptionState&);
// Used for embedder-created Notification objects. Will initialize the Notification's state as showing.
static Notification* create(ExecutionContext*, const String& persistentId, const WebNotificationData&);
« no previous file with comments | « no previous file | Source/modules/notifications/Notification.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698