| 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 18 matching lines...) Expand all Loading... |
| 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/dom/EventListener.h" | 36 #include "core/dom/EventListener.h" |
| 37 #include "core/dom/EventNames.h" | 37 #include "core/dom/EventNames.h" |
| 38 #include "core/dom/EventTarget.h" | 38 #include "core/dom/EventTarget.h" |
| 39 #include <wtf/PassRefPtr.h> | 39 #include "wtf/PassRefPtr.h" |
| 40 #include <wtf/RefCounted.h> | 40 #include "wtf/RefCounted.h" |
| 41 #include <wtf/RefPtr.h> | 41 #include "wtf/RefPtr.h" |
| 42 #include <wtf/text/AtomicStringHash.h> | 42 #include "wtf/text/AtomicStringHash.h" |
| 43 | 43 |
| 44 namespace WebCore { | 44 namespace WebCore { |
| 45 | 45 |
| 46 class ExceptionState; | 46 class ExceptionState; |
| 47 class KURL; | 47 class KURL; |
| 48 class ScriptExecutionContext; | 48 class ScriptExecutionContext; |
| 49 | 49 |
| 50 class AbstractWorker : public RefCounted<AbstractWorker>, public EventTarget, pu
blic ActiveDOMObject { | 50 class AbstractWorker : public RefCounted<AbstractWorker>, public EventTarget, pu
blic ActiveDOMObject { |
| 51 public: | 51 public: |
| 52 // EventTarget APIs | 52 // EventTarget APIs |
| (...skipping 18 matching lines...) Expand all Loading... |
| 71 virtual void derefEventTarget() OVERRIDE { deref(); } | 71 virtual void derefEventTarget() OVERRIDE { deref(); } |
| 72 virtual EventTargetData* eventTargetData() OVERRIDE; | 72 virtual EventTargetData* eventTargetData() OVERRIDE; |
| 73 virtual EventTargetData* ensureEventTargetData() OVERRIDE; | 73 virtual EventTargetData* ensureEventTargetData() OVERRIDE; |
| 74 | 74 |
| 75 EventTargetData m_eventTargetData; | 75 EventTargetData m_eventTargetData; |
| 76 }; | 76 }; |
| 77 | 77 |
| 78 } // namespace WebCore | 78 } // namespace WebCore |
| 79 | 79 |
| 80 #endif // AbstractWorker_h | 80 #endif // AbstractWorker_h |
| OLD | NEW |