Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(161)

Side by Side Diff: content/common/view_messages.h

Issue 7528009: This is the exact same CL as in http://codereview.chromium.org/7570001 . (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view.h ('k') | content/renderer/render_view.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 905 matching lines...) Expand 10 before | Expand all | Expand 10 after
916 IPC_MESSAGE_ROUTED0(ViewMsg_CopyToFindPboard) 916 IPC_MESSAGE_ROUTED0(ViewMsg_CopyToFindPboard)
917 #endif 917 #endif
918 IPC_MESSAGE_ROUTED0(ViewMsg_Paste) 918 IPC_MESSAGE_ROUTED0(ViewMsg_Paste)
919 // Replaces the selected region or a word around the cursor with the 919 // Replaces the selected region or a word around the cursor with the
920 // specified string. 920 // specified string.
921 IPC_MESSAGE_ROUTED1(ViewMsg_Replace, 921 IPC_MESSAGE_ROUTED1(ViewMsg_Replace,
922 string16) 922 string16)
923 IPC_MESSAGE_ROUTED0(ViewMsg_Delete) 923 IPC_MESSAGE_ROUTED0(ViewMsg_Delete)
924 IPC_MESSAGE_ROUTED0(ViewMsg_SelectAll) 924 IPC_MESSAGE_ROUTED0(ViewMsg_SelectAll)
925 925
926 // Requests the renderer to select the region between two points.
927 IPC_MESSAGE_ROUTED2(ViewMsg_SelectRange,
928 gfx::Point /* start */,
929 gfx::Point /* end */)
930
926 // Copies the image at location x, y to the clipboard (if there indeed is an 931 // Copies the image at location x, y to the clipboard (if there indeed is an
927 // image at that location). 932 // image at that location).
928 IPC_MESSAGE_ROUTED2(ViewMsg_CopyImageAt, 933 IPC_MESSAGE_ROUTED2(ViewMsg_CopyImageAt,
929 int /* x */, 934 int /* x */,
930 int /* y */) 935 int /* y */)
931 936
932 // Tells the renderer to perform the given action on the media player 937 // Tells the renderer to perform the given action on the media player
933 // located at the given point. 938 // located at the given point.
934 IPC_MESSAGE_ROUTED2(ViewMsg_MediaPlayerActionAt, 939 IPC_MESSAGE_ROUTED2(ViewMsg_MediaPlayerActionAt,
935 gfx::Point, /* location */ 940 gfx::Point, /* location */
(...skipping 768 matching lines...) Expand 10 before | Expand all | Expand 10 after
1704 IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_GetScreenInfo, 1709 IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_GetScreenInfo,
1705 gfx::NativeViewId /* view */, 1710 gfx::NativeViewId /* view */,
1706 WebKit::WebScreenInfo /* results */) 1711 WebKit::WebScreenInfo /* results */)
1707 1712
1708 // Send the tooltip text for the current mouse position to the browser. 1713 // Send the tooltip text for the current mouse position to the browser.
1709 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetTooltipText, 1714 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetTooltipText,
1710 std::wstring /* tooltip text string */, 1715 std::wstring /* tooltip text string */,
1711 WebKit::WebTextDirection /* text direction hint */) 1716 WebKit::WebTextDirection /* text direction hint */)
1712 1717
1713 // Notification that the text selection has changed. 1718 // Notification that the text selection has changed.
1714 IPC_MESSAGE_ROUTED2(ViewHostMsg_SelectionChanged, 1719 IPC_MESSAGE_ROUTED4(ViewHostMsg_SelectionChanged,
1715 std::string /* currently selected text */, 1720 std::string /* currently selected text */,
1716 ui::Range /* selection range */) 1721 ui::Range /* selection range */,
1722 gfx::Point,
1723 gfx::Point /* visual end points of selection */)
1717 1724
1718 // Asks the browser to display the file chooser. The result is returned in a 1725 // Asks the browser to display the file chooser. The result is returned in a
1719 // ViewHost_RunFileChooserResponse message. 1726 // ViewHost_RunFileChooserResponse message.
1720 IPC_MESSAGE_ROUTED1(ViewHostMsg_RunFileChooser, 1727 IPC_MESSAGE_ROUTED1(ViewHostMsg_RunFileChooser,
1721 ViewHostMsg_RunFileChooser_Params) 1728 ViewHostMsg_RunFileChooser_Params)
1722 1729
1723 // Asks the browser to enumerate a directory. This is equivalent to running 1730 // Asks the browser to enumerate a directory. This is equivalent to running
1724 // the file chooser in directory-enumeration mode and having the user select 1731 // the file chooser in directory-enumeration mode and having the user select
1725 // the given directory. The result is returned in a 1732 // the given directory. The result is returned in a
1726 // ViewMsg_EnumerateDirectoryResponse message. 1733 // ViewMsg_EnumerateDirectoryResponse message.
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
2033 int32 /* complete status */) 2040 int32 /* complete status */)
2034 2041
2035 // Request updated information about the client firewall traversal policy. 2042 // Request updated information about the client firewall traversal policy.
2036 // Will result in a ViewMsg_UpdateRemoteAccessClientFirewallTraversal message 2043 // Will result in a ViewMsg_UpdateRemoteAccessClientFirewallTraversal message
2037 // being sent back. 2044 // being sent back.
2038 IPC_MESSAGE_ROUTED0(ViewHostMsg_RequestRemoteAccessClientFirewallTraversal) 2045 IPC_MESSAGE_ROUTED0(ViewHostMsg_RequestRemoteAccessClientFirewallTraversal)
2039 2046
2040 // Notifies the browser of an event occurring in the media pipeline. 2047 // Notifies the browser of an event occurring in the media pipeline.
2041 IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvent, 2048 IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvent,
2042 media::MediaLogEvent /* event */) 2049 media::MediaLogEvent /* event */)
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view.h ('k') | content/renderer/render_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698