| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 // This header is meant to be included in multiple passes, hence no traditional | 5 // This header is meant to be included in multiple passes, hence no traditional |
| 6 // header guard. | 6 // header guard. |
| 7 // See ipc_message_macros.h for explanation of the macros and passes. | 7 // See ipc_message_macros.h for explanation of the macros and passes. |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 1011 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1022 // the last message sent in response to a | 1022 // the last message sent in response to a |
| 1023 // ViewHostMsg_SpeechInput_StartRecognition. | 1023 // ViewHostMsg_SpeechInput_StartRecognition. |
| 1024 IPC_MESSAGE_ROUTED1(ViewMsg_SpeechInput_RecognitionComplete, | 1024 IPC_MESSAGE_ROUTED1(ViewMsg_SpeechInput_RecognitionComplete, |
| 1025 int /* request id */) | 1025 int /* request id */) |
| 1026 | 1026 |
| 1027 // Notification that the device's orientation has changed. | 1027 // Notification that the device's orientation has changed. |
| 1028 IPC_MESSAGE_ROUTED1(ViewMsg_DeviceOrientationUpdated, | 1028 IPC_MESSAGE_ROUTED1(ViewMsg_DeviceOrientationUpdated, |
| 1029 ViewMsg_DeviceOrientationUpdated_Params) | 1029 ViewMsg_DeviceOrientationUpdated_Params) |
| 1030 | 1030 |
| 1031 // WebFrameClient::openFileSystem response messages. | 1031 // WebFrameClient::openFileSystem response messages. |
| 1032 IPC_MESSAGE_ROUTED4(ViewMsg_OpenFileSystemRequest_Complete, | 1032 IPC_MESSAGE_CONTROL4(ViewMsg_OpenFileSystemRequest_Complete, |
| 1033 int /* request_id */, | 1033 int /* request_id */, |
| 1034 bool /* accepted */, | 1034 bool /* accepted */, |
| 1035 string16 /* name */, | 1035 std::string /* name */, |
| 1036 string16 /* root_path */) | 1036 FilePath /* root_path */) |
| 1037 | 1037 |
| 1038 // WebFileSystem response messages. | 1038 // WebFileSystem response messages. |
| 1039 IPC_MESSAGE_CONTROL1(ViewMsg_FileSystem_DidSucceed, | 1039 IPC_MESSAGE_CONTROL1(ViewMsg_FileSystem_DidSucceed, |
| 1040 int /* request_id */) | 1040 int /* request_id */) |
| 1041 IPC_MESSAGE_CONTROL2(ViewMsg_FileSystem_DidReadMetadata, | 1041 IPC_MESSAGE_CONTROL2(ViewMsg_FileSystem_DidReadMetadata, |
| 1042 int /* request_id */, | 1042 int /* request_id */, |
| 1043 base::PlatformFileInfo) | 1043 base::PlatformFileInfo) |
| 1044 IPC_MESSAGE_CONTROL3(ViewMsg_FileSystem_DidReadDirectory, | 1044 IPC_MESSAGE_CONTROL3(ViewMsg_FileSystem_DidReadDirectory, |
| 1045 int /* request_id */, | 1045 int /* request_id */, |
| 1046 std::vector<base::file_util_proxy::Entry> /* entries */, | 1046 std::vector<base::file_util_proxy::Entry> /* entries */, |
| (...skipping 1758 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2805 | 2805 |
| 2806 // A RenderView requests to stop receiving device orientation updates. | 2806 // A RenderView requests to stop receiving device orientation updates. |
| 2807 IPC_MESSAGE_CONTROL1(ViewHostMsg_DeviceOrientation_StopUpdating, | 2807 IPC_MESSAGE_CONTROL1(ViewHostMsg_DeviceOrientation_StopUpdating, |
| 2808 int /* render_view_id */) | 2808 int /* render_view_id */) |
| 2809 | 2809 |
| 2810 //--------------------------------------------------------------------------- | 2810 //--------------------------------------------------------------------------- |
| 2811 // FileSystem API messages | 2811 // FileSystem API messages |
| 2812 // These are messages sent from the renderer to the browser process. | 2812 // These are messages sent from the renderer to the browser process. |
| 2813 | 2813 |
| 2814 // WebFrameClient::openFileSystem() message. | 2814 // WebFrameClient::openFileSystem() message. |
| 2815 IPC_MESSAGE_CONTROL1(ViewHostMsg_OpenFileSystemRequest, | 2815 IPC_MESSAGE_CONTROL4(ViewHostMsg_OpenFileSystemRequest, |
| 2816 ViewHostMsg_OpenFileSystemRequest_Params) | 2816 int /* request_id */, |
| 2817 GURL /* origin_url */, |
| 2818 fileapi::FileSystemType /* type */, |
| 2819 int64 /* requested_size */) |
| 2817 | 2820 |
| 2818 // WebFileSystem::move() message. | 2821 // WebFileSystem::move() message. |
| 2819 IPC_MESSAGE_CONTROL3(ViewHostMsg_FileSystem_Move, | 2822 IPC_MESSAGE_CONTROL3(ViewHostMsg_FileSystem_Move, |
| 2820 int /* request_id */, | 2823 int /* request_id */, |
| 2821 FilePath /* src path */, | 2824 FilePath /* src path */, |
| 2822 FilePath /* dest path */) | 2825 FilePath /* dest path */) |
| 2823 | 2826 |
| 2824 // WebFileSystem::copy() message. | 2827 // WebFileSystem::copy() message. |
| 2825 IPC_MESSAGE_CONTROL3(ViewHostMsg_FileSystem_Copy, | 2828 IPC_MESSAGE_CONTROL3(ViewHostMsg_FileSystem_Copy, |
| 2826 int /* request_id */, | 2829 int /* request_id */, |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2873 // Unregister a blob URL. | 2876 // Unregister a blob URL. |
| 2874 IPC_MESSAGE_CONTROL1(ViewHostMsg_UnregisterBlobUrl, GURL /* url */) | 2877 IPC_MESSAGE_CONTROL1(ViewHostMsg_UnregisterBlobUrl, GURL /* url */) |
| 2875 | 2878 |
| 2876 // Suggest results ----------------------------------------------------------- | 2879 // Suggest results ----------------------------------------------------------- |
| 2877 | 2880 |
| 2878 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetSuggestResult, | 2881 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetSuggestResult, |
| 2879 int32 /* page_id */, | 2882 int32 /* page_id */, |
| 2880 std::string /* suggest */) | 2883 std::string /* suggest */) |
| 2881 | 2884 |
| 2882 IPC_END_MESSAGES(ViewHost) | 2885 IPC_END_MESSAGES(ViewHost) |
| OLD | NEW |