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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 KURL m_url; | 167 KURL m_url; |
168 String m_userAgent; | 168 String m_userAgent; |
169 | 169 |
170 mutable RefPtrWillBeMember<WorkerConsole> m_console; | 170 mutable RefPtrWillBeMember<WorkerConsole> m_console; |
171 mutable RefPtrWillBeMember<WorkerLocation> m_location; | 171 mutable RefPtrWillBeMember<WorkerLocation> m_location; |
172 mutable RefPtrWillBeMember<WorkerNavigator> m_navigator; | 172 mutable RefPtrWillBeMember<WorkerNavigator> m_navigator; |
173 | 173 |
174 OwnPtr<WorkerScriptController> m_script; | 174 OwnPtr<WorkerScriptController> m_script; |
175 WorkerThread* m_thread; | 175 WorkerThread* m_thread; |
176 | 176 |
177 OwnPtr<WorkerInspectorController> m_workerInspectorController; | 177 OwnPtrWillBeMember<WorkerInspectorController> m_workerInspectorControlle
r; |
178 bool m_closing; | 178 bool m_closing; |
179 | 179 |
180 OwnPtrWillBeMember<WorkerEventQueue> m_eventQueue; | 180 OwnPtrWillBeMember<WorkerEventQueue> m_eventQueue; |
181 | 181 |
182 OwnPtrWillBeMember<WorkerClients> m_workerClients; | 182 OwnPtrWillBeMember<WorkerClients> m_workerClients; |
183 | 183 |
184 double m_timeOrigin; | 184 double m_timeOrigin; |
185 TerminationObserver* m_terminationObserver; | 185 TerminationObserver* m_terminationObserver; |
186 }; | 186 }; |
187 | 187 |
188 DEFINE_TYPE_CASTS(WorkerGlobalScope, ExecutionContext, context, context->isWorke
rGlobalScope(), context.isWorkerGlobalScope()); | 188 DEFINE_TYPE_CASTS(WorkerGlobalScope, ExecutionContext, context, context->isWorke
rGlobalScope(), context.isWorkerGlobalScope()); |
189 | 189 |
190 } // namespace WebCore | 190 } // namespace WebCore |
191 | 191 |
192 #endif // WorkerGlobalScope_h | 192 #endif // WorkerGlobalScope_h |
OLD | NEW |