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