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

Side by Side Diff: chrome/common/render_messages_internal.h

Issue 6363001: Makes chrome pass down the length of text as the end of the (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add support for selection_end and fix selectionStart Created 9 years, 11 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 | « chrome/browser/renderer_host/render_view_host.cc ('k') | chrome/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 #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 804 matching lines...) Expand 10 before | Expand all | Expand 10 after
815 // ViewHostMsg_ShowWidget to inform the renderer that the browser has 815 // ViewHostMsg_ShowWidget to inform the renderer that the browser has
816 // processed the move. The browser may have ignored the move, but it finished 816 // processed the move. The browser may have ignored the move, but it finished
817 // processing. This is used because the renderer keeps a temporary cache of 817 // processing. This is used because the renderer keeps a temporary cache of
818 // the widget position while these asynchronous operations are in progress. 818 // the widget position while these asynchronous operations are in progress.
819 IPC_MESSAGE_ROUTED0(ViewMsg_Move_ACK) 819 IPC_MESSAGE_ROUTED0(ViewMsg_Move_ACK)
820 820
821 // Used to instruct the RenderView to send back updates to the preferred size. 821 // Used to instruct the RenderView to send back updates to the preferred size.
822 IPC_MESSAGE_ROUTED1(ViewMsg_EnablePreferredSizeChangedMode, int /*flags*/) 822 IPC_MESSAGE_ROUTED1(ViewMsg_EnablePreferredSizeChangedMode, int /*flags*/)
823 823
824 IPC_MESSAGE_ROUTED4(ViewMsg_SearchBoxChange, 824 IPC_MESSAGE_ROUTED4(ViewMsg_SearchBoxChange,
825 string16 /*value*/, 825 string16 /* value */,
826 bool /*verbatim*/, 826 bool /* verbatim */,
827 int /*selection_start*/, 827 int /* selection_start */,
828 int /*selection_end*/) 828 int /* selection_end */)
829 IPC_MESSAGE_ROUTED2(ViewMsg_SearchBoxSubmit, 829 IPC_MESSAGE_ROUTED2(ViewMsg_SearchBoxSubmit,
830 string16 /*value*/, 830 string16 /* value */,
831 bool /*verbatim*/) 831 bool /* verbatim */)
832 IPC_MESSAGE_ROUTED0(ViewMsg_SearchBoxCancel) 832 IPC_MESSAGE_ROUTED0(ViewMsg_SearchBoxCancel)
833 IPC_MESSAGE_ROUTED1(ViewMsg_SearchBoxResize, 833 IPC_MESSAGE_ROUTED1(ViewMsg_SearchBoxResize,
834 gfx::Rect /*search_box_bounds*/) 834 gfx::Rect /* search_box_bounds */)
835 IPC_MESSAGE_ROUTED2(ViewMsg_DetermineIfPageSupportsInstant, 835 IPC_MESSAGE_ROUTED4(ViewMsg_DetermineIfPageSupportsInstant,
836 string16 /*value*/, 836 string16 /* value*/,
837 bool /* verbatim */) 837 bool /* verbatim */,
838 int /* selection_start */,
839 int /* selection_end */)
838 840
839 // Used to tell the renderer not to add scrollbars with height and 841 // Used to tell the renderer not to add scrollbars with height and
840 // width below a threshold. 842 // width below a threshold.
841 IPC_MESSAGE_ROUTED1(ViewMsg_DisableScrollbarsForSmallWindows, 843 IPC_MESSAGE_ROUTED1(ViewMsg_DisableScrollbarsForSmallWindows,
842 gfx::Size /* disable_scrollbar_size_limit */) 844 gfx::Size /* disable_scrollbar_size_limit */)
843 845
844 // Used to inform the renderer that the browser has displayed its 846 // Used to inform the renderer that the browser has displayed its
845 // requested notification. 847 // requested notification.
846 IPC_MESSAGE_ROUTED1(ViewMsg_PostDisplayToNotificationObject, 848 IPC_MESSAGE_ROUTED1(ViewMsg_PostDisplayToNotificationObject,
847 int /* notification_id */) 849 int /* notification_id */)
(...skipping 1770 matching lines...) Expand 10 before | Expand all | Expand 10 after
2618 int /* request_id */, 2620 int /* request_id */,
2619 PP_Flash_NetAddress /* addr */) 2621 PP_Flash_NetAddress /* addr */)
2620 2622
2621 // JavaScript related messages ----------------------------------------------- 2623 // JavaScript related messages -----------------------------------------------
2622 2624
2623 // Notify the JavaScript engine in the render to change its parameters 2625 // Notify the JavaScript engine in the render to change its parameters
2624 // while performing stress testing. 2626 // while performing stress testing.
2625 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, 2627 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl,
2626 int /* cmd */, 2628 int /* cmd */,
2627 int /* param */) 2629 int /* param */)
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/render_view_host.cc ('k') | chrome/renderer/render_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698