| 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 | 61 |
| 62 // Invoked to shutdown the worker when there are no more associated documents. | 62 // Invoked to shutdown the worker when there are no more associated documents. |
| 63 // This eventually deletes this instance. | 63 // This eventually deletes this instance. |
| 64 virtual void TerminateWorkerContext() = 0; | 64 virtual void TerminateWorkerContext() = 0; |
| 65 | 65 |
| 66 virtual void PauseWorkerContextOnStart() = 0; | 66 virtual void PauseWorkerContextOnStart() = 0; |
| 67 virtual void AttachDevTools(const WebString& host_id, int session_id) = 0; | 67 virtual void AttachDevTools(const WebString& host_id, int session_id) = 0; |
| 68 virtual void ReattachDevTools(const WebString& host_id, | 68 virtual void ReattachDevTools(const WebString& host_id, |
| 69 int session_id, | 69 int session_id, |
| 70 const WebString& saved_state) = 0; | 70 const WebString& saved_state) = 0; |
| 71 virtual void DetachDevTools() = 0; | 71 virtual void DetachDevTools(int session_id) = 0; |
| 72 virtual void DispatchDevToolsMessage(int session_id, | 72 virtual void DispatchDevToolsMessage(int session_id, |
| 73 int call_id, | 73 int call_id, |
| 74 const WebString& method, | 74 const WebString& method, |
| 75 const WebString& message) = 0; | 75 const WebString& message) = 0; |
| 76 }; | 76 }; |
| 77 | 77 |
| 78 } // namespace blink | 78 } // namespace blink |
| 79 | 79 |
| 80 #endif | 80 #endif |
| OLD | NEW |