| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008, 2010 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008, 2010 Apple 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 | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 * | 24 * |
| 25 */ | 25 */ |
| 26 | 26 |
| 27 #ifndef Worker_h | 27 #ifndef Worker_h |
| 28 #define Worker_h | 28 #define Worker_h |
| 29 | 29 |
| 30 #include "core/dom/ActiveDOMObject.h" | 30 #include "core/dom/ActiveDOMObject.h" |
| 31 #include "core/dom/MessagePort.h" | 31 #include "core/dom/MessagePort.h" |
| 32 #include "core/events/EventListener.h" | 32 #include "core/events/EventListener.h" |
| 33 #include "core/events/EventTarget.h" | 33 #include "core/events/EventTarget.h" |
| 34 #include "core/events/ThreadLocalEventNames.h" | |
| 35 #include "core/workers/AbstractWorker.h" | 34 #include "core/workers/AbstractWorker.h" |
| 36 #include "core/workers/WorkerScriptLoaderClient.h" | 35 #include "core/workers/WorkerScriptLoaderClient.h" |
| 37 #include "heap/Handle.h" | 36 #include "heap/Handle.h" |
| 38 #include "wtf/Forward.h" | 37 #include "wtf/Forward.h" |
| 39 #include "wtf/PassRefPtr.h" | 38 #include "wtf/PassRefPtr.h" |
| 40 #include "wtf/RefPtr.h" | 39 #include "wtf/RefPtr.h" |
| 41 #include "wtf/text/AtomicStringHash.h" | 40 #include "wtf/text/AtomicStringHash.h" |
| 42 | 41 |
| 43 namespace WebCore { | 42 namespace WebCore { |
| 44 | 43 |
| (...skipping 27 matching lines...) Expand all Loading... |
| 72 virtual void didReceiveResponse(unsigned long identifier, const ResourceResp
onse&) OVERRIDE; | 71 virtual void didReceiveResponse(unsigned long identifier, const ResourceResp
onse&) OVERRIDE; |
| 73 virtual void notifyFinished() OVERRIDE; | 72 virtual void notifyFinished() OVERRIDE; |
| 74 | 73 |
| 75 RefPtr<WorkerScriptLoader> m_scriptLoader; | 74 RefPtr<WorkerScriptLoader> m_scriptLoader; |
| 76 WorkerGlobalScopeProxy* m_contextProxy; // The proxy outlives the worker to
perform thread shutdown. | 75 WorkerGlobalScopeProxy* m_contextProxy; // The proxy outlives the worker to
perform thread shutdown. |
| 77 }; | 76 }; |
| 78 | 77 |
| 79 } // namespace WebCore | 78 } // namespace WebCore |
| 80 | 79 |
| 81 #endif // Worker_h | 80 #endif // Worker_h |
| OLD | NEW |