| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 718 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 729 | 729 |
| 730 // Tell the renderer which browser window it's being attached to. | 730 // Tell the renderer which browser window it's being attached to. |
| 731 IPC_MESSAGE_ROUTED1(ViewMsg_UpdateBrowserWindowId, | 731 IPC_MESSAGE_ROUTED1(ViewMsg_UpdateBrowserWindowId, |
| 732 int /* id of browser window */) | 732 int /* id of browser window */) |
| 733 | 733 |
| 734 // Tell the renderer which type this view is. | 734 // Tell the renderer which type this view is. |
| 735 IPC_MESSAGE_ROUTED1(ViewMsg_NotifyRenderViewType, | 735 IPC_MESSAGE_ROUTED1(ViewMsg_NotifyRenderViewType, |
| 736 ViewType::Type /* view_type */) | 736 ViewType::Type /* view_type */) |
| 737 | 737 |
| 738 // Notification that renderer should run some JavaScript code. | 738 // Notification that renderer should run some JavaScript code. |
| 739 IPC_MESSAGE_ROUTED4(ViewMsg_ExecuteCode, | 739 IPC_MESSAGE_ROUTED5(ViewMsg_ExecuteCode, |
| 740 int, /* request id */ | 740 int, /* request id */ |
| 741 std::string, /* id of extension which runs the scripts */ | 741 std::string, /* id of extension which runs the scripts */ |
| 742 bool, /* It's true if the code is JavaScript; Otherwise | 742 bool, /* It's true if the code is JavaScript; Otherwise |
| 743 the code is CSS text. */ | 743 the code is CSS text. */ |
| 744 std::string /* code would be executed */) | 744 std::string, /* code would be executed */ |
| 745 bool /* It's true if the code would be injected into all |
| 746 frames; Otherwise the code is only injected into |
| 747 top main frame */) |
| 745 | 748 |
| 746 // Returns a file handle | 749 // Returns a file handle |
| 747 IPC_MESSAGE_CONTROL2(ViewMsg_DatabaseOpenFileResponse, | 750 IPC_MESSAGE_CONTROL2(ViewMsg_DatabaseOpenFileResponse, |
| 748 int32 /* the ID of the message we're replying to */, | 751 int32 /* the ID of the message we're replying to */, |
| 749 ViewMsg_DatabaseOpenFileResponse_Params) | 752 ViewMsg_DatabaseOpenFileResponse_Params) |
| 750 | 753 |
| 751 // Returns a SQLite error code | 754 // Returns a SQLite error code |
| 752 IPC_MESSAGE_CONTROL2(ViewMsg_DatabaseDeleteFileResponse, | 755 IPC_MESSAGE_CONTROL2(ViewMsg_DatabaseDeleteFileResponse, |
| 753 int32 /* the ID of the message we're replying to */, | 756 int32 /* the ID of the message we're replying to */, |
| 754 int /* SQLite error code */) | 757 int /* SQLite error code */) |
| (...skipping 1284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2039 string16 /* word */, | 2042 string16 /* word */, |
| 2040 int /* document tag */, | 2043 int /* document tag */, |
| 2041 bool /* correct */) | 2044 bool /* correct */) |
| 2042 | 2045 |
| 2043 IPC_SYNC_MESSAGE_CONTROL1_1( | 2046 IPC_SYNC_MESSAGE_CONTROL1_1( |
| 2044 ViewHostMsg_SpellChecker_PlatformFillSuggestionList, | 2047 ViewHostMsg_SpellChecker_PlatformFillSuggestionList, |
| 2045 string16 /* word */, | 2048 string16 /* word */, |
| 2046 std::vector<string16> /* suggestions */) | 2049 std::vector<string16> /* suggestions */) |
| 2047 | 2050 |
| 2048 IPC_END_MESSAGES(ViewHost) | 2051 IPC_END_MESSAGES(ViewHost) |
| OLD | NEW |