| 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 937 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 948 // client can uniquely identify the request. | 948 // client can uniquely identify the request. |
| 949 IPC_MESSAGE_ROUTED4(ViewMsg_ScriptEvalRequest, | 949 IPC_MESSAGE_ROUTED4(ViewMsg_ScriptEvalRequest, |
| 950 string16, /* frame_xpath */ | 950 string16, /* frame_xpath */ |
| 951 string16, /* jscript_url */ | 951 string16, /* jscript_url */ |
| 952 int, /* ID */ | 952 int, /* ID */ |
| 953 bool /* If true, result is sent back. */) | 953 bool /* If true, result is sent back. */) |
| 954 | 954 |
| 955 // Request for the renderer to evaluate an xpath to a frame and insert css | 955 // Request for the renderer to evaluate an xpath to a frame and insert css |
| 956 // into that frame's document. See ViewMsg_ScriptEvalRequest for details on | 956 // into that frame's document. See ViewMsg_ScriptEvalRequest for details on |
| 957 // allowed xpath expressions. | 957 // allowed xpath expressions. |
| 958 IPC_MESSAGE_ROUTED3(ViewMsg_CSSInsertRequest, | 958 IPC_MESSAGE_ROUTED2(ViewMsg_CSSInsertRequest, |
| 959 std::wstring, /* frame_xpath */ | 959 std::wstring, /* frame_xpath */ |
| 960 std::string, /* css string */ | 960 std::string /* css string */) |
| 961 std::string /* element id */) | |
| 962 | 961 |
| 963 // External popup menus. | 962 // External popup menus. |
| 964 IPC_MESSAGE_ROUTED1(ViewMsg_SelectPopupMenuItem, | 963 IPC_MESSAGE_ROUTED1(ViewMsg_SelectPopupMenuItem, |
| 965 int /* selected index, -1 means no selection */) | 964 int /* selected index, -1 means no selection */) |
| 966 | 965 |
| 967 // Change the zoom level for the current main frame. If the level actually | 966 // Change the zoom level for the current main frame. If the level actually |
| 968 // changes, a ViewHostMsg_DidZoomURL message will be sent back to the browser | 967 // changes, a ViewHostMsg_DidZoomURL message will be sent back to the browser |
| 969 // telling it what url got zoomed and what its current zoom level is. | 968 // telling it what url got zoomed and what its current zoom level is. |
| 970 IPC_MESSAGE_ROUTED1(ViewMsg_Zoom, | 969 IPC_MESSAGE_ROUTED1(ViewMsg_Zoom, |
| 971 PageZoom::Function /* function */) | 970 PageZoom::Function /* function */) |
| (...skipping 1002 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1974 | 1973 |
| 1975 // Provide the browser process with current renderer framerate. | 1974 // Provide the browser process with current renderer framerate. |
| 1976 IPC_MESSAGE_CONTROL2(ViewHostMsg_FPS, | 1975 IPC_MESSAGE_CONTROL2(ViewHostMsg_FPS, |
| 1977 int /* routing id */, | 1976 int /* routing id */, |
| 1978 float /* frames per second */) | 1977 float /* frames per second */) |
| 1979 | 1978 |
| 1980 // Notifies the browser that the page was or was not saved as MHTML. | 1979 // Notifies the browser that the page was or was not saved as MHTML. |
| 1981 IPC_MESSAGE_CONTROL2(ViewHostMsg_SavedPageAsMHTML, | 1980 IPC_MESSAGE_CONTROL2(ViewHostMsg_SavedPageAsMHTML, |
| 1982 int /* job_id */, | 1981 int /* job_id */, |
| 1983 bool /* success */) | 1982 bool /* success */) |
| OLD | NEW |