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 29 matching lines...) Expand all Loading... |
40 #include "modules/EventTargetModules.h" | 40 #include "modules/EventTargetModules.h" |
41 #include "modules/ModulesExport.h" | 41 #include "modules/ModulesExport.h" |
42 #include "modules/vibration/NavigatorVibration.h" | 42 #include "modules/vibration/NavigatorVibration.h" |
43 #include "platform/AsyncMethodRunner.h" | 43 #include "platform/AsyncMethodRunner.h" |
44 #include "platform/heap/Handle.h" | 44 #include "platform/heap/Handle.h" |
45 #include "platform/weborigin/KURL.h" | 45 #include "platform/weborigin/KURL.h" |
46 #include "public/platform/WebVector.h" | 46 #include "public/platform/WebVector.h" |
47 #include "public/platform/modules/notifications/WebNotificationData.h" | 47 #include "public/platform/modules/notifications/WebNotificationData.h" |
48 #include "public/platform/modules/notifications/WebNotificationDelegate.h" | 48 #include "public/platform/modules/notifications/WebNotificationDelegate.h" |
49 #include "public/platform/modules/notifications/WebNotificationPermission.h" | 49 #include "public/platform/modules/notifications/WebNotificationPermission.h" |
50 #include "wtf/PassRefPtr.h" | |
51 #include "wtf/RefCounted.h" | |
52 | 50 |
53 namespace blink { | 51 namespace blink { |
54 | 52 |
55 class ExecutionContext; | 53 class ExecutionContext; |
56 class NotificationAction; | 54 class NotificationAction; |
57 class NotificationOptions; | 55 class NotificationOptions; |
58 class NotificationPermissionCallback; | 56 class NotificationPermissionCallback; |
59 class ScriptState; | 57 class ScriptState; |
60 | 58 |
61 class MODULES_EXPORT Notification final : public EventTargetWithInlineData, publ
ic ActiveScriptWrappable, public ActiveDOMObject, public WebNotificationDelegate
{ | 59 class MODULES_EXPORT Notification final : public EventTargetWithInlineData, publ
ic ActiveScriptWrappable, public ActiveDOMObject, public WebNotificationDelegate
{ |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 void setState(NotificationState state) { m_state = state; } | 157 void setState(NotificationState state) { m_state = state; } |
160 | 158 |
161 NotificationState m_state; | 159 NotificationState m_state; |
162 | 160 |
163 Member<AsyncMethodRunner<Notification>> m_asyncRunner; | 161 Member<AsyncMethodRunner<Notification>> m_asyncRunner; |
164 }; | 162 }; |
165 | 163 |
166 } // namespace blink | 164 } // namespace blink |
167 | 165 |
168 #endif // Notification_h | 166 #endif // Notification_h |
OLD | NEW |