OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 // first, and we need to update it | 63 // first, and we need to update it |
64 IPC_MESSAGE_ROUTED1(ViewMsg_CreatingNew_ACK, | 64 IPC_MESSAGE_ROUTED1(ViewMsg_CreatingNew_ACK, |
65 gfx::NativeViewId /* parent_hwnd */) | 65 gfx::NativeViewId /* parent_hwnd */) |
66 | 66 |
67 // Tells the render view to close. | 67 // Tells the render view to close. |
68 IPC_MESSAGE_ROUTED0(ViewMsg_Close) | 68 IPC_MESSAGE_ROUTED0(ViewMsg_Close) |
69 | 69 |
70 // Tells the render view to change its size. A ViewHostMsg_PaintRect message | 70 // Tells the render view to change its size. A ViewHostMsg_PaintRect message |
71 // is generated in response provided new_size is not empty and not equal to | 71 // is generated in response provided new_size is not empty and not equal to |
72 // the view's current size. The generated ViewHostMsg_PaintRect message will | 72 // the view's current size. The generated ViewHostMsg_PaintRect message will |
73 // have the IS_RESIZE_ACK flag set. | 73 // have the IS_RESIZE_ACK flag set. It also receives the resizer rect so that |
74 IPC_MESSAGE_ROUTED1(ViewMsg_Resize, | 74 // we don't have to fetch it every time WebKit asks for it. |
75 gfx::Size /* new_size */) | 75 IPC_MESSAGE_ROUTED2(ViewMsg_Resize, |
| 76 gfx::Size /* new_size */, |
| 77 gfx::Rect /* resizer_rect */) |
76 | 78 |
77 // Sent to inform the view that it was hidden. This allows it to reduce its | 79 // Sent to inform the view that it was hidden. This allows it to reduce its |
78 // resource utilization. | 80 // resource utilization. |
79 IPC_MESSAGE_ROUTED0(ViewMsg_WasHidden) | 81 IPC_MESSAGE_ROUTED0(ViewMsg_WasHidden) |
80 | 82 |
81 // Tells the render view that it is no longer hidden (see WasHidden), and the | 83 // Tells the render view that it is no longer hidden (see WasHidden), and the |
82 // render view is expected to respond with a full repaint if needs_repainting | 84 // render view is expected to respond with a full repaint if needs_repainting |
83 // is true. In that case, the generated ViewHostMsg_PaintRect message will | 85 // is true. In that case, the generated ViewHostMsg_PaintRect message will |
84 // have the IS_RESTORE_ACK flag set. If needs_repainting is false, then this | 86 // have the IS_RESTORE_ACK flag set. If needs_repainting is false, then this |
85 // message does not trigger a message in response. | 87 // message does not trigger a message in response. |
(...skipping 1015 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1101 | 1103 |
1102 // Get the list of proxies to use for |url|, as a semicolon delimited list | 1104 // Get the list of proxies to use for |url|, as a semicolon delimited list |
1103 // of "<TYPE> <HOST>:<PORT>" | "DIRECT". See also | 1105 // of "<TYPE> <HOST>:<PORT>" | "DIRECT". See also |
1104 // PluginProcessHostMsg_ResolveProxy which does the same thing. | 1106 // PluginProcessHostMsg_ResolveProxy which does the same thing. |
1105 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_ResolveProxy, | 1107 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_ResolveProxy, |
1106 GURL /* url */, | 1108 GURL /* url */, |
1107 int /* network error */, | 1109 int /* network error */, |
1108 std::string /* proxy list */) | 1110 std::string /* proxy list */) |
1109 | 1111 |
1110 IPC_END_MESSAGES(ViewHost) | 1112 IPC_END_MESSAGES(ViewHost) |
OLD | NEW |