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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 IPC_MESSAGE_ROUTED1(AwViewMsg_SetFixedLayoutSize, | 72 IPC_MESSAGE_ROUTED1(AwViewMsg_SetFixedLayoutSize, |
73 gfx::Size /* size */) | 73 gfx::Size /* size */) |
74 | 74 |
75 // Sets the base background color for this view. | 75 // Sets the base background color for this view. |
76 IPC_MESSAGE_ROUTED1(AwViewMsg_SetBackgroundColor, | 76 IPC_MESSAGE_ROUTED1(AwViewMsg_SetBackgroundColor, |
77 SkColor) | 77 SkColor) |
78 | 78 |
79 IPC_MESSAGE_CONTROL1(AwViewMsg_SetJsOnlineProperty, | 79 IPC_MESSAGE_CONTROL1(AwViewMsg_SetJsOnlineProperty, |
80 bool /* network_up */) | 80 bool /* network_up */) |
81 | 81 |
| 82 // Sent prior to making a navigation via loadUrl to make sure that |
| 83 // render thread isn't stuck in a loop induced by JavaScript code. |
| 84 IPC_MESSAGE_CONTROL0(AwViewMsg_CheckRenderThreadResponsiveness) |
| 85 |
82 //----------------------------------------------------------------------------- | 86 //----------------------------------------------------------------------------- |
83 // RenderView messages | 87 // RenderView messages |
84 // These are messages sent from the renderer to the browser process. | 88 // These are messages sent from the renderer to the browser process. |
85 | 89 |
86 // Response to AwViewMsg_DocumentHasImages request. | 90 // Response to AwViewMsg_DocumentHasImages request. |
87 IPC_MESSAGE_ROUTED2(AwViewHostMsg_DocumentHasImagesResponse, | 91 IPC_MESSAGE_ROUTED2(AwViewHostMsg_DocumentHasImagesResponse, |
88 int, /* id */ | 92 int, /* id */ |
89 bool /* has_images */) | 93 bool /* has_images */) |
90 | 94 |
91 // Response to AwViewMsg_DoHitTest. | 95 // Response to AwViewMsg_DoHitTest. |
(...skipping 16 matching lines...) Expand all Loading... |
108 // or creating a URLRequest for the main frame resource. | 112 // or creating a URLRequest for the main frame resource. |
109 IPC_SYNC_MESSAGE_CONTROL2_1(AwViewHostMsg_ShouldOverrideUrlLoading, | 113 IPC_SYNC_MESSAGE_CONTROL2_1(AwViewHostMsg_ShouldOverrideUrlLoading, |
110 int /* render_frame_id id */, | 114 int /* render_frame_id id */, |
111 base::string16 /* in - url */, | 115 base::string16 /* in - url */, |
112 bool /* out - result */) | 116 bool /* out - result */) |
113 | 117 |
114 // Sent when a subframe is created. | 118 // Sent when a subframe is created. |
115 IPC_MESSAGE_CONTROL2(AwViewHostMsg_SubFrameCreated, | 119 IPC_MESSAGE_CONTROL2(AwViewHostMsg_SubFrameCreated, |
116 int /* parent_render_frame_id */, | 120 int /* parent_render_frame_id */, |
117 int /* child_render_frame_id */) | 121 int /* child_render_frame_id */) |
OLD | NEW |