| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "chrome/browser/chromeos/input_method/xkeyboard.h" | 5 #include "chrome/browser/chromeos/input_method/xkeyboard.h" |
| 6 | 6 |
| 7 #include <queue> | 7 #include <queue> |
| 8 #include <utility> | 8 #include <utility> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 "xkb:gr::gre", | 69 "xkb:gr::gre", |
| 70 "xkb:hr::scr", | 70 "xkb:hr::scr", |
| 71 "xkb:il::heb", | 71 "xkb:il::heb", |
| 72 "xkb:it::ita", | 72 "xkb:it::ita", |
| 73 "xkb:kr:kr104:kor", | 73 "xkb:kr:kr104:kor", |
| 74 "xkb:latam::spa", | 74 "xkb:latam::spa", |
| 75 "xkb:lt::lit", | 75 "xkb:lt::lit", |
| 76 "xkb:no::nob", | 76 "xkb:no::nob", |
| 77 "xkb:pl::pol", | 77 "xkb:pl::pol", |
| 78 "xkb:pt::por", | 78 "xkb:pt::por", |
| 79 "xkb:ro::rum", |
| 79 "xkb:se::swe", | 80 "xkb:se::swe", |
| 80 "xkb:si::slv", | 81 "xkb:si::slv", |
| 81 "xkb:sk::slo", | 82 "xkb:sk::slo", |
| 82 "xkb:tr::tur", | 83 "xkb:tr::tur", |
| 83 "xkb:ua::ukr", | 84 "xkb:ua::ukr", |
| 84 "xkb:us:altgr-intl:eng", | 85 "xkb:us:altgr-intl:eng", |
| 85 "xkb:us:intl:eng", | 86 "xkb:us:intl:eng", |
| 86 }; | 87 }; |
| 87 | 88 |
| 88 // These are the overlay names with caps lock remapped | 89 // These are the overlay names with caps lock remapped |
| (...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 435 bool SetAutoRepeatEnabled(bool enabled) { | 436 bool SetAutoRepeatEnabled(bool enabled) { |
| 436 return XKeyboard::GetInstance()->SetAutoRepeatEnabled(enabled); | 437 return XKeyboard::GetInstance()->SetAutoRepeatEnabled(enabled); |
| 437 } | 438 } |
| 438 | 439 |
| 439 bool SetAutoRepeatRate(const AutoRepeatRate& rate) { | 440 bool SetAutoRepeatRate(const AutoRepeatRate& rate) { |
| 440 return XKeyboard::GetInstance()->SetAutoRepeatRate(rate); | 441 return XKeyboard::GetInstance()->SetAutoRepeatRate(rate); |
| 441 } | 442 } |
| 442 | 443 |
| 443 } // namespace input_method | 444 } // namespace input_method |
| 444 } // namespace chromeos | 445 } // namespace chromeos |
| OLD | NEW |