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

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

Issue 823133004: Cleanup: Update the path to gfx rect headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rect_f.h Created 5 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_chromeos.cc ('k') | ui/base/ime/remote_input_method_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 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 #ifndef UI_BASE_IME_REMOTE_INPUT_METHOD_DELEGATE_WIN_H_ 5 #ifndef UI_BASE_IME_REMOTE_INPUT_METHOD_DELEGATE_WIN_H_
6 #define UI_BASE_IME_REMOTE_INPUT_METHOD_DELEGATE_WIN_H_ 6 #define UI_BASE_IME_REMOTE_INPUT_METHOD_DELEGATE_WIN_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "ui/base/ui_base_export.h" 11 #include "ui/base/ui_base_export.h"
12 #include "ui/gfx/rect.h" 12 #include "ui/gfx/geometry/rect.h"
13 13
14 namespace ui { 14 namespace ui {
15 namespace internal { 15 namespace internal {
16 16
17 // An interface implemented by the object to forward events that should be 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. 18 // handled by the IME which is running in the remote metro_driver process.
19 class UI_BASE_EXPORT RemoteInputMethodDelegateWin { 19 class UI_BASE_EXPORT RemoteInputMethodDelegateWin {
20 public: 20 public:
21 virtual ~RemoteInputMethodDelegateWin() {} 21 virtual ~RemoteInputMethodDelegateWin() {}
22 22
23 // Notifies that composition should be canceled (if any). 23 // Notifies that composition should be canceled (if any).
24 virtual void CancelComposition() = 0; 24 virtual void CancelComposition() = 0;
25 25
26 // Notifies that properties of the focused TextInputClient is changed. 26 // Notifies that properties of the focused TextInputClient is changed.
27 // Note that an empty |input_scopes| represents that TextInputType is 27 // Note that an empty |input_scopes| represents that TextInputType is
28 // TEXT_INPUT_TYPE_NONE. 28 // TEXT_INPUT_TYPE_NONE.
29 // Caveats: |input_scopes| is defined as std::vector<int32> rather than 29 // Caveats: |input_scopes| is defined as std::vector<int32> rather than
30 // std::vector<InputScope> because the wire format of IPC message 30 // std::vector<InputScope> because the wire format of IPC message
31 // MetroViewerHostMsg_ImeTextInputClientUpdated uses std::vector<int32> to 31 // MetroViewerHostMsg_ImeTextInputClientUpdated uses std::vector<int32> to
32 // avoid dependency on <InputScope.h> header. 32 // avoid dependency on <InputScope.h> header.
33 virtual void OnTextInputClientUpdated( 33 virtual void OnTextInputClientUpdated(
34 const std::vector<int32>& input_scopes, 34 const std::vector<int32>& input_scopes,
35 const std::vector<gfx::Rect>& composition_character_bounds) = 0; 35 const std::vector<gfx::Rect>& composition_character_bounds) = 0;
36 }; 36 };
37 37
38 } // namespace internal 38 } // namespace internal
39 } // namespace ui 39 } // namespace ui
40 40
41 #endif // UI_BASE_IME_REMOTE_INPUT_METHOD_DELEGATE_WIN_H_ 41 #endif // UI_BASE_IME_REMOTE_INPUT_METHOD_DELEGATE_WIN_H_
OLDNEW
« no previous file with comments | « ui/base/ime/input_method_chromeos.cc ('k') | ui/base/ime/remote_input_method_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698