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 1616 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1627 IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_GetScreenInfo, | 1627 IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_GetScreenInfo, |
1628 gfx::NativeViewId /* view */, | 1628 gfx::NativeViewId /* view */, |
1629 WebKit::WebScreenInfo /* results */) | 1629 WebKit::WebScreenInfo /* results */) |
1630 | 1630 |
1631 // Send the tooltip text for the current mouse position to the browser. | 1631 // Send the tooltip text for the current mouse position to the browser. |
1632 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetTooltipText, | 1632 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetTooltipText, |
1633 std::wstring /* tooltip text string */, | 1633 std::wstring /* tooltip text string */, |
1634 WebKit::WebTextDirection /* text direction hint */) | 1634 WebKit::WebTextDirection /* text direction hint */) |
1635 | 1635 |
1636 // Notification that the text selection has changed. | 1636 // Notification that the text selection has changed. |
1637 IPC_MESSAGE_ROUTED1(ViewHostMsg_SelectionChanged, | 1637 IPC_MESSAGE_ROUTED3(ViewHostMsg_SelectionChanged, |
1638 std::string /* currently selected text */) | 1638 std::string /* currently selected text */, |
| 1639 int /* selection range start */, |
| 1640 int /* selection range end */) |
1639 | 1641 |
1640 // Asks the browser to display the file chooser. The result is returned in a | 1642 // Asks the browser to display the file chooser. The result is returned in a |
1641 // ViewHost_RunFileChooserResponse message. | 1643 // ViewHost_RunFileChooserResponse message. |
1642 IPC_MESSAGE_ROUTED1(ViewHostMsg_RunFileChooser, | 1644 IPC_MESSAGE_ROUTED1(ViewHostMsg_RunFileChooser, |
1643 ViewHostMsg_RunFileChooser_Params) | 1645 ViewHostMsg_RunFileChooser_Params) |
1644 | 1646 |
1645 // Used to tell the parent the user started dragging in the content area. The | 1647 // Used to tell the parent the user started dragging in the content area. The |
1646 // WebDropData struct contains contextual information about the pieces of the | 1648 // WebDropData struct contains contextual information about the pieces of the |
1647 // page the user dragged. The parent uses this notification to initiate a | 1649 // page the user dragged. The parent uses this notification to initiate a |
1648 // drag session at the OS level. | 1650 // drag session at the OS level. |
(...skipping 877 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2526 // The currently displayed PDF has an unsupported feature. | 2528 // The currently displayed PDF has an unsupported feature. |
2527 IPC_MESSAGE_ROUTED0(ViewHostMsg_PDFHasUnsupportedFeature) | 2529 IPC_MESSAGE_ROUTED0(ViewHostMsg_PDFHasUnsupportedFeature) |
2528 | 2530 |
2529 // JavaScript related messages ----------------------------------------------- | 2531 // JavaScript related messages ----------------------------------------------- |
2530 | 2532 |
2531 // Notify the JavaScript engine in the render to change its parameters | 2533 // Notify the JavaScript engine in the render to change its parameters |
2532 // while performing stress testing. | 2534 // while performing stress testing. |
2533 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, | 2535 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, |
2534 int /* cmd */, | 2536 int /* cmd */, |
2535 int /* param */) | 2537 int /* param */) |
OLD | NEW |