| 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 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 301 // jscript_url is the string containing the javascript: url to be executed | 301 // jscript_url is the string containing the javascript: url to be executed |
| 302 // in the target frame's context. The string should start with "javascript:" | 302 // in the target frame's context. The string should start with "javascript:" |
| 303 // and continue with a valid JS text. | 303 // and continue with a valid JS text. |
| 304 IPC_MESSAGE_ROUTED2(ViewMsg_ScriptEvalRequest, | 304 IPC_MESSAGE_ROUTED2(ViewMsg_ScriptEvalRequest, |
| 305 std::wstring, /* frame_xpath */ | 305 std::wstring, /* frame_xpath */ |
| 306 std::wstring /* jscript_url */) | 306 std::wstring /* jscript_url */) |
| 307 | 307 |
| 308 // Request for the renderer to evaluate an xpath to a frame and insert css | 308 // Request for the renderer to evaluate an xpath to a frame and insert css |
| 309 // into that frame's document. See ViewMsg_ScriptEvalRequest for details on | 309 // into that frame's document. See ViewMsg_ScriptEvalRequest for details on |
| 310 // allowed xpath expressions. | 310 // allowed xpath expressions. |
| 311 IPC_MESSAGE_ROUTED2(ViewMsg_CSSInsertRequest, | 311 IPC_MESSAGE_ROUTED3(ViewMsg_CSSInsertRequest, |
| 312 std::wstring, /* frame_xpath */ | 312 std::wstring, /* frame_xpath */ |
| 313 std::string /* css string */) | 313 std::string, /* css string */ |
| 314 std::string /* element id */) |
| 314 | 315 |
| 315 // Log a message to the console of the target frame | 316 // Log a message to the console of the target frame |
| 316 IPC_MESSAGE_ROUTED3(ViewMsg_AddMessageToConsole, | 317 IPC_MESSAGE_ROUTED3(ViewMsg_AddMessageToConsole, |
| 317 string16 /* frame_xpath */, | 318 string16 /* frame_xpath */, |
| 318 string16 /* message */, | 319 string16 /* message */, |
| 319 WebKit::WebConsoleMessage::Level /* message_level */) | 320 WebKit::WebConsoleMessage::Level /* message_level */) |
| 320 | 321 |
| 321 // RenderViewHostDelegate::RenderViewCreated method sends this message to a | 322 // RenderViewHostDelegate::RenderViewCreated method sends this message to a |
| 322 // new renderer to notify it that it will host developer tools UI and should | 323 // new renderer to notify it that it will host developer tools UI and should |
| 323 // set up all neccessary bindings and create DevToolsClient instance that | 324 // set up all neccessary bindings and create DevToolsClient instance that |
| (...skipping 1397 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1721 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileAttributes, | 1722 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileAttributes, |
| 1722 FilePath /* the name of the file */, | 1723 FilePath /* the name of the file */, |
| 1723 int32 /* a unique message ID */) | 1724 int32 /* a unique message ID */) |
| 1724 | 1725 |
| 1725 // Asks the browser process to return the size of a DB file | 1726 // Asks the browser process to return the size of a DB file |
| 1726 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileSize, | 1727 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileSize, |
| 1727 FilePath /* the name of the file */, | 1728 FilePath /* the name of the file */, |
| 1728 int32 /* a unique message ID */) | 1729 int32 /* a unique message ID */) |
| 1729 | 1730 |
| 1730 IPC_END_MESSAGES(ViewHost) | 1731 IPC_END_MESSAGES(ViewHost) |
| OLD | NEW |