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

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

Issue 13235003: Support the Text services framework based IME for Chrome AURA on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « ui/aura/test/aura_test_base.cc ('k') | ui/base/ime/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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_INPUT_METHOD_WIN_H_ 5 #ifndef UI_BASE_IME_INPUT_METHOD_WIN_H_
6 #define UI_BASE_IME_INPUT_METHOD_WIN_H_ 6 #define UI_BASE_IME_INPUT_METHOD_WIN_H_
7 7
8 #include <windows.h> 8 #include <windows.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 17 matching lines...) Expand all
28 virtual void OnBlur() OVERRIDE; 28 virtual void OnBlur() OVERRIDE;
29 virtual bool DispatchKeyEvent( 29 virtual bool DispatchKeyEvent(
30 const base::NativeEvent& native_key_event) OVERRIDE; 30 const base::NativeEvent& native_key_event) OVERRIDE;
31 virtual bool DispatchFabricatedKeyEvent(const ui::KeyEvent& event) OVERRIDE; 31 virtual bool DispatchFabricatedKeyEvent(const ui::KeyEvent& event) OVERRIDE;
32 virtual void OnTextInputTypeChanged(const TextInputClient* client) OVERRIDE; 32 virtual void OnTextInputTypeChanged(const TextInputClient* client) OVERRIDE;
33 virtual void OnCaretBoundsChanged(const TextInputClient* client) OVERRIDE; 33 virtual void OnCaretBoundsChanged(const TextInputClient* client) OVERRIDE;
34 virtual void CancelComposition(const TextInputClient* client) OVERRIDE; 34 virtual void CancelComposition(const TextInputClient* client) OVERRIDE;
35 virtual std::string GetInputLocale() OVERRIDE; 35 virtual std::string GetInputLocale() OVERRIDE;
36 virtual base::i18n::TextDirection GetInputTextDirection() OVERRIDE; 36 virtual base::i18n::TextDirection GetInputTextDirection() OVERRIDE;
37 virtual bool IsActive() OVERRIDE; 37 virtual bool IsActive() OVERRIDE;
38 virtual void SetFocusedTextInputClient(TextInputClient* client) OVERRIDE;
39 virtual TextInputClient* GetTextInputClient() const OVERRIDE;
38 40
39 // Handles IME messages. 41 // Handles IME messages.
40 LRESULT OnImeMessages(UINT message, 42 LRESULT OnImeMessages(UINT message,
41 WPARAM wparam, 43 WPARAM wparam,
42 LPARAM lparam, 44 LPARAM lparam,
43 BOOL* handled); 45 BOOL* handled);
44 46
45 // Message handlers. The native widget is responsible for forwarding following 47 // Message handlers. The native widget is responsible for forwarding following
46 // messages to the input method. 48 // messages to the input method.
47 void OnInputLangChange(DWORD character_set, HKL input_language_id); 49 void OnInputLangChange(DWORD character_set, HKL input_language_id);
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 ui::ImeInput ime_input_; 112 ui::ImeInput ime_input_;
111 113
112 bool enabled_; 114 bool enabled_;
113 115
114 DISALLOW_COPY_AND_ASSIGN(InputMethodWin); 116 DISALLOW_COPY_AND_ASSIGN(InputMethodWin);
115 }; 117 };
116 118
117 } // namespace ui 119 } // namespace ui
118 120
119 #endif // UI_BASE_IME_INPUT_METHOD_WIN_H_ 121 #endif // UI_BASE_IME_INPUT_METHOD_WIN_H_
OLDNEW
« no previous file with comments | « ui/aura/test/aura_test_base.cc ('k') | ui/base/ime/input_method_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698