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_descriptor.h" | 5 #include "chrome/browser/chromeos/input_method/input_method_descriptor.h" |
6 | 6 |
7 #include <sstream> | 7 #include <sstream> |
8 | 8 |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/string_split.h" | 10 #include "base/string_split.h" |
11 #include "chrome/browser/chromeos/input_method/input_method_whitelist.h" | 11 #include "chrome/browser/chromeos/input_method/input_method_whitelist.h" |
12 | 12 |
| 13 // TODO(yusukes): Remove virtual keyboard support. |
| 14 |
13 namespace chromeos { | 15 namespace chromeos { |
14 namespace input_method { | 16 namespace input_method { |
15 | 17 |
16 namespace { | 18 namespace { |
17 const char kFallbackLayout[] = "us"; | 19 const char kFallbackLayout[] = "us"; |
18 } // namespace | 20 } // namespace |
19 | 21 |
20 InputMethodDescriptor::InputMethodDescriptor( | 22 InputMethodDescriptor::InputMethodDescriptor( |
21 const InputMethodWhitelist& whitelist, | 23 const InputMethodWhitelist& whitelist, |
22 const std::string& id, | 24 const std::string& id, |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 stream << "id=" << id() | 89 stream << "id=" << id() |
88 << ", name=" << name() | 90 << ", name=" << name() |
89 << ", keyboard_layout=" << keyboard_layout() | 91 << ", keyboard_layout=" << keyboard_layout() |
90 << ", virtual_keyboard_layouts=" << virtual_keyboard_layouts_.size() | 92 << ", virtual_keyboard_layouts=" << virtual_keyboard_layouts_.size() |
91 << ", language_code=" << language_code(); | 93 << ", language_code=" << language_code(); |
92 return stream.str(); | 94 return stream.str(); |
93 } | 95 } |
94 | 96 |
95 } // namespace input_method | 97 } // namespace input_method |
96 } // namespace chromeos | 98 } // namespace chromeos |
OLD | NEW |