| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 // This header is meant to be included in multiple passes, hence no traditional | 5 // This header is meant to be included in multiple passes, hence no traditional |
| 6 // header guard. | 6 // header guard. |
| 7 // See ipc_message_macros.h for explanation of the macros and passes. | 7 // See ipc_message_macros.h for explanation of the macros and passes. |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 // similar to the new command, but used when the renderer created a view | 86 // similar to the new command, but used when the renderer created a view |
| 87 // first, and we need to update it | 87 // first, and we need to update it |
| 88 IPC_MESSAGE_ROUTED1(ViewMsg_CreatingNew_ACK, | 88 IPC_MESSAGE_ROUTED1(ViewMsg_CreatingNew_ACK, |
| 89 gfx::NativeViewId /* parent_hwnd */) | 89 gfx::NativeViewId /* parent_hwnd */) |
| 90 | 90 |
| 91 // Sends updated preferences to the renderer. | 91 // Sends updated preferences to the renderer. |
| 92 IPC_MESSAGE_ROUTED1(ViewMsg_SetRendererPrefs, | 92 IPC_MESSAGE_ROUTED1(ViewMsg_SetRendererPrefs, |
| 93 RendererPreferences) | 93 RendererPreferences) |
| 94 | 94 |
| 95 // Tells the renderer to perform the given action on the media player | 95 // Tells the renderer to perform the given action on the media player |
| 96 // located at |x|, |y|. | 96 // located at the given point. |
| 97 IPC_MESSAGE_ROUTED3(ViewMsg_MediaPlayerActionAt, | 97 IPC_MESSAGE_ROUTED2(ViewMsg_MediaPlayerActionAt, |
| 98 int32 /* x */, | 98 gfx::Point, /* location */ |
| 99 int32 /* y */, | 99 WebKit::WebMediaPlayerAction) |
| 100 MediaPlayerAction) | |
| 101 | 100 |
| 102 // Tells the render view to close. | 101 // Tells the render view to close. |
| 103 IPC_MESSAGE_ROUTED0(ViewMsg_Close) | 102 IPC_MESSAGE_ROUTED0(ViewMsg_Close) |
| 104 | 103 |
| 105 // Tells the render view to change its size. A ViewHostMsg_PaintRect message | 104 // Tells the render view to change its size. A ViewHostMsg_PaintRect message |
| 106 // is generated in response provided new_size is not empty and not equal to | 105 // is generated in response provided new_size is not empty and not equal to |
| 107 // the view's current size. The generated ViewHostMsg_PaintRect message will | 106 // the view's current size. The generated ViewHostMsg_PaintRect message will |
| 108 // have the IS_RESIZE_ACK flag set. It also receives the resizer rect so that | 107 // have the IS_RESIZE_ACK flag set. It also receives the resizer rect so that |
| 109 // we don't have to fetch it every time WebKit asks for it. | 108 // we don't have to fetch it every time WebKit asks for it. |
| 110 IPC_MESSAGE_ROUTED2(ViewMsg_Resize, | 109 IPC_MESSAGE_ROUTED2(ViewMsg_Resize, |
| (...skipping 1723 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1834 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileAttributes, | 1833 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileAttributes, |
| 1835 FilePath /* the name of the file */, | 1834 FilePath /* the name of the file */, |
| 1836 int32 /* a unique message ID */) | 1835 int32 /* a unique message ID */) |
| 1837 | 1836 |
| 1838 // Asks the browser process to return the size of a DB file | 1837 // Asks the browser process to return the size of a DB file |
| 1839 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileSize, | 1838 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileSize, |
| 1840 FilePath /* the name of the file */, | 1839 FilePath /* the name of the file */, |
| 1841 int32 /* a unique message ID */) | 1840 int32 /* a unique message ID */) |
| 1842 | 1841 |
| 1843 IPC_END_MESSAGES(ViewHost) | 1842 IPC_END_MESSAGES(ViewHost) |
| OLD | NEW |