OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_mac.h" | 5 #include "ui/base/ime/input_method_mac.h" |
6 | 6 |
7 namespace ui { | 7 namespace ui { |
8 | 8 |
9 InputMethodMac::InputMethodMac(internal::InputMethodDelegate* delegate) { | 9 InputMethodMac::InputMethodMac(internal::InputMethodDelegate* delegate) { |
10 SetDelegate(delegate); | 10 SetDelegate(delegate); |
(...skipping 18 matching lines...) Expand all Loading... |
29 void InputMethodMac::CancelComposition(const TextInputClient* client) { | 29 void InputMethodMac::CancelComposition(const TextInputClient* client) { |
30 } | 30 } |
31 | 31 |
32 void InputMethodMac::OnInputLocaleChanged() { | 32 void InputMethodMac::OnInputLocaleChanged() { |
33 } | 33 } |
34 | 34 |
35 std::string InputMethodMac::GetInputLocale() { | 35 std::string InputMethodMac::GetInputLocale() { |
36 return ""; | 36 return ""; |
37 } | 37 } |
38 | 38 |
39 bool InputMethodMac::IsActive() { | |
40 return true; | |
41 } | |
42 | |
43 bool InputMethodMac::IsCandidatePopupOpen() const { | 39 bool InputMethodMac::IsCandidatePopupOpen() const { |
44 // There seems to be no way to tell if a candidate window is open. | 40 // There seems to be no way to tell if a candidate window is open. |
45 return false; | 41 return false; |
46 } | 42 } |
47 | 43 |
48 } // namespace ui | 44 } // namespace ui |
OLD | NEW |