OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
304 // jscript_url is the string containing the javascript: url to be executed | 304 // jscript_url is the string containing the javascript: url to be executed |
305 // in the target frame's context. The string should start with "javascript:" | 305 // in the target frame's context. The string should start with "javascript:" |
306 // and continue with a valid JS text. | 306 // and continue with a valid JS text. |
307 IPC_MESSAGE_ROUTED2(ViewMsg_ScriptEvalRequest, | 307 IPC_MESSAGE_ROUTED2(ViewMsg_ScriptEvalRequest, |
308 std::wstring, /* frame_xpath */ | 308 std::wstring, /* frame_xpath */ |
309 std::wstring /* jscript_url */) | 309 std::wstring /* jscript_url */) |
310 | 310 |
311 // Request for the renderer to evaluate an xpath to a frame and insert css | 311 // Request for the renderer to evaluate an xpath to a frame and insert css |
312 // into that frame's document. See ViewMsg_ScriptEvalRequest for details on | 312 // into that frame's document. See ViewMsg_ScriptEvalRequest for details on |
313 // allowed xpath expressions. | 313 // allowed xpath expressions. |
314 IPC_MESSAGE_ROUTED2(ViewMsg_CSSInsertRequest, | 314 IPC_MESSAGE_ROUTED3(ViewMsg_CSSInsertRequest, |
315 std::wstring, /* frame_xpath */ | 315 std::wstring, /* frame_xpath */ |
316 std::string /* css string */) | 316 std::string, /* css string */ |
| 317 std::string /* element id */) |
317 | 318 |
318 // Log a message to the console of the target frame | 319 // Log a message to the console of the target frame |
319 IPC_MESSAGE_ROUTED3(ViewMsg_AddMessageToConsole, | 320 IPC_MESSAGE_ROUTED3(ViewMsg_AddMessageToConsole, |
320 string16 /* frame_xpath */, | 321 string16 /* frame_xpath */, |
321 string16 /* message */, | 322 string16 /* message */, |
322 WebKit::WebConsoleMessage::Level /* message_level */) | 323 WebKit::WebConsoleMessage::Level /* message_level */) |
323 | 324 |
324 // RenderViewHostDelegate::RenderViewCreated method sends this message to a | 325 // RenderViewHostDelegate::RenderViewCreated method sends this message to a |
325 // new renderer to notify it that it will host developer tools UI and should | 326 // new renderer to notify it that it will host developer tools UI and should |
326 // set up all neccessary bindings and create DevToolsClient instance that | 327 // set up all neccessary bindings and create DevToolsClient instance that |
(...skipping 1405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1732 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileAttributes, | 1733 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileAttributes, |
1733 FilePath /* the name of the file */, | 1734 FilePath /* the name of the file */, |
1734 int32 /* a unique message ID */) | 1735 int32 /* a unique message ID */) |
1735 | 1736 |
1736 // Asks the browser process to return the size of a DB file | 1737 // Asks the browser process to return the size of a DB file |
1737 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileSize, | 1738 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileSize, |
1738 FilePath /* the name of the file */, | 1739 FilePath /* the name of the file */, |
1739 int32 /* a unique message ID */) | 1740 int32 /* a unique message ID */) |
1740 | 1741 |
1741 IPC_END_MESSAGES(ViewHost) | 1742 IPC_END_MESSAGES(ViewHost) |
OLD | NEW |