| 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 22 matching lines...) Expand all Loading... |
| 33 | 33 |
| 34 #include "bindings/v8/ScriptWrappable.h" | 34 #include "bindings/v8/ScriptWrappable.h" |
| 35 #include "core/dom/ActiveDOMObject.h" | 35 #include "core/dom/ActiveDOMObject.h" |
| 36 #include "core/events/EventTarget.h" | 36 #include "core/events/EventTarget.h" |
| 37 #include "modules/notifications/NotificationClient.h" | 37 #include "modules/notifications/NotificationClient.h" |
| 38 #include "platform/AsyncMethodRunner.h" | 38 #include "platform/AsyncMethodRunner.h" |
| 39 #include "platform/heap/Handle.h" | 39 #include "platform/heap/Handle.h" |
| 40 #include "platform/text/TextDirection.h" | 40 #include "platform/text/TextDirection.h" |
| 41 #include "platform/weborigin/KURL.h" | 41 #include "platform/weborigin/KURL.h" |
| 42 #include "wtf/OwnPtr.h" | 42 #include "wtf/OwnPtr.h" |
| 43 #include "wtf/PassRefPtr.h" | |
| 44 #include "wtf/RefCounted.h" | 43 #include "wtf/RefCounted.h" |
| 45 | 44 |
| 46 namespace WebCore { | 45 namespace WebCore { |
| 47 | 46 |
| 48 class Dictionary; | 47 class Dictionary; |
| 49 class ExecutionContext; | 48 class ExecutionContext; |
| 50 class NotificationPermissionCallback; | 49 class NotificationPermissionCallback; |
| 51 | 50 |
| 52 class Notification : public RefCountedGarbageCollected<Notification>, public Scr
iptWrappable, public ActiveDOMObject, public EventTargetWithInlineData { | 51 class Notification : public RefCountedGarbageCollected<Notification>, public Scr
iptWrappable, public ActiveDOMObject, public EventTargetWithInlineData { |
| 53 DEFINE_EVENT_TARGET_REFCOUNTING(RefCountedGarbageCollected<Notification>); | 52 DEFINE_EVENT_TARGET_REFCOUNTING(RefCountedGarbageCollected<Notification>); |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 NotificationState m_state; | 127 NotificationState m_state; |
| 129 | 128 |
| 130 NotificationClient* m_client; | 129 NotificationClient* m_client; |
| 131 | 130 |
| 132 OwnPtr<AsyncMethodRunner<Notification> > m_asyncRunner; | 131 OwnPtr<AsyncMethodRunner<Notification> > m_asyncRunner; |
| 133 }; | 132 }; |
| 134 | 133 |
| 135 } // namespace WebCore | 134 } // namespace WebCore |
| 136 | 135 |
| 137 #endif // Notification_h | 136 #endif // Notification_h |
| OLD | NEW |