OLD | NEW |
---|---|
(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_ | |
OLD | NEW |