| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 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 17 matching lines...) Expand all Loading... |
| 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 29 */ | 29 */ |
| 30 | 30 |
| 31 #ifndef AbstractWorker_h | 31 #ifndef AbstractWorker_h |
| 32 #define AbstractWorker_h | 32 #define AbstractWorker_h |
| 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/EventListener.h" | 36 #include "core/events/EventListener.h" |
| 37 #include "core/events/EventTarget.h" | 37 #include "core/events/EventTarget.h" |
| 38 #include "core/events/ThreadLocalEventNames.h" | |
| 39 #include "heap/Handle.h" | 38 #include "heap/Handle.h" |
| 40 #include "wtf/PassRefPtr.h" | 39 #include "wtf/PassRefPtr.h" |
| 41 #include "wtf/RefCounted.h" | 40 #include "wtf/RefCounted.h" |
| 42 #include "wtf/RefPtr.h" | 41 #include "wtf/RefPtr.h" |
| 43 #include "wtf/text/AtomicStringHash.h" | 42 #include "wtf/text/AtomicStringHash.h" |
| 44 | 43 |
| 45 namespace WebCore { | 44 namespace WebCore { |
| 46 | 45 |
| 47 class ExceptionState; | 46 class ExceptionState; |
| 48 class KURL; | 47 class KURL; |
| (...skipping 14 matching lines...) Expand all Loading... |
| 63 | 62 |
| 64 protected: | 63 protected: |
| 65 // Helper function that converts a URL to an absolute URL and checks the res
ult for validity. | 64 // Helper function that converts a URL to an absolute URL and checks the res
ult for validity. |
| 66 KURL resolveURL(const String& url, ExceptionState&); | 65 KURL resolveURL(const String& url, ExceptionState&); |
| 67 intptr_t asID() const { return reinterpret_cast<intptr_t>(this); } | 66 intptr_t asID() const { return reinterpret_cast<intptr_t>(this); } |
| 68 }; | 67 }; |
| 69 | 68 |
| 70 } // namespace WebCore | 69 } // namespace WebCore |
| 71 | 70 |
| 72 #endif // AbstractWorker_h | 71 #endif // AbstractWorker_h |
| OLD | NEW |