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 1452 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2513 // The currently displayed PDF has an unsupported feature. | 2517 // The currently displayed PDF has an unsupported feature. |
2514 IPC_MESSAGE_ROUTED0(ViewHostMsg_PDFHasUnsupportedFeature) | 2518 IPC_MESSAGE_ROUTED0(ViewHostMsg_PDFHasUnsupportedFeature) |
2515 | 2519 |
2516 // JavaScript related messages ----------------------------------------------- | 2520 // JavaScript related messages ----------------------------------------------- |
2517 | 2521 |
2518 // Notify the JavaScript engine in the render to change its parameters | 2522 // Notify the JavaScript engine in the render to change its parameters |
2519 // while performing stress testing. | 2523 // while performing stress testing. |
2520 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, | 2524 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, |
2521 int /* cmd */, | 2525 int /* cmd */, |
2522 int /* param */) | 2526 int /* param */) |
OLD | NEW |