| 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 1030 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1041 base::PlatformFileError /* error_code */, | 1041 base::PlatformFileError /* error_code */, |
| 1042 IPC::PlatformFileForTransit /* file descriptor */, | 1042 IPC::PlatformFileForTransit /* file descriptor */, |
| 1043 int /* message_id */) | 1043 int /* message_id */) |
| 1044 | 1044 |
| 1045 // A classification model for client-side phishing detection. | 1045 // A classification model for client-side phishing detection. |
| 1046 // The given file contains an encoded safe_browsing::ClientSideModel | 1046 // The given file contains an encoded safe_browsing::ClientSideModel |
| 1047 // protocol buffer. | 1047 // protocol buffer. |
| 1048 IPC_MESSAGE_CONTROL1(ViewMsg_SetPhishingModel, | 1048 IPC_MESSAGE_CONTROL1(ViewMsg_SetPhishingModel, |
| 1049 IPC::PlatformFileForTransit /* model_file */) | 1049 IPC::PlatformFileForTransit /* model_file */) |
| 1050 | 1050 |
| 1051 // Tells the renderer to begin phishing detection for the given toplevel URL |
| 1052 // which it has started loading. |
| 1053 IPC_MESSAGE_ROUTED1(ViewMsg_StartPhishingDetection, GURL) |
| 1054 |
| 1051 // External popup menus. | 1055 // External popup menus. |
| 1052 IPC_MESSAGE_ROUTED1(ViewMsg_SelectPopupMenuItem, | 1056 IPC_MESSAGE_ROUTED1(ViewMsg_SelectPopupMenuItem, |
| 1053 int /* selected index, -1 means no selection */) | 1057 int /* selected index, -1 means no selection */) |
| 1054 | 1058 |
| 1055 // Indicate whether speech input API is enabled or not. | 1059 // Indicate whether speech input API is enabled or not. |
| 1056 IPC_MESSAGE_CONTROL1(ViewMsg_SpeechInput_SetFeatureEnabled, | 1060 IPC_MESSAGE_CONTROL1(ViewMsg_SpeechInput_SetFeatureEnabled, |
| 1057 bool /* enabled */) | 1061 bool /* enabled */) |
| 1058 | 1062 |
| 1059 // Sent in response to a ViewHostMsg_ContextMenu to let the renderer know that | 1063 // Sent in response to a ViewHostMsg_ContextMenu to let the renderer know that |
| 1060 // the menu has been closed. | 1064 // the menu has been closed. |
| (...skipping 1460 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2521 // The currently displayed PDF has an unsupported feature. | 2525 // The currently displayed PDF has an unsupported feature. |
| 2522 IPC_MESSAGE_ROUTED0(ViewHostMsg_PDFHasUnsupportedFeature) | 2526 IPC_MESSAGE_ROUTED0(ViewHostMsg_PDFHasUnsupportedFeature) |
| 2523 | 2527 |
| 2524 // JavaScript related messages ----------------------------------------------- | 2528 // JavaScript related messages ----------------------------------------------- |
| 2525 | 2529 |
| 2526 // Notify the JavaScript engine in the render to change its parameters | 2530 // Notify the JavaScript engine in the render to change its parameters |
| 2527 // while performing stress testing. | 2531 // while performing stress testing. |
| 2528 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, | 2532 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, |
| 2529 int /* cmd */, | 2533 int /* cmd */, |
| 2530 int /* param */) | 2534 int /* param */) |
| OLD | NEW |