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

Side by Side Diff: ui/base/ime/remote_input_method_delegate_win.h

Issue 67503004: Introduce RemoteInputMethodWin (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comment Created 7 years, 1 month 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
« no previous file with comments | « ui/base/ime/ime_unittests.gypi ('k') | ui/base/ime/remote_input_method_win.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef UI_BASE_IME_REMOTE_INPUT_METHOD_DELEGATE_WIN_H_
6 #define UI_BASE_IME_REMOTE_INPUT_METHOD_DELEGATE_WIN_H_
7
8 #include <vector>
9
10 #include "base/basictypes.h"
11 #include "ui/base/ui_export.h"
12 #include "ui/gfx/rect.h"
13
14 namespace ui {
15 namespace internal {
16
17 // An interface implemented by the object to forward events that should be
18 // handled by the IME which is running in the remote metro_driver process.
19 class UI_EXPORT RemoteInputMethodDelegateWin {
20 public:
21 virtual ~RemoteInputMethodDelegateWin() {}
22
23 // Notifies that composition should be canceled (if any).
24 virtual void CancelComposition() = 0;
25
26 // Notifies that properties of the focused TextInputClient is changed.
27 // Note that an empty |input_scopes| represents that TextInputType is
28 // TEXT_INPUT_TYPE_NONE.
29 virtual void OnTextInputClientUpdated(
30 const std::vector<int32>& input_scopes,
Hiro Komatsu 2013/11/20 05:19:07 Is it possible to use enum or typedef? If no, ple
yukawa 2013/11/20 06:26:53 It's not plausible because this data will be packe
31 const std::vector<gfx::Rect>& composition_character_bounds) = 0;
32 };
33
34 } // namespace internal
35 } // namespace ui
36
37 #endif // UI_BASE_IME_REMOTE_INPUT_METHOD_DELEGATE_WIN_H_
OLDNEW
« no previous file with comments | « ui/base/ime/ime_unittests.gypi ('k') | ui/base/ime/remote_input_method_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698