OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. |
3 * Copyright (C) 2009 Google Inc. All Rights Reserved. | 3 * Copyright (C) 2009 Google Inc. All Rights Reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 22 matching lines...) Expand all Loading... |
33 | 33 |
34 #include "ActiveDOMObject.h" | 34 #include "ActiveDOMObject.h" |
35 #include "DOMTimer.h" | 35 #include "DOMTimer.h" |
36 #include "DOMWindow.h" | 36 #include "DOMWindow.h" |
37 #include "Event.h" | 37 #include "Event.h" |
38 #include "EventException.h" | 38 #include "EventException.h" |
39 #include "MessageEvent.h" | 39 #include "MessageEvent.h" |
40 #include "NotImplemented.h" | 40 #include "NotImplemented.h" |
41 #include "SecurityOrigin.h" | 41 #include "SecurityOrigin.h" |
42 #include "WorkerLocation.h" | 42 #include "WorkerLocation.h" |
43 #include "WorkerMessagingProxy.h" | |
44 #include "WorkerNavigator.h" | 43 #include "WorkerNavigator.h" |
| 44 #include "WorkerObjectProxy.h" |
45 #include "WorkerThread.h" | 45 #include "WorkerThread.h" |
46 #include <wtf/RefPtr.h> | 46 #include <wtf/RefPtr.h> |
47 | 47 |
48 namespace WebCore { | 48 namespace WebCore { |
49 | 49 |
50 WorkerContext::WorkerContext(const KURL& url, const String& userAgent, WorkerThr
ead* thread) | 50 WorkerContext::WorkerContext(const KURL& url, const String& userAgent, WorkerThr
ead* thread) |
51 : m_url(url) | 51 : m_url(url) |
52 , m_userAgent(userAgent) | 52 , m_userAgent(userAgent) |
53 , m_location(WorkerLocation::create(url)) | 53 , m_location(WorkerLocation::create(url)) |
54 , m_script(new WorkerScriptController(this)) | 54 , m_script(new WorkerScriptController(this)) |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 dispatchEvent(evt.release(), ec); | 213 dispatchEvent(evt.release(), ec); |
214 ASSERT(!ec); | 214 ASSERT(!ec); |
215 } | 215 } |
216 | 216 |
217 } // namespace WebCore | 217 } // namespace WebCore |
218 | 218 |
219 #endif // ENABLE(WORKERS) | 219 #endif // ENABLE(WORKERS) |
220 | 220 |
221 | 221 |
222 | 222 |
OLD | NEW |