| 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 480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 491 IPC_MESSAGE_ROUTED0(ViewMsg_DragSourceSystemDragEnded) | 491 IPC_MESSAGE_ROUTED0(ViewMsg_DragSourceSystemDragEnded) |
| 492 | 492 |
| 493 // Used to tell a render view whether it should expose various bindings | 493 // Used to tell a render view whether it should expose various bindings |
| 494 // that allow JS content extended privileges. See BindingsPolicy for valid | 494 // that allow JS content extended privileges. See BindingsPolicy for valid |
| 495 // flag values. | 495 // flag values. |
| 496 IPC_MESSAGE_ROUTED1(ViewMsg_AllowBindings, | 496 IPC_MESSAGE_ROUTED1(ViewMsg_AllowBindings, |
| 497 int /* enabled_bindings_flags */) | 497 int /* enabled_bindings_flags */) |
| 498 | 498 |
| 499 // Tell the renderer to add a property to the WebUI binding object. This | 499 // Tell the renderer to add a property to the WebUI binding object. This |
| 500 // only works if we allowed WebUI bindings. | 500 // only works if we allowed WebUI bindings. |
| 501 IPC_MESSAGE_ROUTED2(ViewMsg_SetDOMUIProperty, | 501 IPC_MESSAGE_ROUTED2(ViewMsg_SetWebUIProperty, |
| 502 std::string /* property_name */, | 502 std::string /* property_name */, |
| 503 std::string /* property_value_json */) | 503 std::string /* property_value_json */) |
| 504 | 504 |
| 505 // This message starts/stop monitoring the input method status of the focused | 505 // This message starts/stop monitoring the input method status of the focused |
| 506 // edit control of a renderer process. | 506 // edit control of a renderer process. |
| 507 // Parameters | 507 // Parameters |
| 508 // * is_active (bool) | 508 // * is_active (bool) |
| 509 // Indicates if an input method is active in the browser process. | 509 // Indicates if an input method is active in the browser process. |
| 510 // The possible actions when a renderer process receives this message are | 510 // The possible actions when a renderer process receives this message are |
| 511 // listed below: | 511 // listed below: |
| (...skipping 988 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1500 // callback binding the JS to Cpp. | 1500 // callback binding the JS to Cpp. |
| 1501 // An instance of browser that has an automation host listening to it can | 1501 // An instance of browser that has an automation host listening to it can |
| 1502 // have a javascript send a native value (string, number, boolean) to the | 1502 // have a javascript send a native value (string, number, boolean) to the |
| 1503 // listener in Cpp. (DomAutomationController) | 1503 // listener in Cpp. (DomAutomationController) |
| 1504 IPC_MESSAGE_ROUTED2(ViewHostMsg_DomOperationResponse, | 1504 IPC_MESSAGE_ROUTED2(ViewHostMsg_DomOperationResponse, |
| 1505 std::string /* json_string */, | 1505 std::string /* json_string */, |
| 1506 int /* automation_id */) | 1506 int /* automation_id */) |
| 1507 | 1507 |
| 1508 // A message from HTML-based UI. When (trusted) Javascript calls | 1508 // A message from HTML-based UI. When (trusted) Javascript calls |
| 1509 // send(message, args), this message is sent to the browser. | 1509 // send(message, args), this message is sent to the browser. |
| 1510 IPC_MESSAGE_ROUTED3(ViewHostMsg_DOMUISend, | 1510 IPC_MESSAGE_ROUTED3(ViewHostMsg_WebUISend, |
| 1511 GURL /* source_url */, | 1511 GURL /* source_url */, |
| 1512 std::string /* message */, | 1512 std::string /* message */, |
| 1513 std::string /* args (as a JSON string) */) | 1513 std::string /* args (as a JSON string) */) |
| 1514 | 1514 |
| 1515 // A message for an external host. | 1515 // A message for an external host. |
| 1516 IPC_MESSAGE_ROUTED3(ViewHostMsg_ForwardMessageToExternalHost, | 1516 IPC_MESSAGE_ROUTED3(ViewHostMsg_ForwardMessageToExternalHost, |
| 1517 std::string /* message */, | 1517 std::string /* message */, |
| 1518 std::string /* origin */, | 1518 std::string /* origin */, |
| 1519 std::string /* target */) | 1519 std::string /* target */) |
| 1520 | 1520 |
| (...skipping 1003 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2524 // The currently displayed PDF has an unsupported feature. | 2524 // The currently displayed PDF has an unsupported feature. |
| 2525 IPC_MESSAGE_ROUTED0(ViewHostMsg_PDFHasUnsupportedFeature) | 2525 IPC_MESSAGE_ROUTED0(ViewHostMsg_PDFHasUnsupportedFeature) |
| 2526 | 2526 |
| 2527 // JavaScript related messages ----------------------------------------------- | 2527 // JavaScript related messages ----------------------------------------------- |
| 2528 | 2528 |
| 2529 // Notify the JavaScript engine in the render to change its parameters | 2529 // Notify the JavaScript engine in the render to change its parameters |
| 2530 // while performing stress testing. | 2530 // while performing stress testing. |
| 2531 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, | 2531 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, |
| 2532 int /* cmd */, | 2532 int /* cmd */, |
| 2533 int /* param */) | 2533 int /* param */) |
| OLD | NEW |