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

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

Issue 10823077: Throttle SelectRange IPC (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Renamed next_select_range, handled RendererExited Created 8 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 960 matching lines...) Expand 10 before | Expand all | Expand 10 after
971 // specified string. 971 // specified string.
972 IPC_MESSAGE_ROUTED1(ViewMsg_Replace, 972 IPC_MESSAGE_ROUTED1(ViewMsg_Replace,
973 string16) 973 string16)
974 IPC_MESSAGE_ROUTED0(ViewMsg_Delete) 974 IPC_MESSAGE_ROUTED0(ViewMsg_Delete)
975 IPC_MESSAGE_ROUTED0(ViewMsg_SelectAll) 975 IPC_MESSAGE_ROUTED0(ViewMsg_SelectAll)
976 976
977 // Replaces all text in the current input field with the specified string. 977 // Replaces all text in the current input field with the specified string.
978 IPC_MESSAGE_ROUTED0(ViewMsg_Unselect) 978 IPC_MESSAGE_ROUTED0(ViewMsg_Unselect)
979 979
980 // Requests the renderer to select the region between two points. 980 // Requests the renderer to select the region between two points.
981 // Expects a SelectRange_ACK message when finished.
981 IPC_MESSAGE_ROUTED2(ViewMsg_SelectRange, 982 IPC_MESSAGE_ROUTED2(ViewMsg_SelectRange,
982 gfx::Point /* start */, 983 gfx::Point /* start */,
983 gfx::Point /* end */) 984 gfx::Point /* end */)
984 985
985 // Copies the image at location x, y to the clipboard (if there indeed is an 986 // Copies the image at location x, y to the clipboard (if there indeed is an
986 // image at that location). 987 // image at that location).
987 IPC_MESSAGE_ROUTED2(ViewMsg_CopyImageAt, 988 IPC_MESSAGE_ROUTED2(ViewMsg_CopyImageAt,
988 int /* x */, 989 int /* x */,
989 int /* y */) 990 int /* y */)
990 991
(...skipping 843 matching lines...) Expand 10 before | Expand all | Expand 10 after
1834 uint32 /* buffer size */, 1835 uint32 /* buffer size */,
1835 base::SharedMemoryHandle /* font data */, 1836 base::SharedMemoryHandle /* font data */,
1836 uint32 /* font id */) 1837 uint32 /* font id */)
1837 #endif 1838 #endif
1838 1839
1839 // Send the tooltip text for the current mouse position to the browser. 1840 // Send the tooltip text for the current mouse position to the browser.
1840 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetTooltipText, 1841 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetTooltipText,
1841 string16 /* tooltip text string */, 1842 string16 /* tooltip text string */,
1842 WebKit::WebTextDirection /* text direction hint */) 1843 WebKit::WebTextDirection /* text direction hint */)
1843 1844
1845 IPC_MESSAGE_ROUTED0(ViewHostMsg_SelectRange_ACK)
1846
1844 // Notification that the text selection has changed. 1847 // Notification that the text selection has changed.
1845 // Note: The secound parameter is the character based offset of the string16 1848 // Note: The secound parameter is the character based offset of the string16
1846 // text in the document. 1849 // text in the document.
1847 IPC_MESSAGE_ROUTED3(ViewHostMsg_SelectionChanged, 1850 IPC_MESSAGE_ROUTED3(ViewHostMsg_SelectionChanged,
1848 string16 /* text covers the selection range */, 1851 string16 /* text covers the selection range */,
1849 size_t /* the offset of the text in the document */, 1852 size_t /* the offset of the text in the document */,
1850 ui::Range /* selection range in the document */) 1853 ui::Range /* selection range in the document */)
1851 1854
1852 // Notification that the selection bounds have changed. 1855 // Notification that the selection bounds have changed.
1853 IPC_MESSAGE_ROUTED4(ViewHostMsg_SelectionBoundsChanged, 1856 IPC_MESSAGE_ROUTED4(ViewHostMsg_SelectionBoundsChanged,
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
2172 // (according to the value of is_hung). The browser can give the user the 2175 // (according to the value of is_hung). The browser can give the user the
2173 // option of killing the plugin. 2176 // option of killing the plugin.
2174 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung, 2177 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung,
2175 int /* plugin_child_id */, 2178 int /* plugin_child_id */,
2176 FilePath /* path */, 2179 FilePath /* path */,
2177 bool /* is_hung */) 2180 bool /* is_hung */)
2178 2181
2179 // Screen was rotated. Dispatched to the onorientationchange javascript API. 2182 // Screen was rotated. Dispatched to the onorientationchange javascript API.
2180 IPC_MESSAGE_ROUTED1(ViewMsg_OrientationChangeEvent, 2183 IPC_MESSAGE_ROUTED1(ViewMsg_OrientationChangeEvent,
2181 int /* orientation */) 2184 int /* orientation */)
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_impl.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698