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

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

Issue 2298123003: Using input language instead of the application locale to determine the Omnibox's text input type o… (Closed)
Patch Set: fix compiling errors in mus. 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
« no previous file with comments | « ui/base/ime/input_method_android.cc ('k') | ui/base/ime/input_method_auralinux.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_INPUT_METHOD_AURALINUX_H_ 5 #ifndef UI_BASE_IME_INPUT_METHOD_AURALINUX_H_
6 #define UI_BASE_IME_INPUT_METHOD_AURALINUX_H_ 6 #define UI_BASE_IME_INPUT_METHOD_AURALINUX_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 15 matching lines...) Expand all
26 26
27 LinuxInputMethodContext* GetContextForTesting(bool is_simple); 27 LinuxInputMethodContext* GetContextForTesting(bool is_simple);
28 28
29 // Overriden from InputMethod. 29 // Overriden from InputMethod.
30 bool OnUntranslatedIMEMessage(const base::NativeEvent& event, 30 bool OnUntranslatedIMEMessage(const base::NativeEvent& event,
31 NativeEventResult* result) override; 31 NativeEventResult* result) override;
32 void DispatchKeyEvent(ui::KeyEvent* event) override; 32 void DispatchKeyEvent(ui::KeyEvent* event) override;
33 void OnTextInputTypeChanged(const TextInputClient* client) override; 33 void OnTextInputTypeChanged(const TextInputClient* client) override;
34 void OnCaretBoundsChanged(const TextInputClient* client) override; 34 void OnCaretBoundsChanged(const TextInputClient* client) override;
35 void CancelComposition(const TextInputClient* client) override; 35 void CancelComposition(const TextInputClient* client) override;
36 void OnInputLocaleChanged() override;
37 std::string GetInputLocale() override;
38 bool IsCandidatePopupOpen() const override; 36 bool IsCandidatePopupOpen() const override;
39 37
40 // Overriden from ui::LinuxInputMethodContextDelegate 38 // Overriden from ui::LinuxInputMethodContextDelegate
41 void OnCommit(const base::string16& text) override; 39 void OnCommit(const base::string16& text) override;
42 void OnPreeditChanged(const CompositionText& composition_text) override; 40 void OnPreeditChanged(const CompositionText& composition_text) override;
43 void OnPreeditEnd() override; 41 void OnPreeditEnd() override;
44 void OnPreeditStart() override{}; 42 void OnPreeditStart() override{};
45 43
46 protected: 44 protected:
47 // Overridden from InputMethodBase. 45 // Overridden from InputMethodBase.
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 96
99 // Used for making callbacks. 97 // Used for making callbacks.
100 base::WeakPtrFactory<InputMethodAuraLinux> weak_ptr_factory_; 98 base::WeakPtrFactory<InputMethodAuraLinux> weak_ptr_factory_;
101 99
102 DISALLOW_COPY_AND_ASSIGN(InputMethodAuraLinux); 100 DISALLOW_COPY_AND_ASSIGN(InputMethodAuraLinux);
103 }; 101 };
104 102
105 } // namespace ui 103 } // namespace ui
106 104
107 #endif // UI_BASE_IME_INPUT_METHOD_AURALINUX_H_ 105 #endif // UI_BASE_IME_INPUT_METHOD_AURALINUX_H_
OLDNEW
« no previous file with comments | « ui/base/ime/input_method_android.cc ('k') | ui/base/ime/input_method_auralinux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698