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
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_CONFIG_H_
6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_CONFIG_H_
12 namespace input_method
{
14 // A structure which represents a value of an input method configuration item.
15 // This struct is used by SetInputMethodConfig().
16 struct InputMethodConfigValue
{
17 InputMethodConfigValue();
18 ~InputMethodConfigValue();
20 // Debug print function.
21 std::string
ToString() const;
30 // A value is stored on |string_value| member if |type| is kValueTypeString.
31 // The same is true for other enum values.
34 std::string string_value
;
37 std::vector
<std::string
> string_list_value
;
40 } // namespace input_method
41 } // namespace chromeos
43 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_CONFIG_H_