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

Side by Side Diff: Source/modules/notifications/NotificationData.h

Issue 1321453007: Some random Web Notification cleanups (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: typo fix Created 5 years, 3 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 NotificationData_h 5 #ifndef NotificationData_h
6 #define NotificationData_h 6 #define NotificationData_h
7 7
8 #include "modules/ModulesExport.h" 8 #include "modules/ModulesExport.h"
9 #include "public/platform/modules/notifications/WebNotificationData.h" 9 #include "public/platform/modules/notifications/WebNotificationData.h"
10 #include "wtf/text/WTFString.h" 10
11 namespace WTF {
12 class String;
13 }
11 14
12 namespace blink { 15 namespace blink {
13 16
14 class ExceptionState; 17 class ExceptionState;
15 class ExecutionContext; 18 class ExecutionContext;
16 class NotificationOptions; 19 class NotificationOptions;
17 20
18 // Creates a WebNotificationData object based on the developer-provided notifica tion data. When the 21 // Creates a WebNotificationData object based on the developer-provided notifica tion data. When the
19 // data is deemed invalid, an exception will be thrown to the passed exception s tate. 22 // data is deemed invalid, an exception will be thrown to the passed exception s tate.
20 MODULES_EXPORT WebNotificationData createWebNotificationData(ExecutionContext*, const String& title, const NotificationOptions&, ExceptionState&); 23 MODULES_EXPORT WebNotificationData createWebNotificationData(ExecutionContext*, const String& title, const NotificationOptions&, ExceptionState&);
21 24
22 } // namespace blink 25 } // namespace blink
23 26
24 #endif // NotificationData_h 27 #endif // NotificationData_h
OLDNEW
« no previous file with comments | « Source/modules/notifications/Notification.cpp ('k') | Source/modules/notifications/NotificationEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698