OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 19 matching lines...) Expand all Loading... |
30 | 30 |
31 #ifndef Notification_h | 31 #ifndef Notification_h |
32 #define Notification_h | 32 #define Notification_h |
33 | 33 |
34 #include "core/dom/ActiveDOMObject.h" | 34 #include "core/dom/ActiveDOMObject.h" |
35 #include "modules/EventTargetModules.h" | 35 #include "modules/EventTargetModules.h" |
36 #include "platform/AsyncMethodRunner.h" | 36 #include "platform/AsyncMethodRunner.h" |
37 #include "platform/heap/Handle.h" | 37 #include "platform/heap/Handle.h" |
38 #include "platform/text/TextDirection.h" | 38 #include "platform/text/TextDirection.h" |
39 #include "platform/weborigin/KURL.h" | 39 #include "platform/weborigin/KURL.h" |
40 #include "public/platform/WebNotificationDelegate.h" | 40 #include "public/platform/modules/notifications/WebNotificationDelegate.h" |
41 #include "public/platform/WebNotificationPermission.h" | 41 #include "public/platform/modules/notifications/WebNotificationPermission.h" |
42 #include "wtf/PassOwnPtr.h" | 42 #include "wtf/PassOwnPtr.h" |
43 #include "wtf/RefCounted.h" | 43 #include "wtf/RefCounted.h" |
44 | 44 |
45 namespace blink { | 45 namespace blink { |
46 | 46 |
47 class ExecutionContext; | 47 class ExecutionContext; |
48 class NotificationOptions; | 48 class NotificationOptions; |
49 class NotificationPermissionCallback; | 49 class NotificationPermissionCallback; |
50 struct WebNotificationData; | 50 struct WebNotificationData; |
51 | 51 |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 void setState(NotificationState state) { m_state = state; } | 148 void setState(NotificationState state) { m_state = state; } |
149 | 149 |
150 NotificationState m_state; | 150 NotificationState m_state; |
151 | 151 |
152 AsyncMethodRunner<Notification> m_asyncRunner; | 152 AsyncMethodRunner<Notification> m_asyncRunner; |
153 }; | 153 }; |
154 | 154 |
155 } // namespace blink | 155 } // namespace blink |
156 | 156 |
157 #endif // Notification_h | 157 #endif // Notification_h |
OLD | NEW |