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/input_method_win.h

Issue 2298123003: Using input language instead of the application locale to determine the Omnibox's text input type o… (Closed)
Patch Set: ..... Created 4 years, 3 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
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 13 matching lines...) Expand all
24 ~InputMethodWin() override; 24 ~InputMethodWin() override;
25 25
26 // Overridden from InputMethod: 26 // Overridden from InputMethod:
27 bool OnUntranslatedIMEMessage(const base::NativeEvent& event, 27 bool OnUntranslatedIMEMessage(const base::NativeEvent& event,
28 NativeEventResult* result) override; 28 NativeEventResult* result) override;
29 void DispatchKeyEvent(ui::KeyEvent* event) override; 29 void DispatchKeyEvent(ui::KeyEvent* event) override;
30 void OnTextInputTypeChanged(const TextInputClient* client) override; 30 void OnTextInputTypeChanged(const TextInputClient* client) override;
31 void OnCaretBoundsChanged(const TextInputClient* client) override; 31 void OnCaretBoundsChanged(const TextInputClient* client) override;
32 void CancelComposition(const TextInputClient* client) override; 32 void CancelComposition(const TextInputClient* client) override;
33 void OnInputLocaleChanged() override; 33 void OnInputLocaleChanged() override;
34 std::string GetInputLocale() override; 34 bool IsInputLocaleCJK() const override;
35 bool IsCandidatePopupOpen() const override; 35 bool IsCandidatePopupOpen() const override;
36 36
37 protected: 37 protected:
38 // Overridden from InputMethodBase: 38 // Overridden from InputMethodBase:
39 // If a derived class overrides this method, it should call parent's 39 // If a derived class overrides this method, it should call parent's
40 // implementation. 40 // implementation.
41 void OnWillChangeFocusedClient(TextInputClient* focused_before, 41 void OnWillChangeFocusedClient(TextInputClient* focused_before,
42 TextInputClient* focused) override; 42 TextInputClient* focused) override;
43 void OnDidChangeFocusedClient(TextInputClient* focused_before, 43 void OnDidChangeFocusedClient(TextInputClient* focused_before,
44 TextInputClient* focused) override; 44 TextInputClient* focused) override;
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 136
137 // Used for making callbacks. 137 // Used for making callbacks.
138 base::WeakPtrFactory<InputMethodWin> weak_ptr_factory_; 138 base::WeakPtrFactory<InputMethodWin> weak_ptr_factory_;
139 139
140 DISALLOW_COPY_AND_ASSIGN(InputMethodWin); 140 DISALLOW_COPY_AND_ASSIGN(InputMethodWin);
141 }; 141 };
142 142
143 } // namespace ui 143 } // namespace ui
144 144
145 #endif // UI_BASE_IME_INPUT_METHOD_WIN_H_ 145 #endif // UI_BASE_IME_INPUT_METHOD_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698