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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 | 56 |
57 // Starts and terminates WorkerThread and WorkerGlobalScope. | 57 // Starts and terminates WorkerThread and WorkerGlobalScope. |
58 virtual void startWorkerContext(const WebEmbeddedWorkerStartData&) = 0; | 58 virtual void startWorkerContext(const WebEmbeddedWorkerStartData&) = 0; |
59 virtual void terminateWorkerContext() = 0; | 59 virtual void terminateWorkerContext() = 0; |
60 | 60 |
61 // Resumes starting a worker startup that was paused via | 61 // Resumes starting a worker startup that was paused via |
62 // WebEmbeddedWorkerStartData.pauseAfterDownloadMode. | 62 // WebEmbeddedWorkerStartData.pauseAfterDownloadMode. |
63 virtual void resumeAfterDownload() = 0; | 63 virtual void resumeAfterDownload() = 0; |
64 | 64 |
65 // Inspector related methods. | 65 // Inspector related methods. |
66 virtual void resumeWorkerContext() = 0; | |
67 virtual void attachDevTools(const WebString& hostId) = 0; | 66 virtual void attachDevTools(const WebString& hostId) = 0; |
68 virtual void reattachDevTools(const WebString& hostId, const WebString& save
dState) = 0; | 67 virtual void reattachDevTools(const WebString& hostId, const WebString& save
dState) = 0; |
69 virtual void detachDevTools() = 0; | 68 virtual void detachDevTools() = 0; |
70 virtual void dispatchDevToolsMessage(const WebString&) = 0; | 69 virtual void dispatchDevToolsMessage(const WebString&) = 0; |
71 }; | 70 }; |
72 | 71 |
73 } // namespace blink | 72 } // namespace blink |
74 | 73 |
75 #endif // WebEmbeddedWorker_h | 74 #endif // WebEmbeddedWorker_h |
OLD | NEW |