OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2008, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008, 2009 Apple 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 | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 virtual EventTarget* errorEventTarget() override final; | 152 virtual EventTarget* errorEventTarget() override final; |
153 virtual void didUpdateSecurityOrigin() override final { } | 153 virtual void didUpdateSecurityOrigin() override final { } |
154 | 154 |
155 KURL m_url; | 155 KURL m_url; |
156 String m_userAgent; | 156 String m_userAgent; |
157 | 157 |
158 mutable RefPtrWillBeMember<WorkerConsole> m_console; | 158 mutable RefPtrWillBeMember<WorkerConsole> m_console; |
159 mutable RefPtrWillBeMember<WorkerLocation> m_location; | 159 mutable RefPtrWillBeMember<WorkerLocation> m_location; |
160 mutable RefPtrWillBeMember<WorkerNavigator> m_navigator; | 160 mutable RefPtrWillBeMember<WorkerNavigator> m_navigator; |
161 | 161 |
| 162 mutable UseCounter::CountBits m_deprecationWarningBits; |
| 163 |
162 OwnPtr<WorkerScriptController> m_script; | 164 OwnPtr<WorkerScriptController> m_script; |
163 WorkerThread* m_thread; | 165 WorkerThread* m_thread; |
164 | 166 |
165 RefPtrWillBeMember<WorkerInspectorController> m_workerInspectorController; | 167 RefPtrWillBeMember<WorkerInspectorController> m_workerInspectorController; |
166 bool m_closing; | 168 bool m_closing; |
167 | 169 |
168 OwnPtrWillBeMember<WorkerEventQueue> m_eventQueue; | 170 OwnPtrWillBeMember<WorkerEventQueue> m_eventQueue; |
169 | 171 |
170 OwnPtrWillBeMember<WorkerClients> m_workerClients; | 172 OwnPtrWillBeMember<WorkerClients> m_workerClients; |
171 | 173 |
172 DOMTimerCoordinator m_timers; | 174 DOMTimerCoordinator m_timers; |
173 | 175 |
174 double m_timeOrigin; | 176 double m_timeOrigin; |
175 | 177 |
176 OwnPtrWillBeMember<ConsoleMessageStorage> m_messageStorage; | 178 OwnPtrWillBeMember<ConsoleMessageStorage> m_messageStorage; |
177 | 179 |
178 unsigned long m_workerExceptionUniqueIdentifier; | 180 unsigned long m_workerExceptionUniqueIdentifier; |
179 WillBeHeapHashMap<unsigned long, RefPtrWillBeMember<ConsoleMessage>> m_pendi
ngMessages; | 181 WillBeHeapHashMap<unsigned long, RefPtrWillBeMember<ConsoleMessage>> m_pendi
ngMessages; |
180 }; | 182 }; |
181 | 183 |
182 DEFINE_TYPE_CASTS(WorkerGlobalScope, ExecutionContext, context, context->isWorke
rGlobalScope(), context.isWorkerGlobalScope()); | 184 DEFINE_TYPE_CASTS(WorkerGlobalScope, ExecutionContext, context, context->isWorke
rGlobalScope(), context.isWorkerGlobalScope()); |
183 | 185 |
184 } // namespace blink | 186 } // namespace blink |
185 | 187 |
186 #endif // WorkerGlobalScope_h | 188 #endif // WorkerGlobalScope_h |
OLD | NEW |