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

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

Issue 80583002: [FYI] All-in-one OnCandidateWindow{Show,Update,Hide} (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 1084 matching lines...) Expand 10 before | Expand all | Expand 10 after
1095 // Indicates if an input method is active in the browser process. 1095 // Indicates if an input method is active in the browser process.
1096 // The possible actions when a renderer process receives this message are 1096 // The possible actions when a renderer process receives this message are
1097 // listed below: 1097 // listed below:
1098 // Value Action 1098 // Value Action
1099 // true Start sending IPC message ViewHostMsg_ImeUpdateTextInputState 1099 // true Start sending IPC message ViewHostMsg_ImeUpdateTextInputState
1100 // to notify the input method status of the focused edit control. 1100 // to notify the input method status of the focused edit control.
1101 // false Stop sending IPC message ViewHostMsg_ImeUpdateTextInputState. 1101 // false Stop sending IPC message ViewHostMsg_ImeUpdateTextInputState.
1102 IPC_MESSAGE_ROUTED1(ViewMsg_SetInputMethodActive, 1102 IPC_MESSAGE_ROUTED1(ViewMsg_SetInputMethodActive,
1103 bool /* is_active */) 1103 bool /* is_active */)
1104 1104
1105 // IME API oncandidatewindow* events for InputMethodContext.
1106 IPC_MESSAGE_ROUTED0(ViewMsg_CandidateWindowShow)
1107 IPC_MESSAGE_ROUTED0(ViewMsg_CandidateWindowUpdate)
1108 IPC_MESSAGE_ROUTED0(ViewMsg_CandidateWindowHide)
1109
1105 // This message sends a string being composed with an input method. 1110 // This message sends a string being composed with an input method.
1106 IPC_MESSAGE_ROUTED4( 1111 IPC_MESSAGE_ROUTED4(
1107 ViewMsg_ImeSetComposition, 1112 ViewMsg_ImeSetComposition,
1108 string16, /* text */ 1113 string16, /* text */
1109 std::vector<blink::WebCompositionUnderline>, /* underlines */ 1114 std::vector<blink::WebCompositionUnderline>, /* underlines */
1110 int, /* selectiont_start */ 1115 int, /* selectiont_start */
1111 int /* selection_end */) 1116 int /* selection_end */)
1112 1117
1113 // This message confirms an ongoing composition. 1118 // This message confirms an ongoing composition.
1114 IPC_MESSAGE_ROUTED3(ViewMsg_ImeConfirmComposition, 1119 IPC_MESSAGE_ROUTED3(ViewMsg_ImeConfirmComposition,
(...skipping 1262 matching lines...) Expand 10 before | Expand all | Expand 10 after
2377 // synchronously (see crbug.com/120597). This IPC message sends the character 2382 // synchronously (see crbug.com/120597). This IPC message sends the character
2378 // bounds after every composition change to always have correct bound info. 2383 // bounds after every composition change to always have correct bound info.
2379 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, 2384 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged,
2380 gfx::Range /* composition range */, 2385 gfx::Range /* composition range */,
2381 std::vector<gfx::Rect> /* character bounds */) 2386 std::vector<gfx::Rect> /* character bounds */)
2382 #endif 2387 #endif
2383 2388
2384 // Adding a new message? Stick to the sort order above: first platform 2389 // Adding a new message? Stick to the sort order above: first platform
2385 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 2390 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
2386 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 2391 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698