| 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 1037 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1048 // Message sent from renderer to the browser when focus changes inside the | 1048 // Message sent from renderer to the browser when focus changes inside the |
| 1049 // webpage. The first parameter says whether the newly focused element needs | 1049 // webpage. The first parameter says whether the newly focused element needs |
| 1050 // keyboard input (true for textfields, text areas and content editable divs). | 1050 // keyboard input (true for textfields, text areas and content editable divs). |
| 1051 // The second parameter is the node bounds relative to RenderWidgetHostView. | 1051 // The second parameter is the node bounds relative to RenderWidgetHostView. |
| 1052 IPC_MESSAGE_ROUTED2(ViewHostMsg_FocusedNodeChanged, | 1052 IPC_MESSAGE_ROUTED2(ViewHostMsg_FocusedNodeChanged, |
| 1053 bool /* is_editable_node */, | 1053 bool /* is_editable_node */, |
| 1054 gfx::Rect /* node_bounds */) | 1054 gfx::Rect /* node_bounds */) |
| 1055 | 1055 |
| 1056 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetCursor, content::WebCursor) | 1056 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetCursor, content::WebCursor) |
| 1057 | 1057 |
| 1058 #if defined(OS_WIN) |
| 1059 IPC_MESSAGE_ROUTED1(ViewHostMsg_WindowlessPluginDummyWindowCreated, |
| 1060 gfx::NativeViewId /* dummy_activation_window */) |
| 1061 |
| 1062 IPC_MESSAGE_ROUTED1(ViewHostMsg_WindowlessPluginDummyWindowDestroyed, |
| 1063 gfx::NativeViewId /* dummy_activation_window */) |
| 1064 #endif |
| 1065 |
| 1058 // Get the list of proxies to use for |url|, as a semicolon delimited list | 1066 // Get the list of proxies to use for |url|, as a semicolon delimited list |
| 1059 // of "<TYPE> <HOST>:<PORT>" | "DIRECT". | 1067 // of "<TYPE> <HOST>:<PORT>" | "DIRECT". |
| 1060 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_ResolveProxy, | 1068 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_ResolveProxy, |
| 1061 GURL /* url */, | 1069 GURL /* url */, |
| 1062 bool /* result */, | 1070 bool /* result */, |
| 1063 std::string /* proxy list */) | 1071 std::string /* proxy list */) |
| 1064 | 1072 |
| 1065 // A renderer sends this to the browser process when it wants to create a | 1073 // A renderer sends this to the browser process when it wants to create a |
| 1066 // worker. The browser will create the worker process if necessary, and | 1074 // worker. The browser will create the worker process if necessary, and |
| 1067 // will return the route id on in the reply on success. On error returns | 1075 // will return the route id on in the reply on success. On error returns |
| (...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1313 // Instructs the browser to start plugin IME. | 1321 // Instructs the browser to start plugin IME. |
| 1314 IPC_MESSAGE_ROUTED0(ViewHostMsg_StartPluginIme) | 1322 IPC_MESSAGE_ROUTED0(ViewHostMsg_StartPluginIme) |
| 1315 | 1323 |
| 1316 // Receives content of a web page as plain text. | 1324 // Receives content of a web page as plain text. |
| 1317 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) | 1325 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) |
| 1318 #endif | 1326 #endif |
| 1319 | 1327 |
| 1320 // Adding a new message? Stick to the sort order above: first platform | 1328 // Adding a new message? Stick to the sort order above: first platform |
| 1321 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1329 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 1322 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1330 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |