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 17 matching lines...) Expand all Loading... |
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
29 */ | 29 */ |
30 | 30 |
31 #ifndef WebSharedWorker_h | 31 #ifndef WebSharedWorker_h |
32 #define WebSharedWorker_h | 32 #define WebSharedWorker_h |
33 | 33 |
34 #include "../platform/WebCommon.h" | 34 #include "../platform/WebCommon.h" |
35 #include "WebContentSecurityPolicy.h" | 35 #include "WebContentSecurityPolicy.h" |
36 | 36 |
37 namespace blink { | 37 namespace blink { |
38 class ScriptExecutionContext; | |
39 } | |
40 | |
41 namespace blink { | |
42 | 38 |
43 class WebString; | 39 class WebString; |
44 class WebMessagePortChannel; | 40 class WebMessagePortChannel; |
45 class WebSharedWorkerClient; | 41 class WebSharedWorkerClient; |
46 class WebURL; | 42 class WebURL; |
47 | 43 |
48 // This is the interface to a SharedWorker thread. | 44 // This is the interface to a SharedWorker thread. |
49 class WebSharedWorker { | 45 class WebSharedWorker { |
50 public: | 46 public: |
51 // Invoked from the worker thread to instantiate a WebSharedWorker that inte
racts with the WebKit worker components. | 47 // Invoked from the worker thread to instantiate a WebSharedWorker that inte
racts with the WebKit worker components. |
(...skipping 18 matching lines...) Expand all Loading... |
70 virtual void resumeWorkerContext() = 0; | 66 virtual void resumeWorkerContext() = 0; |
71 virtual void attachDevTools() = 0; | 67 virtual void attachDevTools() = 0; |
72 virtual void reattachDevTools(const WebString& savedState) = 0; | 68 virtual void reattachDevTools(const WebString& savedState) = 0; |
73 virtual void detachDevTools() = 0; | 69 virtual void detachDevTools() = 0; |
74 virtual void dispatchDevToolsMessage(const WebString&) = 0; | 70 virtual void dispatchDevToolsMessage(const WebString&) = 0; |
75 }; | 71 }; |
76 | 72 |
77 } // namespace blink | 73 } // namespace blink |
78 | 74 |
79 #endif | 75 #endif |
OLD | NEW |