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 // Multiply-included file, no traditional include guard. | 5 // Multiply-included file, no traditional include guard. |
6 #include "android_webview/common/aw_hit_test_data.h" | 6 #include "android_webview/common/aw_hit_test_data.h" |
7 #include "content/public/common/common_param_traits.h" | 7 #include "content/public/common/common_param_traits.h" |
8 #include "ipc/ipc_channel_handle.h" | 8 #include "ipc/ipc_channel_handle.h" |
9 #include "ipc/ipc_message_macros.h" | 9 #include "ipc/ipc_message_macros.h" |
10 #include "ipc/ipc_platform_file.h" | 10 #include "ipc/ipc_platform_file.h" |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 bool /* has_images */) | 93 bool /* has_images */) |
94 | 94 |
95 // Response to AwViewMsg_DoHitTest. | 95 // Response to AwViewMsg_DoHitTest. |
96 IPC_MESSAGE_ROUTED1(AwViewHostMsg_UpdateHitTestData, | 96 IPC_MESSAGE_ROUTED1(AwViewHostMsg_UpdateHitTestData, |
97 android_webview::AwHitTestData) | 97 android_webview::AwHitTestData) |
98 | 98 |
99 // Sent whenever the contents size (as seen by RenderView) is changed. | 99 // Sent whenever the contents size (as seen by RenderView) is changed. |
100 IPC_MESSAGE_ROUTED1(AwViewHostMsg_OnContentsSizeChanged, | 100 IPC_MESSAGE_ROUTED1(AwViewHostMsg_OnContentsSizeChanged, |
101 gfx::Size /* contents_size */) | 101 gfx::Size /* contents_size */) |
102 | 102 |
| 103 // Sent immediately before a top level navigation is initiated within Blink. |
| 104 // There are some exlusions, the most important ones are it is not sent |
| 105 // when creating a popup window, and not sent for application initiated |
| 106 // navigations. See AwContentRendererClient::HandleNavigation for all |
| 107 // cornercases. This is sent before updating the NavigationController state |
| 108 // or creating a URLRequest for the main frame resource. |
| 109 IPC_SYNC_MESSAGE_CONTROL5_1(AwViewHostMsg_ShouldOverrideUrlLoading, |
| 110 int /* render_frame_id id */, |
| 111 base::string16 /* in - url */, |
| 112 bool /* in - has_user_gesture */, |
| 113 bool /* in - is_redirect */, |
| 114 bool /* in - is_main_frame */, |
| 115 bool /* out - result */) |
| 116 |
103 // Sent when a subframe is created. | 117 // Sent when a subframe is created. |
104 IPC_MESSAGE_CONTROL2(AwViewHostMsg_SubFrameCreated, | 118 IPC_MESSAGE_CONTROL2(AwViewHostMsg_SubFrameCreated, |
105 int /* parent_render_frame_id */, | 119 int /* parent_render_frame_id */, |
106 int /* child_render_frame_id */) | 120 int /* child_render_frame_id */) |
OLD | NEW |