| 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 | 57 |
| 58 // Requests a new picture with the latest renderer contents synchronously. | 58 // Requests a new picture with the latest renderer contents synchronously. |
| 59 // This message blocks the browser process on the renderer until complete. | 59 // This message blocks the browser process on the renderer until complete. |
| 60 IPC_SYNC_MESSAGE_ROUTED0_0(AwViewMsg_CapturePictureSync) | 60 IPC_SYNC_MESSAGE_ROUTED0_0(AwViewMsg_CapturePictureSync) |
| 61 | 61 |
| 62 // Sets the zoom level for text only. Used in layout modes other than | 62 // Sets the zoom level for text only. Used in layout modes other than |
| 63 // Text Autosizing. | 63 // Text Autosizing. |
| 64 IPC_MESSAGE_ROUTED1(AwViewMsg_SetTextZoomLevel, | 64 IPC_MESSAGE_ROUTED1(AwViewMsg_SetTextZoomLevel, |
| 65 double /* zoom_level */) | 65 double /* zoom_level */) |
| 66 | 66 |
| 67 IPC_MESSAGE_ROUTED0(AwViewMsg_ResetScrollAndScaleState) |
| 68 |
| 67 //----------------------------------------------------------------------------- | 69 //----------------------------------------------------------------------------- |
| 68 // RenderView messages | 70 // RenderView messages |
| 69 // These are messages sent from the renderer to the browser process. | 71 // These are messages sent from the renderer to the browser process. |
| 70 | 72 |
| 71 // Response to AwViewMsg_DocumentHasImages request. | 73 // Response to AwViewMsg_DocumentHasImages request. |
| 72 IPC_MESSAGE_ROUTED2(AwViewHostMsg_DocumentHasImagesResponse, | 74 IPC_MESSAGE_ROUTED2(AwViewHostMsg_DocumentHasImagesResponse, |
| 73 int, /* id */ | 75 int, /* id */ |
| 74 bool /* has_images */) | 76 bool /* has_images */) |
| 75 | 77 |
| 76 // Response to AwViewMsg_DoHitTest. | 78 // Response to AwViewMsg_DoHitTest. |
| 77 IPC_MESSAGE_ROUTED1(AwViewHostMsg_UpdateHitTestData, | 79 IPC_MESSAGE_ROUTED1(AwViewHostMsg_UpdateHitTestData, |
| 78 android_webview::AwHitTestData) | 80 android_webview::AwHitTestData) |
| 79 | 81 |
| 80 // Notification that a new picture becomes available. It is only sent if | 82 // Notification that a new picture becomes available. It is only sent if |
| 81 // AwViewMsg_EnableCapturePictureCallback was previously enabled. | 83 // AwViewMsg_EnableCapturePictureCallback was previously enabled. |
| 82 IPC_MESSAGE_ROUTED0(AwViewHostMsg_PictureUpdated) | 84 IPC_MESSAGE_ROUTED0(AwViewHostMsg_PictureUpdated) |
| OLD | NEW |