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

Side by Side Diff: ui/base/ime/input_method_minimal.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/input_method_minimal.h ('k') | ui/base/ime/input_method_win.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/input_method_minimal.h" 5 #include "ui/base/ime/input_method_minimal.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include "ui/base/ime/text_input_client.h" 9 #include "ui/base/ime/text_input_client.h"
10 #include "ui/events/event.h" 10 #include "ui/events/event.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 GetTextInputClient()->InsertChar(*event); 42 GetTextInputClient()->InsertChar(*event);
43 event->StopPropagation(); 43 event->StopPropagation();
44 } 44 }
45 } 45 }
46 } 46 }
47 47
48 void InputMethodMinimal::OnCaretBoundsChanged(const TextInputClient* client) {} 48 void InputMethodMinimal::OnCaretBoundsChanged(const TextInputClient* client) {}
49 49
50 void InputMethodMinimal::CancelComposition(const TextInputClient* client) {} 50 void InputMethodMinimal::CancelComposition(const TextInputClient* client) {}
51 51
52 void InputMethodMinimal::OnInputLocaleChanged() {}
53
54 std::string InputMethodMinimal::GetInputLocale() {
55 return std::string();
56 }
57
58 bool InputMethodMinimal::IsCandidatePopupOpen() const { 52 bool InputMethodMinimal::IsCandidatePopupOpen() const {
59 return false; 53 return false;
60 } 54 }
61 55
62 } // namespace ui 56 } // namespace ui
OLDNEW
« no previous file with comments | « ui/base/ime/input_method_minimal.h ('k') | ui/base/ime/input_method_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698