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

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

Issue 1586843002: Remove remote tree host and some related input and metro_driver code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@metro-mode-3
Patch Set: remove ash_unittests from being run Created 4 years, 11 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
« no previous file with comments | « ui/base/ime/input_method_factory.cc ('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 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 <stdint.h>
9
10 #include <vector>
11
12 #include "ui/base/ime/ui_base_ime_export.h"
13 #include "ui/gfx/geometry/rect.h"
14
15 namespace ui {
16 namespace internal {
17
18 // An interface implemented by the object to forward events that should be
19 // handled by the IME which is running in the remote metro_driver process.
20 class UI_BASE_IME_EXPORT RemoteInputMethodDelegateWin {
21 public:
22 virtual ~RemoteInputMethodDelegateWin() {}
23
24 // Notifies that composition should be canceled (if any).
25 virtual void CancelComposition() = 0;
26
27 // Notifies that properties of the focused TextInputClient is changed.
28 // Note that an empty |input_scopes| represents that TextInputType is
29 // TEXT_INPUT_TYPE_NONE.
30 // Caveats: |input_scopes| is defined as std::vector<int32_t> rather than
31 // std::vector<InputScope> because the wire format of IPC message
32 // MetroViewerHostMsg_ImeTextInputClientUpdated uses std::vector<int32_t> to
33 // avoid dependency on <InputScope.h> header.
34 virtual void OnTextInputClientUpdated(
35 const std::vector<int32_t>& input_scopes,
36 const std::vector<gfx::Rect>& composition_character_bounds) = 0;
37 };
38
39 } // namespace internal
40 } // namespace ui
41
42 #endif // UI_BASE_IME_REMOTE_INPUT_METHOD_DELEGATE_WIN_H_
OLDNEW
« no previous file with comments | « ui/base/ime/input_method_factory.cc ('k') | ui/base/ime/remote_input_method_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698