OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 // IPC messages for page rendering. | 5 // IPC messages for page rendering. |
6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
7 | 7 |
8 #include "base/process.h" | 8 #include "base/process.h" |
9 #include "base/shared_memory.h" | 9 #include "base/shared_memory.h" |
10 #include "content/common/common_param_traits.h" | 10 #include "content/common/common_param_traits.h" |
(...skipping 1271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1282 // Message to show a popup menu using native cocoa controls (Mac only). | 1282 // Message to show a popup menu using native cocoa controls (Mac only). |
1283 IPC_MESSAGE_ROUTED1(ViewHostMsg_ShowPopup, | 1283 IPC_MESSAGE_ROUTED1(ViewHostMsg_ShowPopup, |
1284 ViewHostMsg_ShowPopup_Params) | 1284 ViewHostMsg_ShowPopup_Params) |
1285 | 1285 |
1286 // Response from ViewMsg_ScriptEvalRequest. The ID is the parameter supplied | 1286 // Response from ViewMsg_ScriptEvalRequest. The ID is the parameter supplied |
1287 // to ViewMsg_ScriptEvalRequest. The result has the value returned by the | 1287 // to ViewMsg_ScriptEvalRequest. The result has the value returned by the |
1288 // script as it's only element, one of Null, Boolean, Integer, Real, Date, or | 1288 // script as it's only element, one of Null, Boolean, Integer, Real, Date, or |
1289 // String. | 1289 // String. |
1290 IPC_MESSAGE_ROUTED2(ViewHostMsg_ScriptEvalResponse, | 1290 IPC_MESSAGE_ROUTED2(ViewHostMsg_ScriptEvalResponse, |
1291 int /* id */, | 1291 int /* id */, |
1292 ListValue /* result */) | 1292 base::ListValue /* result */) |
1293 | 1293 |
1294 // Result of string search in the page. | 1294 // Result of string search in the page. |
1295 // Response to ViewMsg_Find with the results of the requested find-in-page | 1295 // Response to ViewMsg_Find with the results of the requested find-in-page |
1296 // search, the number of matches found and the selection rect (in screen | 1296 // search, the number of matches found and the selection rect (in screen |
1297 // coordinates) for the string found. If |final_update| is false, it signals | 1297 // coordinates) for the string found. If |final_update| is false, it signals |
1298 // that this is not the last Find_Reply message - more will be sent as the | 1298 // that this is not the last Find_Reply message - more will be sent as the |
1299 // scoping effort continues. | 1299 // scoping effort continues. |
1300 IPC_MESSAGE_ROUTED5(ViewHostMsg_Find_Reply, | 1300 IPC_MESSAGE_ROUTED5(ViewHostMsg_Find_Reply, |
1301 int /* request_id */, | 1301 int /* request_id */, |
1302 int /* number of matches */, | 1302 int /* number of matches */, |
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1594 | 1594 |
1595 // Notifies that the preferred size of the content changed. | 1595 // Notifies that the preferred size of the content changed. |
1596 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidContentsPreferredSizeChange, | 1596 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidContentsPreferredSizeChange, |
1597 gfx::Size /* pref_size */) | 1597 gfx::Size /* pref_size */) |
1598 | 1598 |
1599 // A message from HTML-based UI. When (trusted) Javascript calls | 1599 // A message from HTML-based UI. When (trusted) Javascript calls |
1600 // send(message, args), this message is sent to the browser. | 1600 // send(message, args), this message is sent to the browser. |
1601 IPC_MESSAGE_ROUTED3(ViewHostMsg_WebUISend, | 1601 IPC_MESSAGE_ROUTED3(ViewHostMsg_WebUISend, |
1602 GURL /* source_url */, | 1602 GURL /* source_url */, |
1603 std::string /* message */, | 1603 std::string /* message */, |
1604 ListValue /* args */) | 1604 base::ListValue /* args */) |
1605 | 1605 |
1606 // A renderer sends this to the browser process when it wants to | 1606 // A renderer sends this to the browser process when it wants to |
1607 // create a ppapi plugin. The browser will create the plugin process if | 1607 // create a ppapi plugin. The browser will create the plugin process if |
1608 // necessary, and will return a handle to the channel on success. | 1608 // necessary, and will return a handle to the channel on success. |
1609 // On error an empty string is returned. | 1609 // On error an empty string is returned. |
1610 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_OpenChannelToPepperPlugin, | 1610 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_OpenChannelToPepperPlugin, |
1611 FilePath /* path */, | 1611 FilePath /* path */, |
1612 base::ProcessHandle /* plugin_process_handle */, | 1612 base::ProcessHandle /* plugin_process_handle */, |
1613 IPC::ChannelHandle /* handle to channel */) | 1613 IPC::ChannelHandle /* handle to channel */) |
1614 | 1614 |
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1956 std::string /* value */) | 1956 std::string /* value */) |
1957 | 1957 |
1958 // Send back a string to be recorded by UserMetrics. | 1958 // Send back a string to be recorded by UserMetrics. |
1959 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction, | 1959 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction, |
1960 std::string /* action */) | 1960 std::string /* action */) |
1961 | 1961 |
1962 // Provide the browser process with current renderer framerate. | 1962 // Provide the browser process with current renderer framerate. |
1963 IPC_MESSAGE_CONTROL2(ViewHostMsg_FPS, | 1963 IPC_MESSAGE_CONTROL2(ViewHostMsg_FPS, |
1964 int /* routing id */, | 1964 int /* routing id */, |
1965 float /* frames per second */) | 1965 float /* frames per second */) |
OLD | NEW |