| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #ifndef CHROMEOS_IME_INPUT_METHOD_DESCRIPTOR_H_ | 5 #ifndef CHROMEOS_IME_INPUT_METHOD_DESCRIPTOR_H_ |
| 6 #define CHROMEOS_IME_INPUT_METHOD_DESCRIPTOR_H_ | 6 #define CHROMEOS_IME_INPUT_METHOD_DESCRIPTOR_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "chromeos/chromeos_export.h" | 12 #include "chromeos/chromeos_export.h" |
| 13 #include "googleurl/src/gurl.h" | 13 #include "url/gurl.h" |
| 14 | 14 |
| 15 namespace chromeos { | 15 namespace chromeos { |
| 16 namespace input_method { | 16 namespace input_method { |
| 17 | 17 |
| 18 // A structure which represents an input method. | 18 // A structure which represents an input method. |
| 19 class CHROMEOS_EXPORT InputMethodDescriptor { | 19 class CHROMEOS_EXPORT InputMethodDescriptor { |
| 20 public: | 20 public: |
| 21 InputMethodDescriptor(); | 21 InputMethodDescriptor(); |
| 22 InputMethodDescriptor(const std::string& id, | 22 InputMethodDescriptor(const std::string& id, |
| 23 const std::string& name, | 23 const std::string& name, |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 // for input method extension. | 62 // for input method extension. |
| 63 GURL options_page_url_; | 63 GURL options_page_url_; |
| 64 }; | 64 }; |
| 65 | 65 |
| 66 typedef std::vector<InputMethodDescriptor> InputMethodDescriptors; | 66 typedef std::vector<InputMethodDescriptor> InputMethodDescriptors; |
| 67 | 67 |
| 68 } // namespace input_method | 68 } // namespace input_method |
| 69 } // namespace chromeos | 69 } // namespace chromeos |
| 70 | 70 |
| 71 #endif // CHROMEOS_IME_INPUT_METHOD_DESCRIPTOR_H_ | 71 #endif // CHROMEOS_IME_INPUT_METHOD_DESCRIPTOR_H_ |
| OLD | NEW |