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

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

Issue 2392543004: Reflow comments in the Push and Notification modules. (Closed)
Patch Set: Created 4 years, 2 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 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 NotificationEvent_h 5 #ifndef NotificationEvent_h
6 #define NotificationEvent_h 6 #define NotificationEvent_h
7 7
8 #include "modules/EventModules.h" 8 #include "modules/EventModules.h"
9 #include "modules/ModulesExport.h" 9 #include "modules/ModulesExport.h"
10 #include "modules/notifications/Notification.h" 10 #include "modules/notifications/Notification.h"
(...skipping 17 matching lines...) Expand all
28 WaitUntilObserver* observer) { 28 WaitUntilObserver* observer) {
29 return new NotificationEvent(type, initializer, observer); 29 return new NotificationEvent(type, initializer, observer);
30 } 30 }
31 31
32 ~NotificationEvent() override; 32 ~NotificationEvent() override;
33 33
34 Notification* getNotification() const { return m_notification.get(); } 34 Notification* getNotification() const { return m_notification.get(); }
35 String action() const { return m_action; } 35 String action() const { return m_action; }
36 String reply() const { return m_reply; } 36 String reply() const { return m_reply; }
37 37
38 // ExtendableEvent interface.
38 const AtomicString& interfaceName() const override; 39 const AtomicString& interfaceName() const override;
39 40
40 DECLARE_VIRTUAL_TRACE(); 41 DECLARE_VIRTUAL_TRACE();
41 42
42 private: 43 private:
43 NotificationEvent(const AtomicString& type, const NotificationEventInit&); 44 NotificationEvent(const AtomicString& type, const NotificationEventInit&);
44 NotificationEvent(const AtomicString& type, 45 NotificationEvent(const AtomicString& type,
45 const NotificationEventInit&, 46 const NotificationEventInit&,
46 WaitUntilObserver*); 47 WaitUntilObserver*);
47 48
48 Member<Notification> m_notification; 49 Member<Notification> m_notification;
49 String m_action; 50 String m_action;
50 String m_reply; 51 String m_reply;
51 }; 52 };
52 53
53 } // namespace blink 54 } // namespace blink
54 55
55 #endif // NotificationEvent_h 56 #endif // NotificationEvent_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698