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

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

Issue 2703643004: [TTS] Add an ACK message to SelectWordAroundCaret. (Closed)
Patch Set: Clean up the logic in render_view_impl.cc Created 3 years, 10 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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 864 matching lines...) Expand 10 before | Expand all | Expand 10 after
875 IPC_MESSAGE_ROUTED2(ViewHostMsg_StartContentIntent, 875 IPC_MESSAGE_ROUTED2(ViewHostMsg_StartContentIntent,
876 GURL /* content_url */, 876 GURL /* content_url */,
877 bool /* is_main_frame */) 877 bool /* is_main_frame */)
878 878
879 // Notifies that an unhandled tap has occurred at the specified x,y position 879 // Notifies that an unhandled tap has occurred at the specified x,y position
880 // and that the UI may need to be triggered. 880 // and that the UI may need to be triggered.
881 IPC_MESSAGE_ROUTED2(ViewHostMsg_ShowUnhandledTapUIIfNeeded, 881 IPC_MESSAGE_ROUTED2(ViewHostMsg_ShowUnhandledTapUIIfNeeded,
882 int /* x */, 882 int /* x */,
883 int /* y */) 883 int /* y */)
884 884
885 // Acknowledges that a SelectWordAroundCaret completed with the specified
886 // result and adjustments to the selection offsets.
887 IPC_MESSAGE_ROUTED3(ViewHostMsg_SelectWordAroundCaret_ACK,
888 bool /* did_select */,
889 int /* start_adjust */,
890 int /* end_adjust */)
891
885 #elif defined(OS_MACOSX) 892 #elif defined(OS_MACOSX)
886 // Receives content of a web page as plain text. 893 // Receives content of a web page as plain text.
887 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) 894 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string)
888 #endif 895 #endif
889 896
890 // Adding a new message? Stick to the sort order above: first platform 897 // Adding a new message? Stick to the sort order above: first platform
891 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 898 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
892 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 899 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698