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 2481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2492 // Suggest results ----------------------------------------------------------- | 2492 // Suggest results ----------------------------------------------------------- |
2493 | 2493 |
2494 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetSuggestions, | 2494 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetSuggestions, |
2495 int32 /* page_id */, | 2495 int32 /* page_id */, |
2496 std::vector<std::string> /* suggestions */) | 2496 std::vector<std::string> /* suggestions */) |
2497 | 2497 |
2498 IPC_MESSAGE_ROUTED2(ViewHostMsg_InstantSupportDetermined, | 2498 IPC_MESSAGE_ROUTED2(ViewHostMsg_InstantSupportDetermined, |
2499 int32 /* page_id */, | 2499 int32 /* page_id */, |
2500 bool /* result */) | 2500 bool /* result */) |
2501 | 2501 |
2502 // Client-Side Phishing Detector --------------------------------------------- | |
2503 // Inform the browser that the current URL is phishing according to the | |
2504 // client-side phishing detector. | |
2505 IPC_MESSAGE_ROUTED2(ViewHostMsg_DetectedPhishingSite, | |
2506 GURL /* phishing_url */, | |
2507 double /* phishing_score */) | |
2508 | |
2509 // Response from ViewMsg_ScriptEvalRequest. The ID is the parameter supplied | 2502 // Response from ViewMsg_ScriptEvalRequest. The ID is the parameter supplied |
2510 // to ViewMsg_ScriptEvalRequest. The result has the value returned by the | 2503 // to ViewMsg_ScriptEvalRequest. The result has the value returned by the |
2511 // script as it's only element, one of Null, Boolean, Integer, Real, Date, or | 2504 // script as it's only element, one of Null, Boolean, Integer, Real, Date, or |
2512 // String. | 2505 // String. |
2513 IPC_MESSAGE_ROUTED2(ViewHostMsg_ScriptEvalResponse, | 2506 IPC_MESSAGE_ROUTED2(ViewHostMsg_ScriptEvalResponse, |
2514 int /* id */, | 2507 int /* id */, |
2515 ListValue /* result */) | 2508 ListValue /* result */) |
2516 | 2509 |
2517 // Updates the content restrictions, i.e. to disable print/copy. | 2510 // Updates the content restrictions, i.e. to disable print/copy. |
2518 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateContentRestrictions, | 2511 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateContentRestrictions, |
2519 int /* restrictions */) | 2512 int /* restrictions */) |
2520 | 2513 |
2521 // The currently displayed PDF has an unsupported feature. | 2514 // The currently displayed PDF has an unsupported feature. |
2522 IPC_MESSAGE_ROUTED0(ViewHostMsg_PDFHasUnsupportedFeature) | 2515 IPC_MESSAGE_ROUTED0(ViewHostMsg_PDFHasUnsupportedFeature) |
2523 | 2516 |
2524 // JavaScript related messages ----------------------------------------------- | 2517 // JavaScript related messages ----------------------------------------------- |
2525 | 2518 |
2526 // Notify the JavaScript engine in the render to change its parameters | 2519 // Notify the JavaScript engine in the render to change its parameters |
2527 // while performing stress testing. | 2520 // while performing stress testing. |
2528 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, | 2521 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, |
2529 int /* cmd */, | 2522 int /* cmd */, |
2530 int /* param */) | 2523 int /* param */) |
OLD | NEW |