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

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

Issue 872313003: Move Notification-related Blink API headers into their own directory. (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 unified diff | Download patch | Annotate | Revision Log
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 "WebCallbacks.h" 8 #include "public/platform/WebCallbacks.h"
9 #include "WebNotificationPermission.h" 9 #include "public/platform/modules/notifications/WebNotificationPermission.h"
10 10
11 namespace blink { 11 namespace blink {
12 12
13 struct WebNotificationData; 13 struct WebNotificationData;
14 class WebNotificationDelegate; 14 class WebNotificationDelegate;
15 class WebSerializedOrigin; 15 class WebSerializedOrigin;
16 class WebServiceWorkerRegistration; 16 class WebServiceWorkerRegistration;
17 class WebString; 17 class WebString;
18 18
19 using WebNotificationShowCallbacks = WebCallbacks<void, void>; 19 using WebNotificationShowCallbacks = WebCallbacks<void, void>;
(...skipping 22 matching lines...) Expand all
42 // be used by the embedder to dispatch events. 42 // be used by the embedder to dispatch events.
43 virtual void notifyDelegateDestroyed(WebNotificationDelegate*) = 0; 43 virtual void notifyDelegateDestroyed(WebNotificationDelegate*) = 0;
44 44
45 // Synchronously checks the permission level for the given origin. 45 // Synchronously checks the permission level for the given origin.
46 virtual WebNotificationPermission checkPermission(const WebSerializedOrigin& ) = 0; 46 virtual WebNotificationPermission checkPermission(const WebSerializedOrigin& ) = 0;
47 }; 47 };
48 48
49 } // namespace blink 49 } // namespace blink
50 50
51 #endif // WebNotificationManager_h 51 #endif // WebNotificationManager_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698