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

Side by Side Diff: ui/base/ime/dummy_input_method.cc

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/dummy_input_method.h ('k') | ui/base/ime/input_method.h » ('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 #include "ui/base/ime/dummy_input_method.h" 5 #include "ui/base/ime/dummy_input_method.h"
6 #include "ui/events/event.h" 6 #include "ui/events/event.h"
7 7
8 namespace ui { 8 namespace ui {
9 9
10 DummyInputMethod::DummyInputMethod() { 10 DummyInputMethod::DummyInputMethod() {
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 45
46 void DummyInputMethod::OnCaretBoundsChanged(const TextInputClient* client) { 46 void DummyInputMethod::OnCaretBoundsChanged(const TextInputClient* client) {
47 } 47 }
48 48
49 void DummyInputMethod::CancelComposition(const TextInputClient* client) { 49 void DummyInputMethod::CancelComposition(const TextInputClient* client) {
50 } 50 }
51 51
52 void DummyInputMethod::OnInputLocaleChanged() { 52 void DummyInputMethod::OnInputLocaleChanged() {
53 } 53 }
54 54
55 std::string DummyInputMethod::GetInputLocale() { 55 bool DummyInputMethod::IsInputLocaleCJK() const {
56 return std::string(); 56 return false;
57 } 57 }
58 58
59 TextInputType DummyInputMethod::GetTextInputType() const { 59 TextInputType DummyInputMethod::GetTextInputType() const {
60 return TEXT_INPUT_TYPE_NONE; 60 return TEXT_INPUT_TYPE_NONE;
61 } 61 }
62 62
63 TextInputMode DummyInputMethod::GetTextInputMode() const { 63 TextInputMode DummyInputMethod::GetTextInputMode() const {
64 return TEXT_INPUT_MODE_DEFAULT; 64 return TEXT_INPUT_MODE_DEFAULT;
65 } 65 }
66 66
(...skipping 17 matching lines...) Expand all
84 84
85 void DummyInputMethod::RemoveObserver(InputMethodObserver* observer) { 85 void DummyInputMethod::RemoveObserver(InputMethodObserver* observer) {
86 } 86 }
87 87
88 const std::vector<std::unique_ptr<KeyEvent>>& 88 const std::vector<std::unique_ptr<KeyEvent>>&
89 DummyInputMethod::GetKeyEventsForTesting() { 89 DummyInputMethod::GetKeyEventsForTesting() {
90 return key_events_for_testing_; 90 return key_events_for_testing_;
91 } 91 }
92 92
93 } // namespace ui 93 } // namespace ui
OLDNEW
« no previous file with comments | « ui/base/ime/dummy_input_method.h ('k') | ui/base/ime/input_method.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698