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