OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
3 * Copyright (C) 2010 Apple Inc. All rights reserved. | 3 * Copyright (C) 2010 Apple 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 are | 6 * modification, are permitted provided that the following conditions are |
7 * met: | 7 * met: |
8 * | 8 * |
9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 23 matching lines...) Expand all Loading... |
34 | 34 |
35 #include "bindings/v8/ExceptionState.h" | 35 #include "bindings/v8/ExceptionState.h" |
36 #include "core/dom/ExceptionCode.h" | 36 #include "core/dom/ExceptionCode.h" |
37 #include "core/dom/ExecutionContext.h" | 37 #include "core/dom/ExecutionContext.h" |
38 #include "core/dom/MessageChannel.h" | 38 #include "core/dom/MessageChannel.h" |
39 #include "core/dom/MessagePort.h" | 39 #include "core/dom/MessagePort.h" |
40 #include "core/inspector/InspectorInstrumentation.h" | 40 #include "core/inspector/InspectorInstrumentation.h" |
41 #include "core/page/Page.h" | 41 #include "core/page/Page.h" |
42 #include "core/frame/UseCounter.h" | 42 #include "core/frame/UseCounter.h" |
43 #include "core/workers/SharedWorkerRepositoryClient.h" | 43 #include "core/workers/SharedWorkerRepositoryClient.h" |
44 #include "weborigin/KURL.h" | 44 #include "platform/weborigin/KURL.h" |
45 #include "weborigin/SecurityOrigin.h" | 45 #include "platform/weborigin/SecurityOrigin.h" |
46 | 46 |
47 namespace WebCore { | 47 namespace WebCore { |
48 | 48 |
49 inline SharedWorker::SharedWorker(ExecutionContext* context) | 49 inline SharedWorker::SharedWorker(ExecutionContext* context) |
50 : AbstractWorker(context) | 50 : AbstractWorker(context) |
51 { | 51 { |
52 ScriptWrappable::init(this); | 52 ScriptWrappable::init(this); |
53 } | 53 } |
54 | 54 |
55 PassRefPtr<SharedWorker> SharedWorker::create(ExecutionContext* context, const S
tring& url, const String& name, ExceptionState& es) | 55 PassRefPtr<SharedWorker> SharedWorker::create(ExecutionContext* context, const S
tring& url, const String& name, ExceptionState& es) |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 SharedWorker::~SharedWorker() | 88 SharedWorker::~SharedWorker() |
89 { | 89 { |
90 } | 90 } |
91 | 91 |
92 const AtomicString& SharedWorker::interfaceName() const | 92 const AtomicString& SharedWorker::interfaceName() const |
93 { | 93 { |
94 return EventTargetNames::SharedWorker; | 94 return EventTargetNames::SharedWorker; |
95 } | 95 } |
96 | 96 |
97 } // namespace WebCore | 97 } // namespace WebCore |
OLD | NEW |