| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2001 Dirk Mueller (mueller@kde.org) | 4 * (C) 2001 Dirk Mueller (mueller@kde.org) |
| 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. | 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. |
| 6 * Copyright (C) 2006 Alexey Proskuryakov (ap@webkit.org) | 6 * Copyright (C) 2006 Alexey Proskuryakov (ap@webkit.org) |
| 7 * (C) 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org> | 7 * (C) 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org> |
| 8 * | 8 * |
| 9 * Redistribution and use in source and binary forms, with or without | 9 * Redistribution and use in source and binary forms, with or without |
| 10 * modification, are permitted provided that the following conditions | 10 * modification, are permitted provided that the following conditions |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 class FileWriter; | 50 class FileWriter; |
| 51 class IDBDatabase; | 51 class IDBDatabase; |
| 52 class IDBRequest; | 52 class IDBRequest; |
| 53 class IDBTransaction; | 53 class IDBTransaction; |
| 54 class MIDIAccess; | 54 class MIDIAccess; |
| 55 class MIDIInput; | 55 class MIDIInput; |
| 56 class MIDIPort; | 56 class MIDIPort; |
| 57 class MediaController; | 57 class MediaController; |
| 58 class MediaStream; | 58 class MediaStream; |
| 59 class MessagePort; | 59 class MessagePort; |
| 60 class NamedFlow; | |
| 61 class Node; | 60 class Node; |
| 62 class Notification; | 61 class Notification; |
| 63 class SVGElementInstance; | 62 class SVGElementInstance; |
| 64 class ExecutionContext; | 63 class ExecutionContext; |
| 65 class ScriptProcessorNode; | 64 class ScriptProcessorNode; |
| 66 class SharedWorker; | 65 class SharedWorker; |
| 67 class SharedWorkerGlobalScope; | 66 class SharedWorkerGlobalScope; |
| 68 class TextTrack; | 67 class TextTrack; |
| 69 class TextTrackCue; | 68 class TextTrackCue; |
| 70 class WebSocket; | 69 class WebSocket; |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 236 virtual void refEventTarget() OVERRIDE FINAL { ref(); } \ | 235 virtual void refEventTarget() OVERRIDE FINAL { ref(); } \ |
| 237 virtual void derefEventTarget() OVERRIDE FINAL { deref(); } \ | 236 virtual void derefEventTarget() OVERRIDE FINAL { deref(); } \ |
| 238 typedef int thisIsHereToForceASemiColonAfterThisEventTargetMacro | 237 typedef int thisIsHereToForceASemiColonAfterThisEventTargetMacro |
| 239 | 238 |
| 240 // Use this macro if your EventTarget subclass is also a subclass of WTF::RefCou
nted. | 239 // Use this macro if your EventTarget subclass is also a subclass of WTF::RefCou
nted. |
| 241 // A ref-counted class that uses a different method of refcounting should use DE
FINE_EVENT_TARGET_REFCOUNTING directly. | 240 // A ref-counted class that uses a different method of refcounting should use DE
FINE_EVENT_TARGET_REFCOUNTING directly. |
| 242 // Both of these macros are meant to be placed just before the "public:" section
of the class declaration. | 241 // Both of these macros are meant to be placed just before the "public:" section
of the class declaration. |
| 243 #define REFCOUNTED_EVENT_TARGET(className) DEFINE_EVENT_TARGET_REFCOUNTING(RefCo
unted<className>) | 242 #define REFCOUNTED_EVENT_TARGET(className) DEFINE_EVENT_TARGET_REFCOUNTING(RefCo
unted<className>) |
| 244 | 243 |
| 245 #endif // EventTarget_h | 244 #endif // EventTarget_h |
| OLD | NEW |