OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google 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 are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 static DedicatedWorkerGlobalScope* create(DedicatedWorkerThread*, PassOwnPtr
<WorkerThreadStartupData>, double timeOrigin); | 49 static DedicatedWorkerGlobalScope* create(DedicatedWorkerThread*, PassOwnPtr
<WorkerThreadStartupData>, double timeOrigin); |
50 ~DedicatedWorkerGlobalScope() override; | 50 ~DedicatedWorkerGlobalScope() override; |
51 | 51 |
52 bool isDedicatedWorkerGlobalScope() const override { return true; } | 52 bool isDedicatedWorkerGlobalScope() const override { return true; } |
53 void countFeature(UseCounter::Feature) const override; | 53 void countFeature(UseCounter::Feature) const override; |
54 void countDeprecation(UseCounter::Feature) const override; | 54 void countDeprecation(UseCounter::Feature) const override; |
55 | 55 |
56 // EventTarget | 56 // EventTarget |
57 const AtomicString& interfaceName() const override; | 57 const AtomicString& interfaceName() const override; |
58 | 58 |
59 void postMessage(ExecutionContext*, PassRefPtr<SerializedScriptValue>, const
MessagePortArray*, ExceptionState&); | 59 void postMessage(ExecutionContext*, PassRefPtr<SerializedScriptValue>, const
MessagePortArray&, ExceptionState&); |
60 | 60 |
61 DEFINE_ATTRIBUTE_EVENT_LISTENER(message); | 61 DEFINE_ATTRIBUTE_EVENT_LISTENER(message); |
62 | 62 |
63 DedicatedWorkerThread* thread() const; | 63 DedicatedWorkerThread* thread() const; |
64 | 64 |
65 DECLARE_VIRTUAL_TRACE(); | 65 DECLARE_VIRTUAL_TRACE(); |
66 | 66 |
67 private: | 67 private: |
68 DedicatedWorkerGlobalScope(const KURL&, const String& userAgent, DedicatedWo
rkerThread*, double timeOrigin, PassOwnPtr<SecurityOrigin::PrivilegeData>, Worke
rClients*); | 68 DedicatedWorkerGlobalScope(const KURL&, const String& userAgent, DedicatedWo
rkerThread*, double timeOrigin, PassOwnPtr<SecurityOrigin::PrivilegeData>, Worke
rClients*); |
69 }; | 69 }; |
70 | 70 |
71 } // namespace blink | 71 } // namespace blink |
72 | 72 |
73 #endif // DedicatedWorkerGlobalScope_h | 73 #endif // DedicatedWorkerGlobalScope_h |
OLD | NEW |