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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 | 52 |
53 typedef int ExceptionCode; | 53 typedef int ExceptionCode; |
54 | 54 |
55 class EventTarget { | 55 class EventTarget { |
56 public: | 56 public: |
57 virtual MessagePort* toMessagePort(); | 57 virtual MessagePort* toMessagePort(); |
58 virtual Node* toNode(); | 58 virtual Node* toNode(); |
59 virtual DOMWindow* toDOMWindow(); | 59 virtual DOMWindow* toDOMWindow(); |
60 virtual XMLHttpRequest* toXMLHttpRequest(); | 60 virtual XMLHttpRequest* toXMLHttpRequest(); |
61 virtual XMLHttpRequestUpload* toXMLHttpRequestUpload(); | 61 virtual XMLHttpRequestUpload* toXMLHttpRequestUpload(); |
62 #if ENABLE(OFFLINE_WEB_APPLICATIONS) | 62 #if ENABLE(OFFLINE_WEB_APPLICATIONS) || ENABLE(APPLICATION_CACHE) |
63 virtual DOMApplicationCache* toDOMApplicationCache(); | 63 virtual DOMApplicationCache* toDOMApplicationCache(); |
64 #endif | 64 #endif |
65 #if ENABLE(SVG) | 65 #if ENABLE(SVG) |
66 virtual SVGElementInstance* toSVGElementInstance(); | 66 virtual SVGElementInstance* toSVGElementInstance(); |
67 #endif | 67 #endif |
68 #if ENABLE(WORKERS) | 68 #if ENABLE(WORKERS) |
69 virtual Worker* toWorker(); | 69 virtual Worker* toWorker(); |
70 virtual WorkerContext* toWorkerContext(); | 70 virtual WorkerContext* toWorkerContext(); |
71 #endif | 71 #endif |
72 | 72 |
(...skipping 25 matching lines...) Expand all Loading... |
98 #ifndef NDEBUG | 98 #ifndef NDEBUG |
99 bool eventDispatchForbidden(); | 99 bool eventDispatchForbidden(); |
100 #else | 100 #else |
101 inline void forbidEventDispatch() { } | 101 inline void forbidEventDispatch() { } |
102 inline void allowEventDispatch() { } | 102 inline void allowEventDispatch() { } |
103 #endif | 103 #endif |
104 | 104 |
105 } | 105 } |
106 | 106 |
107 #endif | 107 #endif |
OLD | NEW |