| 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 | 58 |
| 59 // Terminate all WebEmbeddedWorkerImpl for testing purposes. | 59 // Terminate all WebEmbeddedWorkerImpl for testing purposes. |
| 60 // Note that this only schedules termination and | 60 // Note that this only schedules termination and |
| 61 // does not synchronously wait for it to complete. | 61 // does not synchronously wait for it to complete. |
| 62 static void terminateAll(); | 62 static void terminateAll(); |
| 63 | 63 |
| 64 // WebEmbeddedWorker overrides. | 64 // WebEmbeddedWorker overrides. |
| 65 virtual void startWorkerContext(const WebEmbeddedWorkerStartData&) override; | 65 virtual void startWorkerContext(const WebEmbeddedWorkerStartData&) override; |
| 66 virtual void resumeAfterDownload() override; | 66 virtual void resumeAfterDownload() override; |
| 67 virtual void terminateWorkerContext() override; | 67 virtual void terminateWorkerContext() override; |
| 68 virtual void resumeWorkerContext() override; | |
| 69 virtual void attachDevTools(const WebString& hostId) override; | 68 virtual void attachDevTools(const WebString& hostId) override; |
| 70 virtual void reattachDevTools(const WebString& hostId, const WebString& save
dState) override; | 69 virtual void reattachDevTools(const WebString& hostId, const WebString& save
dState) override; |
| 71 virtual void detachDevTools() override; | 70 virtual void detachDevTools() override; |
| 72 virtual void dispatchDevToolsMessage(const WebString&) override; | 71 virtual void dispatchDevToolsMessage(const WebString&) override; |
| 73 | 72 |
| 74 void postMessageToPageInspector(const WTF::String&); | 73 void postMessageToPageInspector(const WTF::String&); |
| 75 | 74 |
| 76 private: | 75 private: |
| 77 class Loader; | 76 class Loader; |
| 78 class LoaderProxy; | 77 class LoaderProxy; |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 DoPauseAfterDownload, | 133 DoPauseAfterDownload, |
| 135 IsPausedAfterDownload | 134 IsPausedAfterDownload |
| 136 } m_pauseAfterDownloadState; | 135 } m_pauseAfterDownloadState; |
| 137 | 136 |
| 138 WaitingForDebuggerState m_waitingForDebuggerState; | 137 WaitingForDebuggerState m_waitingForDebuggerState; |
| 139 }; | 138 }; |
| 140 | 139 |
| 141 } // namespace blink | 140 } // namespace blink |
| 142 | 141 |
| 143 #endif // WebEmbeddedWorkerImpl_h | 142 #endif // WebEmbeddedWorkerImpl_h |
| OLD | NEW |