| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google 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 are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 static void workerGlobalScopeClosedTask( | 166 static void workerGlobalScopeClosedTask( |
| 167 WebCore::ScriptExecutionContext*, | 167 WebCore::ScriptExecutionContext*, |
| 168 WebSharedWorkerImpl* thisPtr); | 168 WebSharedWorkerImpl* thisPtr); |
| 169 static void workerGlobalScopeDestroyedTask( | 169 static void workerGlobalScopeDestroyedTask( |
| 170 WebCore::ScriptExecutionContext*, | 170 WebCore::ScriptExecutionContext*, |
| 171 WebSharedWorkerImpl* thisPtr); | 171 WebSharedWorkerImpl* thisPtr); |
| 172 | 172 |
| 173 // 'shadow page' - created to proxy loading requests from the worker. | 173 // 'shadow page' - created to proxy loading requests from the worker. |
| 174 RefPtr<WebCore::ScriptExecutionContext> m_loadingDocument; | 174 RefPtr<WebCore::ScriptExecutionContext> m_loadingDocument; |
| 175 WebView* m_webView; | 175 WebView* m_webView; |
| 176 WebFrame* m_mainFrame; |
| 176 bool m_askedToTerminate; | 177 bool m_askedToTerminate; |
| 177 | 178 |
| 178 RefPtr<WebCore::WorkerThread> m_workerThread; | 179 RefPtr<WebCore::WorkerThread> m_workerThread; |
| 179 | 180 |
| 180 WebSharedWorkerClient* m_client; | 181 WebSharedWorkerClient* m_client; |
| 181 bool m_pauseWorkerContextOnStart; | 182 bool m_pauseWorkerContextOnStart; |
| 182 }; | 183 }; |
| 183 | 184 |
| 184 } // namespace WebKit | 185 } // namespace WebKit |
| 185 | 186 |
| 186 #endif | 187 #endif |
| OLD | NEW |