| 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 android_webview::AwHitTestData) | 97 android_webview::AwHitTestData) |
| 98 | 98 |
| 99 // Sent whenever the page scale factor (as seen by RenderView) is changed. | 99 // Sent whenever the page scale factor (as seen by RenderView) is changed. |
| 100 IPC_MESSAGE_ROUTED1(AwViewHostMsg_PageScaleFactorChanged, | 100 IPC_MESSAGE_ROUTED1(AwViewHostMsg_PageScaleFactorChanged, |
| 101 float /* page_scale_factor */) | 101 float /* page_scale_factor */) |
| 102 | 102 |
| 103 // Sent whenever the contents size (as seen by RenderView) is changed. | 103 // Sent whenever the contents size (as seen by RenderView) is changed. |
| 104 IPC_MESSAGE_ROUTED1(AwViewHostMsg_OnContentsSizeChanged, | 104 IPC_MESSAGE_ROUTED1(AwViewHostMsg_OnContentsSizeChanged, |
| 105 gfx::Size /* contents_size */) | 105 gfx::Size /* contents_size */) |
| 106 | 106 |
| 107 // Sent immediately before a top level navigation is initiated within Blink. | |
| 108 // There are some exlusions, the most important ones are it is not sent | |
| 109 // when creating a popup window, and not sent for application initiated | |
| 110 // navigations. See AwContentRendererClient::HandleNavigation for all | |
| 111 // cornercases. This is sent before updating the NavigationController state | |
| 112 // or creating a URLRequest for the main frame resource. | |
| 113 IPC_SYNC_MESSAGE_CONTROL5_1(AwViewHostMsg_ShouldOverrideUrlLoading, | |
| 114 int /* render_frame_id id */, | |
| 115 base::string16 /* in - url */, | |
| 116 bool /* in - has_user_gesture */, | |
| 117 bool /* in - is_redirect */, | |
| 118 bool /* in - is_main_frame */, | |
| 119 bool /* out - result */) | |
| 120 | |
| 121 // Sent when a subframe is created. | 107 // Sent when a subframe is created. |
| 122 IPC_MESSAGE_CONTROL2(AwViewHostMsg_SubFrameCreated, | 108 IPC_MESSAGE_CONTROL2(AwViewHostMsg_SubFrameCreated, |
| 123 int /* parent_render_frame_id */, | 109 int /* parent_render_frame_id */, |
| 124 int /* child_render_frame_id */) | 110 int /* child_render_frame_id */) |
| OLD | NEW |