OLD | NEW |
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 Loading... |
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 |
OLD | NEW |