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