| 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 #include <map> | 5 #include <map> |
| 6 #include <string> | 6 #include <string> |
| 7 #include <vector> | 7 #include <vector> |
| 8 | 8 |
| 9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
| 10 | 10 |
| (...skipping 1913 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1924 // message. The parameters are just echoed from the ClosePage request. | 1924 // message. The parameters are just echoed from the ClosePage request. |
| 1925 IPC_MESSAGE_ROUTED1(ViewHostMsg_ClosePage_ACK, | 1925 IPC_MESSAGE_ROUTED1(ViewHostMsg_ClosePage_ACK, |
| 1926 ViewMsg_ClosePage_Params) | 1926 ViewMsg_ClosePage_Params) |
| 1927 | 1927 |
| 1928 IPC_MESSAGE_ROUTED4(ViewHostMsg_DidDownloadFavIcon, | 1928 IPC_MESSAGE_ROUTED4(ViewHostMsg_DidDownloadFavIcon, |
| 1929 int /* Identifier of the request */, | 1929 int /* Identifier of the request */, |
| 1930 GURL /* URL of the image */, | 1930 GURL /* URL of the image */, |
| 1931 bool /* true if there was a network error */, | 1931 bool /* true if there was a network error */, |
| 1932 SkBitmap /* image_data */) | 1932 SkBitmap /* image_data */) |
| 1933 | 1933 |
| 1934 // Sent to query MIME information. | |
| 1935 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_GetMimeTypeFromExtension, | |
| 1936 FilePath::StringType /* extension */, | |
| 1937 std::string /* mime_type */) | |
| 1938 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_GetMimeTypeFromFile, | |
| 1939 FilePath /* file_path */, | |
| 1940 std::string /* mime_type */) | |
| 1941 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_GetPreferredExtensionForMimeType, | |
| 1942 std::string /* mime_type */, | |
| 1943 FilePath::StringType /* extension */) | |
| 1944 | |
| 1945 // Get the CPBrowsingContext associated with the renderer sending this | 1934 // Get the CPBrowsingContext associated with the renderer sending this |
| 1946 // message. | 1935 // message. |
| 1947 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetCPBrowsingContext, | 1936 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetCPBrowsingContext, |
| 1948 uint32 /* context */) | 1937 uint32 /* context */) |
| 1949 | 1938 |
| 1950 // Sent when the renderer process is done processing a DataReceived | 1939 // Sent when the renderer process is done processing a DataReceived |
| 1951 // message. | 1940 // message. |
| 1952 IPC_MESSAGE_ROUTED1(ViewHostMsg_DataReceived_ACK, | 1941 IPC_MESSAGE_ROUTED1(ViewHostMsg_DataReceived_ACK, |
| 1953 int /* request_id */) | 1942 int /* request_id */) |
| 1954 | 1943 |
| (...skipping 698 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2653 int32 /* idb_transaction_id */) | 2642 int32 /* idb_transaction_id */) |
| 2654 | 2643 |
| 2655 // IDBTransaction::DidCompleteTaskEvents() message. | 2644 // IDBTransaction::DidCompleteTaskEvents() message. |
| 2656 IPC_MESSAGE_CONTROL1(ViewHostMsg_IDBTransactionDidCompleteTaskEvents, | 2645 IPC_MESSAGE_CONTROL1(ViewHostMsg_IDBTransactionDidCompleteTaskEvents, |
| 2657 int32 /* idb_transaction_id */) | 2646 int32 /* idb_transaction_id */) |
| 2658 | 2647 |
| 2659 // WebIDBTransaction::~WebIDBTransaction() message. | 2648 // WebIDBTransaction::~WebIDBTransaction() message. |
| 2660 IPC_MESSAGE_CONTROL1(ViewHostMsg_IDBTransactionDestroyed, | 2649 IPC_MESSAGE_CONTROL1(ViewHostMsg_IDBTransactionDestroyed, |
| 2661 int32 /* idb_transaction_id */) | 2650 int32 /* idb_transaction_id */) |
| 2662 | 2651 |
| 2663 // Get file size in bytes. Set result to -1 if failed to get the file size. | |
| 2664 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_GetFileSize, | |
| 2665 FilePath /* path */, | |
| 2666 int64 /* result */) | |
| 2667 | |
| 2668 // Get file modification time in seconds. Set result to 0 if failed to get the | |
| 2669 // file modification time. | |
| 2670 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_GetFileModificationTime, | |
| 2671 FilePath /* path */, | |
| 2672 base::Time /* result */) | |
| 2673 | |
| 2674 // Open the file. | |
| 2675 IPC_SYNC_MESSAGE_CONTROL2_1(ViewHostMsg_OpenFile, | |
| 2676 FilePath /* path */, | |
| 2677 int /* mode */, | |
| 2678 IPC::PlatformFileForTransit /* result */) | |
| 2679 | |
| 2680 // Opens a file asynchronously. The response returns a file descriptor | 2652 // Opens a file asynchronously. The response returns a file descriptor |
| 2681 // and an error code from base/platform_file.h. | 2653 // and an error code from base/platform_file.h. |
| 2682 IPC_MESSAGE_ROUTED3(ViewHostMsg_AsyncOpenFile, | 2654 IPC_MESSAGE_ROUTED3(ViewHostMsg_AsyncOpenFile, |
| 2683 FilePath /* file path */, | 2655 FilePath /* file path */, |
| 2684 int /* flags */, | 2656 int /* flags */, |
| 2685 int /* message_id */) | 2657 int /* message_id */) |
| 2686 | 2658 |
| 2687 // Sent by the renderer process to acknowledge receipt of a | 2659 // Sent by the renderer process to acknowledge receipt of a |
| 2688 // ViewMsg_CSSInsertRequest message and css has been inserted into the frame. | 2660 // ViewMsg_CSSInsertRequest message and css has been inserted into the frame. |
| 2689 IPC_MESSAGE_ROUTED0(ViewHostMsg_OnCSSInserted) | 2661 IPC_MESSAGE_ROUTED0(ViewHostMsg_OnCSSInserted) |
| (...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3072 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_PepperQueryFile, | 3044 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_PepperQueryFile, |
| 3073 FilePath /* path */, | 3045 FilePath /* path */, |
| 3074 base::PlatformFileInfo, /* info */ | 3046 base::PlatformFileInfo, /* info */ |
| 3075 base::PlatformFileError /* error_code */) | 3047 base::PlatformFileError /* error_code */) |
| 3076 | 3048 |
| 3077 // Get the directory's contents. | 3049 // Get the directory's contents. |
| 3078 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_PepperGetDirContents, | 3050 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_PepperGetDirContents, |
| 3079 FilePath /* path */, | 3051 FilePath /* path */, |
| 3080 PepperDirContents, /* contents */ | 3052 PepperDirContents, /* contents */ |
| 3081 base::PlatformFileError /* error_code */) | 3053 base::PlatformFileError /* error_code */) |
| OLD | NEW |