| OLD | NEW |
| (Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 // Multiply-included file, no traditional include guard. |
| 6 #include "ipc/ipc_channel_handle.h" |
| 7 #include "ipc/ipc_message_macros.h" |
| 8 #include "ipc/ipc_platform_file.h" |
| 9 |
| 10 // Singly-included section for enums and custom IPC traits. |
| 11 #ifndef ANDROID_WEBVIEW_COMMON_RENDER_VIEW_MESSAGES_H_ |
| 12 #define ANDROID_WEBVIEW_COMMON_RENDER_VIEW_MESSAGES_H_ |
| 13 |
| 14 |
| 15 namespace IPC { |
| 16 |
| 17 // TODO - add enums and custom IPC traits here when needed. |
| 18 |
| 19 } // namespace IPC |
| 20 |
| 21 #endif // ANDROID_WEBVIEW_COMMON_RENDER_VIEW_MESSAGES_H_ |
| 22 |
| 23 #define IPC_MESSAGE_START AndroidWebViewMsgStart |
| 24 |
| 25 //----------------------------------------------------------------------------- |
| 26 // RenderView messages |
| 27 // These are messages sent from the browser to the renderer process. |
| 28 |
| 29 // Request for the renderer to determine if the document contains any image |
| 30 // elements. The id should be passed in the response message so the response |
| 31 // can be associated with the request. |
| 32 IPC_MESSAGE_ROUTED1(AwViewMsg_DocumentHasImages, |
| 33 int /* id */) |
| 34 |
| 35 //----------------------------------------------------------------------------- |
| 36 // RenderView messages |
| 37 // These are messages sent from the renderer to the browser process. |
| 38 |
| 39 // Response to AwViewMsg_DocumentHasImages request. |
| 40 IPC_MESSAGE_ROUTED2(AwViewHostMsg_DocumentHasImagesResponse, |
| 41 int, /* id */ |
| 42 bool /* has_images */) |
| 43 |
| OLD | NEW |