| 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 // IPC messages for page rendering. | 5 // IPC messages for page rendering. |
| 6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
| 7 | 7 |
| 8 #include "base/process.h" | 8 #include "base/process.h" |
| 9 #include "base/shared_memory.h" | 9 #include "base/shared_memory.h" |
| 10 #include "content/common/common_param_traits.h" | 10 #include "content/common/common_param_traits.h" |
| (...skipping 1689 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1700 | 1700 |
| 1701 // Returns WebScreenInfo corresponding to the view. | 1701 // Returns WebScreenInfo corresponding to the view. |
| 1702 // TODO(shess): Provide a mapping from reply_msg->routing_id() to | 1702 // TODO(shess): Provide a mapping from reply_msg->routing_id() to |
| 1703 // HWND so that we can eliminate the NativeViewId parameter. | 1703 // HWND so that we can eliminate the NativeViewId parameter. |
| 1704 IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_GetScreenInfo, | 1704 IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_GetScreenInfo, |
| 1705 gfx::NativeViewId /* view */, | 1705 gfx::NativeViewId /* view */, |
| 1706 WebKit::WebScreenInfo /* results */) | 1706 WebKit::WebScreenInfo /* results */) |
| 1707 | 1707 |
| 1708 // Send the tooltip text for the current mouse position to the browser. | 1708 // Send the tooltip text for the current mouse position to the browser. |
| 1709 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetTooltipText, | 1709 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetTooltipText, |
| 1710 std::wstring /* tooltip text string */, | 1710 string16 /* tooltip text string */, |
| 1711 WebKit::WebTextDirection /* text direction hint */) | 1711 WebKit::WebTextDirection /* text direction hint */) |
| 1712 | 1712 |
| 1713 // Notification that the text selection has changed. | 1713 // Notification that the text selection has changed. |
| 1714 IPC_MESSAGE_ROUTED2(ViewHostMsg_SelectionChanged, | 1714 IPC_MESSAGE_ROUTED2(ViewHostMsg_SelectionChanged, |
| 1715 std::string /* currently selected text */, | 1715 std::string /* currently selected text */, |
| 1716 ui::Range /* selection range */) | 1716 ui::Range /* selection range */) |
| 1717 | 1717 |
| 1718 // Asks the browser to display the file chooser. The result is returned in a | 1718 // Asks the browser to display the file chooser. The result is returned in a |
| 1719 // ViewHost_RunFileChooserResponse message. | 1719 // ViewHost_RunFileChooserResponse message. |
| 1720 IPC_MESSAGE_ROUTED1(ViewHostMsg_RunFileChooser, | 1720 IPC_MESSAGE_ROUTED1(ViewHostMsg_RunFileChooser, |
| (...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2033 int32 /* complete status */) | 2033 int32 /* complete status */) |
| 2034 | 2034 |
| 2035 // Request updated information about the client firewall traversal policy. | 2035 // Request updated information about the client firewall traversal policy. |
| 2036 // Will result in a ViewMsg_UpdateRemoteAccessClientFirewallTraversal message | 2036 // Will result in a ViewMsg_UpdateRemoteAccessClientFirewallTraversal message |
| 2037 // being sent back. | 2037 // being sent back. |
| 2038 IPC_MESSAGE_ROUTED0(ViewHostMsg_RequestRemoteAccessClientFirewallTraversal) | 2038 IPC_MESSAGE_ROUTED0(ViewHostMsg_RequestRemoteAccessClientFirewallTraversal) |
| 2039 | 2039 |
| 2040 // Notifies the browser of an event occurring in the media pipeline. | 2040 // Notifies the browser of an event occurring in the media pipeline. |
| 2041 IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvent, | 2041 IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvent, |
| 2042 media::MediaLogEvent /* event */) | 2042 media::MediaLogEvent /* event */) |
| OLD | NEW |