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

Side by Side Diff: third_party/WebKit/public/platform/modules/notifications/WebNotificationManager.h

Issue 1901133002: Move the notification constants to Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 unified diff | Download patch
« no previous file with comments | « third_party/WebKit/public/platform/modules/notifications/WebNotificationConstants.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WebNotificationManager_h 5 #ifndef WebNotificationManager_h
6 #define WebNotificationManager_h 6 #define WebNotificationManager_h
7 7
8 #include "public/platform/WebCallbacks.h" 8 #include "public/platform/WebCallbacks.h"
9 #include "public/platform/WebString.h" 9 #include "public/platform/WebString.h"
10 #include "public/platform/WebVector.h" 10 #include "public/platform/WebVector.h"
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 53
54 // Closes a persistent notification identified by its persistent notificatio n Id. 54 // Closes a persistent notification identified by its persistent notificatio n Id.
55 virtual void closePersistent(const WebSecurityOrigin&, int64_t persistentNot ificationId) = 0; 55 virtual void closePersistent(const WebSecurityOrigin&, int64_t persistentNot ificationId) = 0;
56 56
57 // Indicates that the delegate object is being destroyed, and must no longer 57 // Indicates that the delegate object is being destroyed, and must no longer
58 // be used by the embedder to dispatch events. 58 // be used by the embedder to dispatch events.
59 virtual void notifyDelegateDestroyed(WebNotificationDelegate*) = 0; 59 virtual void notifyDelegateDestroyed(WebNotificationDelegate*) = 0;
60 60
61 // Synchronously checks the permission level for the given origin. 61 // Synchronously checks the permission level for the given origin.
62 virtual WebNotificationPermission checkPermission(const WebSecurityOrigin&) = 0; 62 virtual WebNotificationPermission checkPermission(const WebSecurityOrigin&) = 0;
63
64 // Returns the maximum number of actions supported by the embedder.
65 virtual size_t maxActions() = 0;
66 }; 63 };
67 64
68 } // namespace blink 65 } // namespace blink
69 66
70 #endif // WebNotificationManager_h 67 #endif // WebNotificationManager_h
OLDNEW
« no previous file with comments | « third_party/WebKit/public/platform/modules/notifications/WebNotificationConstants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698