| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Message definition file, included multiple times, hence no include guard. | 5 // Message definition file, included multiple times, hence no include guard. |
| 6 | 6 |
| 7 #include <stdint.h> | 7 #include <stdint.h> |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 IPC_STRUCT_MEMBER(int, message_level) | 48 IPC_STRUCT_MEMBER(int, message_level) |
| 49 IPC_STRUCT_MEMBER(base::string16, message) | 49 IPC_STRUCT_MEMBER(base::string16, message) |
| 50 IPC_STRUCT_MEMBER(int, line_number) | 50 IPC_STRUCT_MEMBER(int, line_number) |
| 51 IPC_STRUCT_MEMBER(GURL, source_url) | 51 IPC_STRUCT_MEMBER(GURL, source_url) |
| 52 IPC_STRUCT_END() | 52 IPC_STRUCT_END() |
| 53 | 53 |
| 54 // Browser -> Renderer message to stop (terminate) the embedded worker. | 54 // Browser -> Renderer message to stop (terminate) the embedded worker. |
| 55 IPC_MESSAGE_CONTROL1(EmbeddedWorkerMsg_StopWorker, | 55 IPC_MESSAGE_CONTROL1(EmbeddedWorkerMsg_StopWorker, |
| 56 int /* embedded_worker_id */) | 56 int /* embedded_worker_id */) |
| 57 | 57 |
| 58 // Renderer -> Browser message to indicate that the worker is ready for | |
| 59 // inspection. | |
| 60 IPC_MESSAGE_CONTROL1(EmbeddedWorkerHostMsg_WorkerReadyForInspection, | |
| 61 int /* embedded_worker_id */) | |
| 62 | |
| 63 // Renderer -> Browser message to indicate that the worker has loaded the | 58 // Renderer -> Browser message to indicate that the worker has loaded the |
| 64 // script. | 59 // script. |
| 65 IPC_MESSAGE_CONTROL1(EmbeddedWorkerHostMsg_WorkerScriptLoaded, | 60 IPC_MESSAGE_CONTROL1(EmbeddedWorkerHostMsg_WorkerScriptLoaded, |
| 66 int /* embedded_worker_id */) | 61 int /* embedded_worker_id */) |
| 67 | 62 |
| 68 // Renderer -> Browser message to indicate that the worker thread is started. | 63 // Renderer -> Browser message to indicate that the worker thread is started. |
| 69 IPC_MESSAGE_CONTROL3(EmbeddedWorkerHostMsg_WorkerThreadStarted, | 64 IPC_MESSAGE_CONTROL3(EmbeddedWorkerHostMsg_WorkerThreadStarted, |
| 70 int /* embedded_worker_id */, | 65 int /* embedded_worker_id */, |
| 71 int /* thread_id */, | 66 int /* thread_id */, |
| 72 int /* provider_id */) | 67 int /* provider_id */) |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 // for this for easier cross-thread message dispatching. | 111 // for this for easier cross-thread message dispatching. |
| 117 | 112 |
| 118 #undef IPC_MESSAGE_START | 113 #undef IPC_MESSAGE_START |
| 119 #define IPC_MESSAGE_START EmbeddedWorkerContextMsgStart | 114 #define IPC_MESSAGE_START EmbeddedWorkerContextMsgStart |
| 120 | 115 |
| 121 // Browser -> Renderer message to send message. | 116 // Browser -> Renderer message to send message. |
| 122 IPC_MESSAGE_CONTROL3(EmbeddedWorkerContextMsg_MessageToWorker, | 117 IPC_MESSAGE_CONTROL3(EmbeddedWorkerContextMsg_MessageToWorker, |
| 123 int /* thread_id */, | 118 int /* thread_id */, |
| 124 int /* embedded_worker_id */, | 119 int /* embedded_worker_id */, |
| 125 IPC::Message /* message */) | 120 IPC::Message /* message */) |
| OLD | NEW |