| 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 1628 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1639 IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_GetScreenInfo, | 1639 IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_GetScreenInfo, |
| 1640 gfx::NativeViewId /* view */, | 1640 gfx::NativeViewId /* view */, |
| 1641 WebKit::WebScreenInfo /* results */) | 1641 WebKit::WebScreenInfo /* results */) |
| 1642 | 1642 |
| 1643 // Send the tooltip text for the current mouse position to the browser. | 1643 // Send the tooltip text for the current mouse position to the browser. |
| 1644 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetTooltipText, | 1644 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetTooltipText, |
| 1645 std::wstring /* tooltip text string */, | 1645 std::wstring /* tooltip text string */, |
| 1646 WebKit::WebTextDirection /* text direction hint */) | 1646 WebKit::WebTextDirection /* text direction hint */) |
| 1647 | 1647 |
| 1648 // Notification that the text selection has changed. | 1648 // Notification that the text selection has changed. |
| 1649 IPC_MESSAGE_ROUTED1(ViewHostMsg_SelectionChanged, | 1649 IPC_MESSAGE_ROUTED3(ViewHostMsg_SelectionChanged, |
| 1650 std::string /* currently selected text */) | 1650 std::string /* currently selected text */, |
| 1651 int /* selection range start */, |
| 1652 int /* selection range end */) |
| 1651 | 1653 |
| 1652 // Asks the browser to display the file chooser. The result is returned in a | 1654 // Asks the browser to display the file chooser. The result is returned in a |
| 1653 // ViewHost_RunFileChooserResponse message. | 1655 // ViewHost_RunFileChooserResponse message. |
| 1654 IPC_MESSAGE_ROUTED1(ViewHostMsg_RunFileChooser, | 1656 IPC_MESSAGE_ROUTED1(ViewHostMsg_RunFileChooser, |
| 1655 ViewHostMsg_RunFileChooser_Params) | 1657 ViewHostMsg_RunFileChooser_Params) |
| 1656 | 1658 |
| 1657 // Used to tell the parent the user started dragging in the content area. The | 1659 // Used to tell the parent the user started dragging in the content area. The |
| 1658 // WebDropData struct contains contextual information about the pieces of the | 1660 // WebDropData struct contains contextual information about the pieces of the |
| 1659 // page the user dragged. The parent uses this notification to initiate a | 1661 // page the user dragged. The parent uses this notification to initiate a |
| 1660 // drag session at the OS level. | 1662 // drag session at the OS level. |
| (...skipping 884 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2545 // while performing stress testing. | 2547 // while performing stress testing. |
| 2546 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, | 2548 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, |
| 2547 int /* cmd */, | 2549 int /* cmd */, |
| 2548 int /* param */) | 2550 int /* param */) |
| 2549 | 2551 |
| 2550 // Register a new handler for URL requests with the given scheme. | 2552 // Register a new handler for URL requests with the given scheme. |
| 2551 IPC_MESSAGE_ROUTED3(ViewHostMsg_RegisterProtocolHandler, | 2553 IPC_MESSAGE_ROUTED3(ViewHostMsg_RegisterProtocolHandler, |
| 2552 std::string /* scheme */, | 2554 std::string /* scheme */, |
| 2553 GURL /* url */, | 2555 GURL /* url */, |
| 2554 string16 /* title */) | 2556 string16 /* title */) |
| OLD | NEW |