| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 OwnPtr<ServiceWorkerGlobalScopeProxy> m_workerGlobalScopeProxy; | 117 OwnPtr<ServiceWorkerGlobalScopeProxy> m_workerGlobalScopeProxy; |
| 118 OwnPtr<WorkerInspectorProxy> m_workerInspectorProxy; | 118 OwnPtr<WorkerInspectorProxy> m_workerInspectorProxy; |
| 119 | 119 |
| 120 // 'shadow page' - created to proxy loading requests from the worker. | 120 // 'shadow page' - created to proxy loading requests from the worker. |
| 121 // Both WebView and WebFrame objects are close()'ed (where they're | 121 // Both WebView and WebFrame objects are close()'ed (where they're |
| 122 // deref'ed) when this EmbeddedWorkerImpl is destructed, therefore they | 122 // deref'ed) when this EmbeddedWorkerImpl is destructed, therefore they |
| 123 // are guaranteed to exist while this object is around. | 123 // are guaranteed to exist while this object is around. |
| 124 WebView* m_webView; | 124 WebView* m_webView; |
| 125 WebLocalFrameImpl* m_mainFrame; | 125 WebLocalFrameImpl* m_mainFrame; |
| 126 | 126 |
| 127 bool m_loadingShadowPage; |
| 127 bool m_askedToTerminate; | 128 bool m_askedToTerminate; |
| 128 | 129 |
| 129 enum WaitingForDebuggerState { | 130 enum WaitingForDebuggerState { |
| 130 WaitingForDebuggerBeforeLoadingScript, | 131 WaitingForDebuggerBeforeLoadingScript, |
| 131 WaitingForDebuggerAfterScriptLoaded, | 132 WaitingForDebuggerAfterScriptLoaded, |
| 132 NotWaitingForDebugger | 133 NotWaitingForDebugger |
| 133 }; | 134 }; |
| 134 | 135 |
| 135 enum { | 136 enum { |
| 136 DontPauseAfterDownload, | 137 DontPauseAfterDownload, |
| 137 DoPauseAfterDownload, | 138 DoPauseAfterDownload, |
| 138 IsPausedAfterDownload | 139 IsPausedAfterDownload |
| 139 } m_pauseAfterDownloadState; | 140 } m_pauseAfterDownloadState; |
| 140 | 141 |
| 141 WaitingForDebuggerState m_waitingForDebuggerState; | 142 WaitingForDebuggerState m_waitingForDebuggerState; |
| 142 }; | 143 }; |
| 143 | 144 |
| 144 } // namespace blink | 145 } // namespace blink |
| 145 | 146 |
| 146 #endif // WebEmbeddedWorkerImpl_h | 147 #endif // WebEmbeddedWorkerImpl_h |
| OLD | NEW |