| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 1141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1152 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetTooltipText, | 1152 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetTooltipText, |
| 1153 base::string16 /* tooltip text string */, | 1153 base::string16 /* tooltip text string */, |
| 1154 blink::WebTextDirection /* text direction hint */) | 1154 blink::WebTextDirection /* text direction hint */) |
| 1155 | 1155 |
| 1156 // Notification that the text selection has changed. | 1156 // Notification that the text selection has changed. |
| 1157 // Note: The secound parameter is the character based offset of the | 1157 // Note: The secound parameter is the character based offset of the |
| 1158 // base::string16 | 1158 // base::string16 |
| 1159 // text in the document. | 1159 // text in the document. |
| 1160 IPC_MESSAGE_ROUTED3(ViewHostMsg_SelectionChanged, | 1160 IPC_MESSAGE_ROUTED3(ViewHostMsg_SelectionChanged, |
| 1161 base::string16 /* text covers the selection range */, | 1161 base::string16 /* text covers the selection range */, |
| 1162 size_t /* the offset of the text in the document */, | 1162 uint32_t /* the offset of the text in the document */, |
| 1163 gfx::Range /* selection range in the document */) | 1163 gfx::Range /* selection range in the document */) |
| 1164 | 1164 |
| 1165 // Notification that the selection bounds have changed. | 1165 // Notification that the selection bounds have changed. |
| 1166 IPC_MESSAGE_ROUTED1(ViewHostMsg_SelectionBoundsChanged, | 1166 IPC_MESSAGE_ROUTED1(ViewHostMsg_SelectionBoundsChanged, |
| 1167 ViewHostMsg_SelectionBounds_Params) | 1167 ViewHostMsg_SelectionBounds_Params) |
| 1168 | 1168 |
| 1169 // Asks the browser to display the file chooser. The result is returned in a | 1169 // Asks the browser to display the file chooser. The result is returned in a |
| 1170 // ViewMsg_RunFileChooserResponse message. | 1170 // ViewMsg_RunFileChooserResponse message. |
| 1171 IPC_MESSAGE_ROUTED1(ViewHostMsg_RunFileChooser, | 1171 IPC_MESSAGE_ROUTED1(ViewHostMsg_RunFileChooser, |
| 1172 content::FileChooserParams) | 1172 content::FileChooserParams) |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1328 // Instructs the browser to start plugin IME. | 1328 // Instructs the browser to start plugin IME. |
| 1329 IPC_MESSAGE_ROUTED0(ViewHostMsg_StartPluginIme) | 1329 IPC_MESSAGE_ROUTED0(ViewHostMsg_StartPluginIme) |
| 1330 | 1330 |
| 1331 // Receives content of a web page as plain text. | 1331 // Receives content of a web page as plain text. |
| 1332 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) | 1332 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) |
| 1333 #endif | 1333 #endif |
| 1334 | 1334 |
| 1335 // Adding a new message? Stick to the sort order above: first platform | 1335 // Adding a new message? Stick to the sort order above: first platform |
| 1336 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1336 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 1337 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1337 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |