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 "chromeos/ime/ime_keyboard.h" | 5 #include "ui/base/ime/chromeos/ime_keyboard.h" |
6 | 6 |
7 namespace chromeos { | 7 namespace chromeos { |
8 namespace input_method { | 8 namespace input_method { |
9 namespace { | 9 namespace { |
10 | 10 |
11 const char *kISOLevel5ShiftLayoutIds[] = { | 11 const char *kISOLevel5ShiftLayoutIds[] = { |
12 "ca(multix)", | 12 "ca(multix)", |
13 "de(neo)", | 13 "de(neo)", |
14 }; | 14 }; |
15 | 15 |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 bool ImeKeyboard::IsAltGrAvailable() const { | 96 bool ImeKeyboard::IsAltGrAvailable() const { |
97 for (size_t i = 0; i < arraysize(kAltGrLayoutIds); ++i) { | 97 for (size_t i = 0; i < arraysize(kAltGrLayoutIds); ++i) { |
98 if (last_layout_ == kAltGrLayoutIds[i]) | 98 if (last_layout_ == kAltGrLayoutIds[i]) |
99 return true; | 99 return true; |
100 } | 100 } |
101 return false; | 101 return false; |
102 } | 102 } |
103 | 103 |
104 } // namespace input_method | 104 } // namespace input_method |
105 } // namespace chromeos | 105 } // namespace chromeos |
OLD | NEW |