| 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, 2011 Google Inc. All Rights Reserved. | 3 * Copyright (C) 2009, 2011 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 #include "core/inspector/WorkerInspectorController.h" | 45 #include "core/inspector/WorkerInspectorController.h" |
| 46 #include "core/loader/WorkerThreadableLoader.h" | 46 #include "core/loader/WorkerThreadableLoader.h" |
| 47 #include "core/frame/ContentSecurityPolicy.h" | 47 #include "core/frame/ContentSecurityPolicy.h" |
| 48 #include "core/frame/DOMWindow.h" | 48 #include "core/frame/DOMWindow.h" |
| 49 #include "core/workers/WorkerNavigator.h" | 49 #include "core/workers/WorkerNavigator.h" |
| 50 #include "core/workers/WorkerClients.h" | 50 #include "core/workers/WorkerClients.h" |
| 51 #include "core/workers/WorkerLocation.h" | 51 #include "core/workers/WorkerLocation.h" |
| 52 #include "core/workers/WorkerObjectProxy.h" | 52 #include "core/workers/WorkerObjectProxy.h" |
| 53 #include "core/workers/WorkerScriptLoader.h" | 53 #include "core/workers/WorkerScriptLoader.h" |
| 54 #include "core/workers/WorkerThread.h" | 54 #include "core/workers/WorkerThread.h" |
| 55 #include "weborigin/KURL.h" | 55 #include "platform/weborigin/KURL.h" |
| 56 #include "weborigin/SecurityOrigin.h" | 56 #include "platform/weborigin/SecurityOrigin.h" |
| 57 #include "wtf/RefPtr.h" | 57 #include "wtf/RefPtr.h" |
| 58 #include "wtf/UnusedParam.h" | 58 #include "wtf/UnusedParam.h" |
| 59 | 59 |
| 60 namespace WebCore { | 60 namespace WebCore { |
| 61 | 61 |
| 62 class CloseWorkerGlobalScopeTask : public ExecutionContextTask { | 62 class CloseWorkerGlobalScopeTask : public ExecutionContextTask { |
| 63 public: | 63 public: |
| 64 static PassOwnPtr<CloseWorkerGlobalScopeTask> create() | 64 static PassOwnPtr<CloseWorkerGlobalScopeTask> create() |
| 65 { | 65 { |
| 66 return adoptPtr(new CloseWorkerGlobalScopeTask); | 66 return adoptPtr(new CloseWorkerGlobalScopeTask); |
| (...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 327 { | 327 { |
| 328 return script()->idleNotification(); | 328 return script()->idleNotification(); |
| 329 } | 329 } |
| 330 | 330 |
| 331 WorkerEventQueue* WorkerGlobalScope::eventQueue() const | 331 WorkerEventQueue* WorkerGlobalScope::eventQueue() const |
| 332 { | 332 { |
| 333 return m_eventQueue.get(); | 333 return m_eventQueue.get(); |
| 334 } | 334 } |
| 335 | 335 |
| 336 } // namespace WebCore | 336 } // namespace WebCore |
| OLD | NEW |