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/strings/string_split.h" |
11 | 11 |
12 namespace chromeos { | 12 namespace chromeos { |
13 namespace input_method { | 13 namespace input_method { |
14 | 14 |
15 namespace { | 15 namespace { |
16 const char kFallbackLayout[] = "us"; | 16 const char kFallbackLayout[] = "us"; |
17 } // namespace | 17 } // namespace |
18 | 18 |
19 InputMethodDescriptor::InputMethodDescriptor(const std::string& id, | 19 InputMethodDescriptor::InputMethodDescriptor(const std::string& id, |
20 const std::string& name, | 20 const std::string& name, |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 stream << "id=" << id() | 59 stream << "id=" << id() |
60 << ", name=" << name() | 60 << ", name=" << name() |
61 << ", keyboard_layout=" << keyboard_layout() | 61 << ", keyboard_layout=" << keyboard_layout() |
62 << ", language_code=" << language_code() | 62 << ", language_code=" << language_code() |
63 << ", third_party=" << third_party(); | 63 << ", third_party=" << third_party(); |
64 return stream.str(); | 64 return stream.str(); |
65 } | 65 } |
66 | 66 |
67 } // namespace input_method | 67 } // namespace input_method |
68 } // namespace chromeos | 68 } // namespace chromeos |
OLD | NEW |