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