| 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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 mutable RefPtr<WorkerConsole> m_console; | 149 mutable RefPtr<WorkerConsole> m_console; |
| 150 mutable RefPtr<WorkerLocation> m_location; | 150 mutable RefPtr<WorkerLocation> m_location; |
| 151 mutable RefPtr<WorkerNavigator> m_navigator; | 151 mutable RefPtr<WorkerNavigator> m_navigator; |
| 152 | 152 |
| 153 OwnPtr<WorkerScriptController> m_script; | 153 OwnPtr<WorkerScriptController> m_script; |
| 154 WorkerThread* m_thread; | 154 WorkerThread* m_thread; |
| 155 | 155 |
| 156 OwnPtr<WorkerInspectorController> m_workerInspectorController; | 156 OwnPtr<WorkerInspectorController> m_workerInspectorController; |
| 157 bool m_closing; | 157 bool m_closing; |
| 158 | 158 |
| 159 HashSet<Observer*> m_workerObservers; | |
| 160 | |
| 161 OwnPtr<WorkerEventQueue> m_eventQueue; | 159 OwnPtr<WorkerEventQueue> m_eventQueue; |
| 162 | 160 |
| 163 OwnPtr<WorkerClients> m_workerClients; | 161 OwnPtr<WorkerClients> m_workerClients; |
| 164 | 162 |
| 165 double m_timeOrigin; | 163 double m_timeOrigin; |
| 166 }; | 164 }; |
| 167 | 165 |
| 168 DEFINE_TYPE_CASTS(WorkerGlobalScope, ExecutionContext, context, context->isWorke
rGlobalScope(), context.isWorkerGlobalScope()); | 166 DEFINE_TYPE_CASTS(WorkerGlobalScope, ExecutionContext, context, context->isWorke
rGlobalScope(), context.isWorkerGlobalScope()); |
| 169 | 167 |
| 170 } // namespace WebCore | 168 } // namespace WebCore |
| 171 | 169 |
| 172 #endif // WorkerGlobalScope_h | 170 #endif // WorkerGlobalScope_h |
| OLD | NEW |