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

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

Issue 1904163002: Move Web Notifications to use Mojo Base URL: https://chromium.googlesource.com/chromium/src.git@skbitmap-blink
Patch Set: it works \o/ Created 4 years, 7 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
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/notification.mojom-blink.h"
10 10
11 namespace WTF { 11 namespace WTF {
12 class String; 12 class String;
13 } 13 }
14 14
15 namespace blink { 15 namespace blink {
16 16
17 class ExceptionState; 17 class ExceptionState;
18 class ExecutionContext; 18 class ExecutionContext;
19 class NotificationOptions; 19 class NotificationOptions;
20 20
21 // Creates a WebNotificationData object based on the developer-provided notifica tion data. When the 21 // Creates a Mojo Notification object based on the developer-provided notificati on data. When the
22 // 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.
23 MODULES_EXPORT WebNotificationData createWebNotificationData(ExecutionContext*, const String& title, const NotificationOptions&, ExceptionState&); 23 MODULES_EXPORT mojom::blink::NotificationPtr createNotificationData(ExecutionCon text*, const String& title, const NotificationOptions&, ExceptionState&);
24 24
25 } // namespace blink 25 } // namespace blink
26 26
27 #endif // NotificationData_h 27 #endif // NotificationData_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698