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