OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/input_method_util.h" | 5 #include "chrome/browser/chromeos/input_method/input_method_util.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include <algorithm> | 9 #include <algorithm> |
10 #include <functional> | 10 #include <functional> |
11 #include <map> | 11 #include <map> |
12 #include <utility> | 12 #include <utility> |
13 | 13 |
14 #include "base/macros.h" | 14 #include "base/macros.h" |
15 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
16 #include "base/prefs/pref_service.h" | |
17 #include "base/strings/string_split.h" | 16 #include "base/strings/string_split.h" |
18 #include "base/strings/string_util.h" | 17 #include "base/strings/string_util.h" |
19 #include "base/strings/utf_string_conversions.h" | 18 #include "base/strings/utf_string_conversions.h" |
20 #include "chrome/common/extensions/extension_constants.h" | 19 #include "chrome/common/extensions/extension_constants.h" |
| 20 #include "components/prefs/pref_service.h" |
21 | 21 |
22 // TODO(nona): move this header from this file. | 22 // TODO(nona): move this header from this file. |
23 #include "chrome/grit/generated_resources.h" | 23 #include "chrome/grit/generated_resources.h" |
24 | 24 |
25 #include "ui/base/ime/chromeos/component_extension_ime_manager.h" | 25 #include "ui/base/ime/chromeos/component_extension_ime_manager.h" |
26 #include "ui/base/ime/chromeos/extension_ime_util.h" | 26 #include "ui/base/ime/chromeos/extension_ime_util.h" |
27 | 27 |
28 // For SetHardwareKeyboardLayoutForTesting. | 28 // For SetHardwareKeyboardLayoutForTesting. |
29 #include "ui/base/ime/chromeos/fake_input_method_delegate.h" | 29 #include "ui/base/ime/chromeos/fake_input_method_delegate.h" |
30 #include "ui/base/ime/chromeos/input_method_delegate.h" | 30 #include "ui/base/ime/chromeos/input_method_delegate.h" |
(...skipping 795 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
826 "US", | 826 "US", |
827 layouts, | 827 layouts, |
828 languages, | 828 languages, |
829 true, // login keyboard. | 829 true, // login keyboard. |
830 GURL(), // options page, not available. | 830 GURL(), // options page, not available. |
831 GURL()); // input view page, not available. | 831 GURL()); // input view page, not available. |
832 } | 832 } |
833 | 833 |
834 } // namespace input_method | 834 } // namespace input_method |
835 } // namespace chromeos | 835 } // namespace chromeos |
OLD | NEW |