| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 <set> | 6 #include <set> |
| 7 #include <string> | 7 #include <string> |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
| (...skipping 938 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 949 // A word has been added to the custom dictionary; update the local custom | 949 // A word has been added to the custom dictionary; update the local custom |
| 950 // word list. | 950 // word list. |
| 951 IPC_MESSAGE_CONTROL1(ViewMsg_SpellChecker_WordAdded, | 951 IPC_MESSAGE_CONTROL1(ViewMsg_SpellChecker_WordAdded, |
| 952 std::string /* word */) | 952 std::string /* word */) |
| 953 | 953 |
| 954 // Toggle the auto spell correct functionality. | 954 // Toggle the auto spell correct functionality. |
| 955 IPC_MESSAGE_CONTROL1(ViewMsg_SpellChecker_EnableAutoSpellCorrect, | 955 IPC_MESSAGE_CONTROL1(ViewMsg_SpellChecker_EnableAutoSpellCorrect, |
| 956 bool /* enable */) | 956 bool /* enable */) |
| 957 | 957 |
| 958 // Executes custom context menu action that was provided from WebKit. | 958 // Executes custom context menu action that was provided from WebKit. |
| 959 IPC_MESSAGE_ROUTED1(ViewMsg_CustomContextMenuAction, | 959 IPC_MESSAGE_ROUTED2(ViewMsg_CustomContextMenuAction, |
| 960 webkit_glue::CustomContextMenuContext /* custom_context */, |
| 960 unsigned /* action */) | 961 unsigned /* action */) |
| 961 | 962 |
| 962 // Tells the renderer to translate the page contents from one language to | 963 // Tells the renderer to translate the page contents from one language to |
| 963 // another. | 964 // another. |
| 964 IPC_MESSAGE_ROUTED4(ViewMsg_TranslatePage, | 965 IPC_MESSAGE_ROUTED4(ViewMsg_TranslatePage, |
| 965 int /* page id */, | 966 int /* page id */, |
| 966 std::string, /* the script injected in the page */ | 967 std::string, /* the script injected in the page */ |
| 967 std::string, /* BCP 47/RFC 5646 language code the page | 968 std::string, /* BCP 47/RFC 5646 language code the page |
| 968 is in */ | 969 is in */ |
| 969 std::string /* BCP 47/RFC 5646 language code to translate | 970 std::string /* BCP 47/RFC 5646 language code to translate |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1051 // External popup menus. | 1052 // External popup menus. |
| 1052 IPC_MESSAGE_ROUTED1(ViewMsg_SelectPopupMenuItem, | 1053 IPC_MESSAGE_ROUTED1(ViewMsg_SelectPopupMenuItem, |
| 1053 int /* selected index, -1 means no selection */) | 1054 int /* selected index, -1 means no selection */) |
| 1054 | 1055 |
| 1055 // Indicate whether speech input API is enabled or not. | 1056 // Indicate whether speech input API is enabled or not. |
| 1056 IPC_MESSAGE_CONTROL1(ViewMsg_SpeechInput_SetFeatureEnabled, | 1057 IPC_MESSAGE_CONTROL1(ViewMsg_SpeechInput_SetFeatureEnabled, |
| 1057 bool /* enabled */) | 1058 bool /* enabled */) |
| 1058 | 1059 |
| 1059 // Sent in response to a ViewHostMsg_ContextMenu to let the renderer know that | 1060 // Sent in response to a ViewHostMsg_ContextMenu to let the renderer know that |
| 1060 // the menu has been closed. | 1061 // the menu has been closed. |
| 1061 IPC_MESSAGE_ROUTED0(ViewMsg_ContextMenuClosed) | 1062 IPC_MESSAGE_ROUTED1(ViewMsg_ContextMenuClosed, |
| 1063 webkit_glue::CustomContextMenuContext /* custom_context */) |
| 1062 | 1064 |
| 1063 //----------------------------------------------------------------------------- | 1065 //----------------------------------------------------------------------------- |
| 1064 // TabContents messages | 1066 // TabContents messages |
| 1065 // These are messages sent from the renderer to the browser process. | 1067 // These are messages sent from the renderer to the browser process. |
| 1066 | 1068 |
| 1067 // Sent by the renderer when it is creating a new window. The browser creates | 1069 // Sent by the renderer when it is creating a new window. The browser creates |
| 1068 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is | 1070 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is |
| 1069 // MSG_ROUTING_NONE, the view couldn't be created. | 1071 // MSG_ROUTING_NONE, the view couldn't be created. |
| 1070 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_CreateWindow, | 1072 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_CreateWindow, |
| 1071 ViewHostMsg_CreateWindow_Params, | 1073 ViewHostMsg_CreateWindow_Params, |
| (...skipping 1458 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2530 // The currently displayed PDF has an unsupported feature. | 2532 // The currently displayed PDF has an unsupported feature. |
| 2531 IPC_MESSAGE_ROUTED0(ViewHostMsg_PDFHasUnsupportedFeature) | 2533 IPC_MESSAGE_ROUTED0(ViewHostMsg_PDFHasUnsupportedFeature) |
| 2532 | 2534 |
| 2533 // JavaScript related messages ----------------------------------------------- | 2535 // JavaScript related messages ----------------------------------------------- |
| 2534 | 2536 |
| 2535 // Notify the JavaScript engine in the render to change its parameters | 2537 // Notify the JavaScript engine in the render to change its parameters |
| 2536 // while performing stress testing. | 2538 // while performing stress testing. |
| 2537 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, | 2539 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, |
| 2538 int /* cmd */, | 2540 int /* cmd */, |
| 2539 int /* param */) | 2541 int /* param */) |
| OLD | NEW |