| 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 IPC_MESSAGE_ROUTED1(AwViewMsg_SetInitialPageScale, | 70 IPC_MESSAGE_ROUTED1(AwViewMsg_SetInitialPageScale, |
| 71 double /* page_scale_factor */) | 71 double /* page_scale_factor */) |
| 72 | 72 |
| 73 // Sets the base background color for this view. | 73 // Sets the base background color for this view. |
| 74 IPC_MESSAGE_ROUTED1(AwViewMsg_SetBackgroundColor, | 74 IPC_MESSAGE_ROUTED1(AwViewMsg_SetBackgroundColor, |
| 75 SkColor) | 75 SkColor) |
| 76 | 76 |
| 77 IPC_MESSAGE_CONTROL1(AwViewMsg_SetJsOnlineProperty, | 77 IPC_MESSAGE_CONTROL1(AwViewMsg_SetJsOnlineProperty, |
| 78 bool /* network_up */) | 78 bool /* network_up */) |
| 79 | 79 |
| 80 // Tells blink to smooth scroll to the specified location within |duration_ms|. |
| 81 IPC_MESSAGE_ROUTED3(AwViewMsg_SmoothScroll, |
| 82 int /* target_x */, |
| 83 int /* target_y */, |
| 84 long /* duration_ms */); |
| 85 |
| 80 //----------------------------------------------------------------------------- | 86 //----------------------------------------------------------------------------- |
| 81 // RenderView messages | 87 // RenderView messages |
| 82 // These are messages sent from the renderer to the browser process. | 88 // These are messages sent from the renderer to the browser process. |
| 83 | 89 |
| 84 // Response to AwViewMsg_DocumentHasImages request. | 90 // Response to AwViewMsg_DocumentHasImages request. |
| 85 IPC_MESSAGE_ROUTED2(AwViewHostMsg_DocumentHasImagesResponse, | 91 IPC_MESSAGE_ROUTED2(AwViewHostMsg_DocumentHasImagesResponse, |
| 86 int, /* id */ | 92 int, /* id */ |
| 87 bool /* has_images */) | 93 bool /* has_images */) |
| 88 | 94 |
| 89 // Response to AwViewMsg_DoHitTest. | 95 // Response to AwViewMsg_DoHitTest. |
| 90 IPC_MESSAGE_ROUTED1(AwViewHostMsg_UpdateHitTestData, | 96 IPC_MESSAGE_ROUTED1(AwViewHostMsg_UpdateHitTestData, |
| 91 android_webview::AwHitTestData) | 97 android_webview::AwHitTestData) |
| 92 | 98 |
| 93 // 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. |
| 94 IPC_MESSAGE_ROUTED1(AwViewHostMsg_PageScaleFactorChanged, | 100 IPC_MESSAGE_ROUTED1(AwViewHostMsg_PageScaleFactorChanged, |
| 95 float /* page_scale_factor */) | 101 float /* page_scale_factor */) |
| 96 | 102 |
| 97 // Sent whenever the contents size (as seen by RenderView) is changed. | 103 // Sent whenever the contents size (as seen by RenderView) is changed. |
| 98 IPC_MESSAGE_ROUTED1(AwViewHostMsg_OnContentsSizeChanged, | 104 IPC_MESSAGE_ROUTED1(AwViewHostMsg_OnContentsSizeChanged, |
| 99 gfx::Size /* contents_size */) | 105 gfx::Size /* contents_size */) |
| 100 | 106 |
| 101 // Sent when a subframe is created. | 107 // Sent when a subframe is created. |
| 102 IPC_MESSAGE_CONTROL2(AwViewHostMsg_SubFrameCreated, | 108 IPC_MESSAGE_CONTROL2(AwViewHostMsg_SubFrameCreated, |
| 103 int /* parent_render_frame_id */, | 109 int /* parent_render_frame_id */, |
| 104 int /* child_render_frame_id */) | 110 int /* child_render_frame_id */) |
| OLD | NEW |