| 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 class SerializedScriptValue; | 44 class SerializedScriptValue; |
| 45 class SkBitmap; | 45 class SkBitmap; |
| 46 struct ThumbnailScore; | 46 struct ThumbnailScore; |
| 47 class WebCursor; | 47 class WebCursor; |
| 48 | 48 |
| 49 namespace IPC { | 49 namespace IPC { |
| 50 struct ChannelHandle; | 50 struct ChannelHandle; |
| 51 class Message; | 51 class Message; |
| 52 } | 52 } |
| 53 | 53 |
| 54 namespace file_util { |
| 55 struct FileInfo; |
| 56 } |
| 57 |
| 54 //----------------------------------------------------------------------------- | 58 //----------------------------------------------------------------------------- |
| 55 // RenderView messages | 59 // RenderView messages |
| 56 // These are messages sent from the browser to the renderer process. | 60 // These are messages sent from the browser to the renderer process. |
| 57 | 61 |
| 58 IPC_BEGIN_MESSAGES(View) | 62 IPC_BEGIN_MESSAGES(View) |
| 59 // Used typically when recovering from a crash. The new rendering process | 63 // Used typically when recovering from a crash. The new rendering process |
| 60 // sets its global "next page id" counter to the given value. | 64 // sets its global "next page id" counter to the given value. |
| 61 IPC_MESSAGE_CONTROL1(ViewMsg_SetNextPageID, | 65 IPC_MESSAGE_CONTROL1(ViewMsg_SetNextPageID, |
| 62 int32 /* next_page_id */) | 66 int32 /* next_page_id */) |
| 63 | 67 |
| (...skipping 939 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1003 ViewMsg_DeviceOrientationUpdated_Params) | 1007 ViewMsg_DeviceOrientationUpdated_Params) |
| 1004 | 1008 |
| 1005 // WebFrameClient::openFileSystem response messages. | 1009 // WebFrameClient::openFileSystem response messages. |
| 1006 IPC_MESSAGE_ROUTED4(ViewMsg_OpenFileSystemRequest_Complete, | 1010 IPC_MESSAGE_ROUTED4(ViewMsg_OpenFileSystemRequest_Complete, |
| 1007 int /* request_id */, | 1011 int /* request_id */, |
| 1008 bool /* accepted */, | 1012 bool /* accepted */, |
| 1009 string16 /* name */, | 1013 string16 /* name */, |
| 1010 string16 /* root_path */) | 1014 string16 /* root_path */) |
| 1011 | 1015 |
| 1012 // WebFileSystem response messages. | 1016 // WebFileSystem response messages. |
| 1013 IPC_MESSAGE_CONTROL1(ViewMsg_FileSystem_Succeeded, | 1017 IPC_MESSAGE_CONTROL1(ViewMsg_FileSystem_DidSucceed, |
| 1014 int /* request_id */) | 1018 int /* request_id */) |
| 1015 IPC_MESSAGE_CONTROL2(ViewMsg_FileSystem_Failed, | 1019 IPC_MESSAGE_CONTROL2(ViewMsg_FileSystem_DidReadMetadata, |
| 1016 int /* request_id */, | 1020 int /* request_id */, |
| 1017 int /* error_code */) | 1021 file_util::FileInfo) |
| 1022 IPC_MESSAGE_CONTROL1(ViewMsg_FileSystem_DidReadDirectory, |
| 1023 ViewMsg_FileSystem_DidReadDirectory_Params) |
| 1024 IPC_MESSAGE_CONTROL2(ViewMsg_FileSystem_DidFail, |
| 1025 int /* request_id */, |
| 1026 WebKit::WebFileError /* error_code */) |
| 1018 | 1027 |
| 1019 IPC_END_MESSAGES(View) | 1028 IPC_END_MESSAGES(View) |
| 1020 | 1029 |
| 1021 | 1030 |
| 1022 //----------------------------------------------------------------------------- | 1031 //----------------------------------------------------------------------------- |
| 1023 // TabContents messages | 1032 // TabContents messages |
| 1024 // These are messages sent from the renderer to the browser process. | 1033 // These are messages sent from the renderer to the browser process. |
| 1025 | 1034 |
| 1026 IPC_BEGIN_MESSAGES(ViewHost) | 1035 IPC_BEGIN_MESSAGES(ViewHost) |
| 1027 // Sent by the renderer when it is creating a new window. The browser creates | 1036 // Sent by the renderer when it is creating a new window. The browser creates |
| (...skipping 1674 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2702 // WebFrameClient::openFileSystem() message. | 2711 // WebFrameClient::openFileSystem() message. |
| 2703 IPC_MESSAGE_CONTROL1(ViewHostMsg_OpenFileSystemRequest, | 2712 IPC_MESSAGE_CONTROL1(ViewHostMsg_OpenFileSystemRequest, |
| 2704 ViewHostMsg_OpenFileSystemRequest_Params) | 2713 ViewHostMsg_OpenFileSystemRequest_Params) |
| 2705 | 2714 |
| 2706 // WebFileSystem::move() message. | 2715 // WebFileSystem::move() message. |
| 2707 IPC_MESSAGE_CONTROL3(ViewHostMsg_FileSystem_Move, | 2716 IPC_MESSAGE_CONTROL3(ViewHostMsg_FileSystem_Move, |
| 2708 int /* request_id */, | 2717 int /* request_id */, |
| 2709 string16 /* src path */, | 2718 string16 /* src path */, |
| 2710 string16 /* dest path */) | 2719 string16 /* dest path */) |
| 2711 | 2720 |
| 2721 // WebFileSystem::copy() message. |
| 2722 IPC_MESSAGE_CONTROL3(ViewHostMsg_FileSystem_Copy, |
| 2723 int /* request_id */, |
| 2724 string16 /* src path */, |
| 2725 string16 /* dest path */) |
| 2726 |
| 2727 // WebFileSystem::remove() message. |
| 2728 IPC_MESSAGE_CONTROL2(ViewHostMsg_FileSystem_Remove, |
| 2729 int /* request_id */, |
| 2730 string16 /* path */) |
| 2731 |
| 2732 // WebFileSystem::readMetadata() message. |
| 2733 IPC_MESSAGE_CONTROL2(ViewHostMsg_FileSystem_ReadMetadata, |
| 2734 int /* request_id */, |
| 2735 string16 /* path */) |
| 2736 |
| 2737 // WebFileSystem::create() message. |
| 2738 IPC_MESSAGE_CONTROL4(ViewHostMsg_FileSystem_Create, |
| 2739 int /* request_id */, |
| 2740 string16 /* path */, |
| 2741 bool /* exclusive */, |
| 2742 bool /* is_directory */) |
| 2743 |
| 2744 // WebFileSystem::exists() messages. |
| 2745 IPC_MESSAGE_CONTROL3(ViewHostMsg_FileSystem_Exists, |
| 2746 int /* request_id */, |
| 2747 string16 /* path */, |
| 2748 bool /* is_directory */) |
| 2749 |
| 2750 // WebFileSystem::readDirectory() message. |
| 2751 IPC_MESSAGE_CONTROL2(ViewHostMsg_FileSystem_ReadDirectory, |
| 2752 int /* request_id */, |
| 2753 string16 /* path */) |
| 2754 |
| 2712 IPC_END_MESSAGES(ViewHost) | 2755 IPC_END_MESSAGES(ViewHost) |
| OLD | NEW |