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