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

Side by Side Diff: ui/base/ime/input_method_base.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_auralinux.cc ('k') | ui/base/ime/input_method_base.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_BASE_H_ 5 #ifndef UI_BASE_IME_INPUT_METHOD_BASE_H_
6 #define UI_BASE_IME_INPUT_METHOD_BASE_H_ 6 #define UI_BASE_IME_INPUT_METHOD_BASE_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 29 matching lines...) Expand all
40 void SetDelegate(internal::InputMethodDelegate* delegate) override; 40 void SetDelegate(internal::InputMethodDelegate* delegate) override;
41 void OnFocus() override; 41 void OnFocus() override;
42 void OnBlur() override; 42 void OnBlur() override;
43 void SetFocusedTextInputClient(TextInputClient* client) override; 43 void SetFocusedTextInputClient(TextInputClient* client) override;
44 void DetachTextInputClient(TextInputClient* client) override; 44 void DetachTextInputClient(TextInputClient* client) override;
45 TextInputClient* GetTextInputClient() const override; 45 TextInputClient* GetTextInputClient() const override;
46 46
47 // If a derived class overrides this method, it should call parent's 47 // If a derived class overrides this method, it should call parent's
48 // implementation. 48 // implementation.
49 void OnTextInputTypeChanged(const TextInputClient* client) override; 49 void OnTextInputTypeChanged(const TextInputClient* client) override;
50 void OnInputLocaleChanged() override;
51 bool IsInputLocaleCJK() const override;
50 52
51 TextInputType GetTextInputType() const override; 53 TextInputType GetTextInputType() const override;
52 TextInputMode GetTextInputMode() const override; 54 TextInputMode GetTextInputMode() const override;
53 int GetTextInputFlags() const override; 55 int GetTextInputFlags() const override;
54 bool CanComposeInline() const override; 56 bool CanComposeInline() const override;
55 void ShowImeIfNeeded() override; 57 void ShowImeIfNeeded() override;
56 58
57 void AddObserver(InputMethodObserver* observer) override; 59 void AddObserver(InputMethodObserver* observer) override;
58 void RemoveObserver(InputMethodObserver* observer) override; 60 void RemoveObserver(InputMethodObserver* observer) override;
59 61
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 base::ObserverList<InputMethodObserver> observer_list_; 123 base::ObserverList<InputMethodObserver> observer_list_;
122 124
123 std::vector<std::unique_ptr<ui::KeyEvent>> key_events_for_testing_; 125 std::vector<std::unique_ptr<ui::KeyEvent>> key_events_for_testing_;
124 126
125 DISALLOW_COPY_AND_ASSIGN(InputMethodBase); 127 DISALLOW_COPY_AND_ASSIGN(InputMethodBase);
126 }; 128 };
127 129
128 } // namespace ui 130 } // namespace ui
129 131
130 #endif // UI_BASE_IME_INPUT_METHOD_BASE_H_ 132 #endif // UI_BASE_IME_INPUT_METHOD_BASE_H_
OLDNEW
« no previous file with comments | « ui/base/ime/input_method_auralinux.cc ('k') | ui/base/ime/input_method_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698