Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(571)

Side by Side Diff: Source/web/WebSharedWorkerImpl.h

Issue 23506013: Make the embedder responsible for creating the WebFrame (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix lifetime on frame detach Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/web/WebHelperPluginImpl.cpp ('k') | Source/web/WebSharedWorkerImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « Source/web/WebHelperPluginImpl.cpp ('k') | Source/web/WebSharedWorkerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698