OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/memory/shared_memory.h" | 8 #include "base/memory/shared_memory.h" |
9 #include "base/process/process.h" | 9 #include "base/process/process.h" |
10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
(...skipping 1062 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1073 // finished. | 1073 // finished. |
1074 IPC_MESSAGE_ROUTED1(ViewHostMsg_DocumentAvailableInMainFrame, | 1074 IPC_MESSAGE_ROUTED1(ViewHostMsg_DocumentAvailableInMainFrame, |
1075 bool /* uses_temporary_zoom_level */) | 1075 bool /* uses_temporary_zoom_level */) |
1076 | 1076 |
1077 // Sent to update part of the view. In response to this message, the host | 1077 // Sent to update part of the view. In response to this message, the host |
1078 // generates a ViewMsg_UpdateRect_ACK message. | 1078 // generates a ViewMsg_UpdateRect_ACK message. |
1079 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateRect, | 1079 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateRect, |
1080 ViewHostMsg_UpdateRect_Params) | 1080 ViewHostMsg_UpdateRect_Params) |
1081 | 1081 |
1082 IPC_MESSAGE_ROUTED0(ViewHostMsg_Focus) | 1082 IPC_MESSAGE_ROUTED0(ViewHostMsg_Focus) |
1083 IPC_MESSAGE_ROUTED0(ViewHostMsg_Blur) | |
1084 | 1083 |
1085 // Message sent from renderer to the browser when focus changes inside the | 1084 // Message sent from renderer to the browser when focus changes inside the |
1086 // webpage. The first parameter says whether the newly focused element needs | 1085 // webpage. The first parameter says whether the newly focused element needs |
1087 // keyboard input (true for textfields, text areas and content editable divs). | 1086 // keyboard input (true for textfields, text areas and content editable divs). |
1088 // The second parameter is the node bounds relative to RenderWidgetHostView. | 1087 // The second parameter is the node bounds relative to RenderWidgetHostView. |
1089 IPC_MESSAGE_ROUTED2(ViewHostMsg_FocusedNodeChanged, | 1088 IPC_MESSAGE_ROUTED2(ViewHostMsg_FocusedNodeChanged, |
1090 bool /* is_editable_node */, | 1089 bool /* is_editable_node */, |
1091 gfx::Rect /* node_bounds */) | 1090 gfx::Rect /* node_bounds */) |
1092 | 1091 |
1093 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetCursor, content::WebCursor) | 1092 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetCursor, content::WebCursor) |
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1381 // Instructs the browser to start plugin IME. | 1380 // Instructs the browser to start plugin IME. |
1382 IPC_MESSAGE_ROUTED0(ViewHostMsg_StartPluginIme) | 1381 IPC_MESSAGE_ROUTED0(ViewHostMsg_StartPluginIme) |
1383 | 1382 |
1384 // Receives content of a web page as plain text. | 1383 // Receives content of a web page as plain text. |
1385 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string); | 1384 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string); |
1386 #endif | 1385 #endif |
1387 | 1386 |
1388 // Adding a new message? Stick to the sort order above: first platform | 1387 // Adding a new message? Stick to the sort order above: first platform |
1389 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1388 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1390 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1389 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |