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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 const WebString& contentSecurityPolicy, | 55 const WebString& contentSecurityPolicy, |
56 WebContentSecurityPolicyType) = 0; | 56 WebContentSecurityPolicyType) = 0; |
57 | 57 |
58 // Sends a connect event to the SharedWorker context. | 58 // Sends a connect event to the SharedWorker context. |
59 virtual void connect(WebMessagePortChannel*) = 0; | 59 virtual void connect(WebMessagePortChannel*) = 0; |
60 | 60 |
61 // Invoked to shutdown the worker when there are no more associated document
s. This eventually deletes this instance. | 61 // Invoked to shutdown the worker when there are no more associated document
s. This eventually deletes this instance. |
62 virtual void terminateWorkerContext() = 0; | 62 virtual void terminateWorkerContext() = 0; |
63 | 63 |
64 virtual void pauseWorkerContextOnStart() = 0; | 64 virtual void pauseWorkerContextOnStart() = 0; |
65 virtual void attachDevTools(const WebString& hostId) = 0; | 65 virtual void attachDevTools(const WebString& hostId, int sessionId) = 0; |
66 virtual void reattachDevTools(const WebString& hostId, const WebString& save
dState) = 0; | 66 virtual void reattachDevTools(const WebString& hostId, int sessionId, const
WebString& savedState) = 0; |
67 virtual void detachDevTools() = 0; | 67 virtual void detachDevTools() = 0; |
68 virtual void dispatchDevToolsMessage(const WebString&) = 0; | 68 virtual void dispatchDevToolsMessage(int sessionId, const WebString&) = 0; |
69 }; | 69 }; |
70 | 70 |
71 } // namespace blink | 71 } // namespace blink |
72 | 72 |
73 #endif | 73 #endif |
OLD | NEW |