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

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

Issue 84963003: Add candidatewindow* events related IPCs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years 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
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/memory/shared_memory.h" 8 #include "base/memory/shared_memory.h"
9 #include "base/process/process.h" 9 #include "base/process/process.h"
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 1081 matching lines...) Expand 10 before | Expand all | Expand 10 after
1092 // Indicates if an input method is active in the browser process. 1092 // Indicates if an input method is active in the browser process.
1093 // The possible actions when a renderer process receives this message are 1093 // The possible actions when a renderer process receives this message are
1094 // listed below: 1094 // listed below:
1095 // Value Action 1095 // Value Action
1096 // true Start sending IPC message ViewHostMsg_ImeUpdateTextInputState 1096 // true Start sending IPC message ViewHostMsg_ImeUpdateTextInputState
1097 // to notify the input method status of the focused edit control. 1097 // to notify the input method status of the focused edit control.
1098 // false Stop sending IPC message ViewHostMsg_ImeUpdateTextInputState. 1098 // false Stop sending IPC message ViewHostMsg_ImeUpdateTextInputState.
1099 IPC_MESSAGE_ROUTED1(ViewMsg_SetInputMethodActive, 1099 IPC_MESSAGE_ROUTED1(ViewMsg_SetInputMethodActive,
1100 bool /* is_active */) 1100 bool /* is_active */)
1101 1101
1102 // IME API oncandidatewindow* events for InputMethodContext.
1103 IPC_MESSAGE_ROUTED0(ViewMsg_CandidateWindowShown)
1104 IPC_MESSAGE_ROUTED0(ViewMsg_CandidateWindowUpdated)
1105 IPC_MESSAGE_ROUTED0(ViewMsg_CandidateWindowHidden)
1106
1102 // This message sends a string being composed with an input method. 1107 // This message sends a string being composed with an input method.
1103 IPC_MESSAGE_ROUTED4( 1108 IPC_MESSAGE_ROUTED4(
1104 ViewMsg_ImeSetComposition, 1109 ViewMsg_ImeSetComposition,
1105 string16, /* text */ 1110 string16, /* text */
1106 std::vector<blink::WebCompositionUnderline>, /* underlines */ 1111 std::vector<blink::WebCompositionUnderline>, /* underlines */
1107 int, /* selectiont_start */ 1112 int, /* selectiont_start */
1108 int /* selection_end */) 1113 int /* selection_end */)
1109 1114
1110 // This message confirms an ongoing composition. 1115 // This message confirms an ongoing composition.
1111 IPC_MESSAGE_ROUTED3(ViewMsg_ImeConfirmComposition, 1116 IPC_MESSAGE_ROUTED3(ViewMsg_ImeConfirmComposition,
(...skipping 1242 matching lines...) Expand 10 before | Expand all | Expand 10 after
2354 // synchronously (see crbug.com/120597). This IPC message sends the character 2359 // synchronously (see crbug.com/120597). This IPC message sends the character
2355 // bounds after every composition change to always have correct bound info. 2360 // bounds after every composition change to always have correct bound info.
2356 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, 2361 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged,
2357 gfx::Range /* composition range */, 2362 gfx::Range /* composition range */,
2358 std::vector<gfx::Rect> /* character bounds */) 2363 std::vector<gfx::Rect> /* character bounds */)
2359 #endif 2364 #endif
2360 2365
2361 // Adding a new message? Stick to the sort order above: first platform 2366 // Adding a new message? Stick to the sort order above: first platform
2362 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 2367 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
2363 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 2368 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_aura.cc ('k') | content/renderer/render_view_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698