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 // Sent whenever the page scale factor (as seen by RenderView) is changed. | 93 // Sent whenever the page scale factor (as seen by RenderView) is changed. |
94 IPC_MESSAGE_ROUTED1(AwViewHostMsg_PageScaleFactorChanged, | 94 IPC_MESSAGE_ROUTED1(AwViewHostMsg_PageScaleFactorChanged, |
95 float /* page_scale_factor */) | 95 float /* page_scale_factor */) |
96 | 96 |
97 // Sent whenever the contents size (as seen by RenderView) is changed. | 97 // Sent whenever the contents size (as seen by RenderView) is changed. |
98 IPC_MESSAGE_ROUTED1(AwViewHostMsg_OnContentsSizeChanged, | 98 IPC_MESSAGE_ROUTED1(AwViewHostMsg_OnContentsSizeChanged, |
99 gfx::Size /* contents_size */) | 99 gfx::Size /* contents_size */) |
100 | 100 |
101 // Sent immediately before a top level navigation is initiated within Blink. | 101 // Sent immediately before a top level navigation is initiated within Blink. |
102 // There are some exlusions, the most important ones are it is not sent | 102 // There are some exlusions, the most important ones are it is not sent |
103 // when creating a popup window, and not sent for application initiated | 103 // when creating a popup window, and not sent for application initiated |
palmer
2015/07/09 20:21:59
Unless I'm not understanding something, I don't se
mnaganov (inactive)
2015/07/09 20:35:23
The comment says that this message *isn't sent* fo
| |
104 // navigations. See AwContentRendererClient::HandleNavigation for all | 104 // navigations. See AwContentRendererClient::HandleNavigation for all |
105 // cornercases. This is sent before updating the NavigationController state | 105 // cornercases. This is sent before updating the NavigationController state |
106 // or creating a URLRequest for the main frame resource. | 106 // or creating a URLRequest for the main frame resource. |
107 IPC_SYNC_MESSAGE_CONTROL2_1(AwViewHostMsg_ShouldOverrideUrlLoading, | 107 IPC_SYNC_MESSAGE_CONTROL4_1(AwViewHostMsg_ShouldOverrideUrlLoading, |
108 int /* render_frame_id id */, | 108 int /* render_frame_id id */, |
109 base::string16 /* in - url */, | 109 base::string16 /* in - url */, |
110 bool /* in - has_user_gesture */, | |
111 bool /* in - is_redirect */, | |
110 bool /* out - result */) | 112 bool /* out - result */) |
111 | 113 |
112 // Sent when a subframe is created. | 114 // Sent when a subframe is created. |
113 IPC_MESSAGE_CONTROL2(AwViewHostMsg_SubFrameCreated, | 115 IPC_MESSAGE_CONTROL2(AwViewHostMsg_SubFrameCreated, |
114 int /* parent_render_frame_id */, | 116 int /* parent_render_frame_id */, |
115 int /* child_render_frame_id */) | 117 int /* child_render_frame_id */) |
OLD | NEW |