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

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

Issue 7570001: Implement touch selection for RWHVV. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: sync 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 896 matching lines...) Expand 10 before | Expand all | Expand 10 after
907 IPC_MESSAGE_ROUTED0(ViewMsg_CopyToFindPboard) 907 IPC_MESSAGE_ROUTED0(ViewMsg_CopyToFindPboard)
908 #endif 908 #endif
909 IPC_MESSAGE_ROUTED0(ViewMsg_Paste) 909 IPC_MESSAGE_ROUTED0(ViewMsg_Paste)
910 // Replaces the selected region or a word around the cursor with the 910 // Replaces the selected region or a word around the cursor with the
911 // specified string. 911 // specified string.
912 IPC_MESSAGE_ROUTED1(ViewMsg_Replace, 912 IPC_MESSAGE_ROUTED1(ViewMsg_Replace,
913 string16) 913 string16)
914 IPC_MESSAGE_ROUTED0(ViewMsg_Delete) 914 IPC_MESSAGE_ROUTED0(ViewMsg_Delete)
915 IPC_MESSAGE_ROUTED0(ViewMsg_SelectAll) 915 IPC_MESSAGE_ROUTED0(ViewMsg_SelectAll)
916 916
917 // Requests the renderer to select the region between two points.
918 IPC_MESSAGE_ROUTED2(ViewMsg_SelectRange,
919 gfx::Point /* start */,
920 gfx::Point /* end */)
921
917 // Copies the image at location x, y to the clipboard (if there indeed is an 922 // Copies the image at location x, y to the clipboard (if there indeed is an
918 // image at that location). 923 // image at that location).
919 IPC_MESSAGE_ROUTED2(ViewMsg_CopyImageAt, 924 IPC_MESSAGE_ROUTED2(ViewMsg_CopyImageAt,
920 int /* x */, 925 int /* x */,
921 int /* y */) 926 int /* y */)
922 927
923 // Tells the renderer to perform the given action on the media player 928 // Tells the renderer to perform the given action on the media player
924 // located at the given point. 929 // located at the given point.
925 IPC_MESSAGE_ROUTED2(ViewMsg_MediaPlayerActionAt, 930 IPC_MESSAGE_ROUTED2(ViewMsg_MediaPlayerActionAt,
926 gfx::Point, /* location */ 931 gfx::Point, /* location */
(...skipping 768 matching lines...) Expand 10 before | Expand all | Expand 10 after
1695 IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_GetScreenInfo, 1700 IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_GetScreenInfo,
1696 gfx::NativeViewId /* view */, 1701 gfx::NativeViewId /* view */,
1697 WebKit::WebScreenInfo /* results */) 1702 WebKit::WebScreenInfo /* results */)
1698 1703
1699 // Send the tooltip text for the current mouse position to the browser. 1704 // Send the tooltip text for the current mouse position to the browser.
1700 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetTooltipText, 1705 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetTooltipText,
1701 std::wstring /* tooltip text string */, 1706 std::wstring /* tooltip text string */,
1702 WebKit::WebTextDirection /* text direction hint */) 1707 WebKit::WebTextDirection /* text direction hint */)
1703 1708
1704 // Notification that the text selection has changed. 1709 // Notification that the text selection has changed.
1705 IPC_MESSAGE_ROUTED2(ViewHostMsg_SelectionChanged, 1710 IPC_MESSAGE_ROUTED4(ViewHostMsg_SelectionChanged,
1706 std::string /* currently selected text */, 1711 std::string /* currently selected text */,
1707 ui::Range /* selection range */) 1712 ui::Range /* selection range */,
1713 gfx::Point,
1714 gfx::Point /* visual end points of selection */)
1708 1715
1709 // Asks the browser to display the file chooser. The result is returned in a 1716 // Asks the browser to display the file chooser. The result is returned in a
1710 // ViewHost_RunFileChooserResponse message. 1717 // ViewHost_RunFileChooserResponse message.
1711 IPC_MESSAGE_ROUTED1(ViewHostMsg_RunFileChooser, 1718 IPC_MESSAGE_ROUTED1(ViewHostMsg_RunFileChooser,
1712 ViewHostMsg_RunFileChooser_Params) 1719 ViewHostMsg_RunFileChooser_Params)
1713 1720
1714 // Asks the browser to enumerate a directory. This is equivalent to running 1721 // Asks the browser to enumerate a directory. This is equivalent to running
1715 // the file chooser in directory-enumeration mode and having the user select 1722 // the file chooser in directory-enumeration mode and having the user select
1716 // the given directory. The result is returned in a 1723 // the given directory. The result is returned in a
1717 // ViewMsg_EnumerateDirectoryResponse message. 1724 // ViewMsg_EnumerateDirectoryResponse message.
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
2021 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendSerializedHtmlData, 2028 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendSerializedHtmlData,
2022 GURL /* frame's url */, 2029 GURL /* frame's url */,
2023 std::string /* data buffer */, 2030 std::string /* data buffer */,
2024 int32 /* complete status */) 2031 int32 /* complete status */)
2025 2032
2026 // Request updated information about the client firewall traversal policy. 2033 // Request updated information about the client firewall traversal policy.
2027 // Will result in a ViewMsg_UpdateRemoteAccessClientFirewallTraversal message 2034 // Will result in a ViewMsg_UpdateRemoteAccessClientFirewallTraversal message
2028 // being sent back. 2035 // being sent back.
2029 IPC_MESSAGE_ROUTED0(ViewHostMsg_RequestRemoteAccessClientFirewallTraversal) 2036 IPC_MESSAGE_ROUTED0(ViewHostMsg_RequestRemoteAccessClientFirewallTraversal)
2030 2037
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