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 1130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1141 IPC_MESSAGE_ROUTED0(ViewMsg_WorkerCreated) | 1141 IPC_MESSAGE_ROUTED0(ViewMsg_WorkerCreated) |
1142 | 1142 |
1143 // The response to ViewHostMsg_AsyncOpenFile. | 1143 // The response to ViewHostMsg_AsyncOpenFile. |
1144 IPC_MESSAGE_ROUTED3(ViewMsg_AsyncOpenFile_ACK, | 1144 IPC_MESSAGE_ROUTED3(ViewMsg_AsyncOpenFile_ACK, |
1145 base::PlatformFileError /* error_code */, | 1145 base::PlatformFileError /* error_code */, |
1146 IPC::PlatformFileForTransit /* file descriptor */, | 1146 IPC::PlatformFileForTransit /* file descriptor */, |
1147 int /* message_id */) | 1147 int /* message_id */) |
1148 | 1148 |
1149 // Tells the renderer that the network state has changed and that | 1149 // Tells the renderer that the network state has changed and that |
1150 // window.navigator.onLine should be updated for all WebViews. | 1150 // window.navigator.onLine should be updated for all WebViews. |
1151 IPC_MESSAGE_CONTROL1(ViewMsg_NetworkStateChanged, | 1151 IPC_MESSAGE_ROUTED1(ViewMsg_NetworkStateChanged, |
1152 bool /* online */) | 1152 bool /* online */) |
1153 | 1153 |
1154 // Enable accessibility in the renderer process. | 1154 // Enable accessibility in the renderer process. |
1155 IPC_MESSAGE_ROUTED0(ViewMsg_EnableAccessibility) | 1155 IPC_MESSAGE_ROUTED0(ViewMsg_EnableAccessibility) |
1156 | 1156 |
1157 // Relay a request from assistive technology to set focus to a given node. | 1157 // Relay a request from assistive technology to set focus to a given node. |
1158 IPC_MESSAGE_ROUTED1(ViewMsg_SetAccessibilityFocus, | 1158 IPC_MESSAGE_ROUTED1(ViewMsg_SetAccessibilityFocus, |
1159 int /* object id */) | 1159 int /* object id */) |
1160 | 1160 |
1161 // Relay a request from assistive technology to perform the default action | 1161 // Relay a request from assistive technology to perform the default action |
1162 // on a given node. | 1162 // on a given node. |
(...skipping 792 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1955 std::string /* value */) | 1955 std::string /* value */) |
1956 | 1956 |
1957 // Send back a string to be recorded by UserMetrics. | 1957 // Send back a string to be recorded by UserMetrics. |
1958 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction, | 1958 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction, |
1959 std::string /* action */) | 1959 std::string /* action */) |
1960 | 1960 |
1961 // Provide the browser process with current renderer framerate. | 1961 // Provide the browser process with current renderer framerate. |
1962 IPC_MESSAGE_CONTROL2(ViewHostMsg_FPS, | 1962 IPC_MESSAGE_CONTROL2(ViewHostMsg_FPS, |
1963 int /* routing id */, | 1963 int /* routing id */, |
1964 float /* frames per second */) | 1964 float /* frames per second */) |
OLD | NEW |