| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 // This header is meant to be included in multiple passes, hence no traditional | 5 // This header is meant to be included in multiple passes, hence no traditional |
| 6 // header guard. | 6 // header guard. |
| 7 // See ipc_message_macros.h for explanation of the macros and passes. | 7 // See ipc_message_macros.h for explanation of the macros and passes. |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 // /html/body/div/iframe evaluates to an iframe within the level-1 iframe | 214 // /html/body/div/iframe evaluates to an iframe within the level-1 iframe |
| 215 // /frameset/frame[0] evaluates to first frame within the level-2 iframe | 215 // /frameset/frame[0] evaluates to first frame within the level-2 iframe |
| 216 // | 216 // |
| 217 // jscript_url is the string containing the javascript: url to be executed | 217 // jscript_url is the string containing the javascript: url to be executed |
| 218 // in the target frame's context. The string should start with "javascript:" | 218 // in the target frame's context. The string should start with "javascript:" |
| 219 // and continue with a valid JS text. | 219 // and continue with a valid JS text. |
| 220 IPC_MESSAGE_ROUTED2(ViewMsg_ScriptEvalRequest, | 220 IPC_MESSAGE_ROUTED2(ViewMsg_ScriptEvalRequest, |
| 221 std::wstring, /* frame_xpath */ | 221 std::wstring, /* frame_xpath */ |
| 222 std::wstring /* jscript_url */) | 222 std::wstring /* jscript_url */) |
| 223 | 223 |
| 224 // Request for the renderer to evaluate an xpath to a frame and insert css |
| 225 // into that frame's document. See ViewMsg_ScriptEvalRequest for details on |
| 226 // allowed xpath expressions. |
| 227 IPC_MESSAGE_ROUTED2(ViewMsg_CSSInsertRequest, |
| 228 std::wstring, /* frame_xpath */ |
| 229 std::string /* css string */) |
| 230 |
| 224 // Log a message to the console of the target frame | 231 // Log a message to the console of the target frame |
| 225 IPC_MESSAGE_ROUTED3(ViewMsg_AddMessageToConsole, | 232 IPC_MESSAGE_ROUTED3(ViewMsg_AddMessageToConsole, |
| 226 std::wstring, /* frame_xpath */ | 233 std::wstring, /* frame_xpath */ |
| 227 std::wstring, /* msg */ | 234 std::wstring, /* msg */ |
| 228 ConsoleMessageLevel /* level */) | 235 ConsoleMessageLevel /* level */) |
| 229 | 236 |
| 230 // Initialize the V8 debugger in the renderer. | 237 // Initialize the V8 debugger in the renderer. |
| 231 IPC_MESSAGE_ROUTED0(ViewMsg_DebugAttach) | 238 IPC_MESSAGE_ROUTED0(ViewMsg_DebugAttach) |
| 232 | 239 |
| 233 // Shutdown the V8 debugger in the renderer. | 240 // Shutdown the V8 debugger in the renderer. |
| (...skipping 991 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1225 | 1232 |
| 1226 // Wraps an IPC message that's destined to the worker on the renderer->browser | 1233 // Wraps an IPC message that's destined to the worker on the renderer->browser |
| 1227 // hop. | 1234 // hop. |
| 1228 IPC_MESSAGE_CONTROL1(ViewHostMsg_ForwardToWorker, | 1235 IPC_MESSAGE_CONTROL1(ViewHostMsg_ForwardToWorker, |
| 1229 IPC::Message /* message */) | 1236 IPC::Message /* message */) |
| 1230 | 1237 |
| 1231 // Notification when new feeds have been discovered on the page. | 1238 // Notification when new feeds have been discovered on the page. |
| 1232 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateFeedList, | 1239 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateFeedList, |
| 1233 ViewHostMsg_UpdateFeedList_Params) | 1240 ViewHostMsg_UpdateFeedList_Params) |
| 1234 IPC_END_MESSAGES(ViewHost) | 1241 IPC_END_MESSAGES(ViewHost) |
| OLD | NEW |