Chromium Code Reviews| Index: chrome/browser/chromeos/input_method/input_method_descriptor.h |
| diff --git a/chrome/browser/chromeos/input_method/input_method_descriptor.h b/chrome/browser/chromeos/input_method/input_method_descriptor.h |
| index 231c1dbffbd48d3a3a3dddf34e044506d2be51c5..3f1f3f42222427839a038548f3ffad091b260513 100644 |
| --- a/chrome/browser/chromeos/input_method/input_method_descriptor.h |
| +++ b/chrome/browser/chromeos/input_method/input_method_descriptor.h |
| @@ -23,7 +23,8 @@ class InputMethodDescriptor { |
| InputMethodDescriptor(const std::string& id, |
| const std::string& name, |
| const std::string& keyboard_layout, |
| - const std::string& language_code); |
| + const std::string& language_code, |
| + bool third_party); |
| ~InputMethodDescriptor(); |
| bool operator==(const InputMethodDescriptor& other) const; |
| @@ -36,6 +37,7 @@ class InputMethodDescriptor { |
| const std::string& name() const { return name_; } |
| const std::string& keyboard_layout() const { return keyboard_layout_; } |
| const std::string& language_code() const { return language_code_; } |
| + const bool third_party() const { return third_party_; } |
|
Yusuke Sato
2012/06/08 08:26:02
nit: const bool -> bool
Zachary Kuznia
2012/06/11 06:28:21
Done.
|
| // Returns the fallback input method descriptor (the very basic US |
| // keyboard). This function is mostly used for testing, but may be used |
| @@ -54,6 +56,8 @@ class InputMethodDescriptor { |
| std::string keyboard_layout_; |
| // Language code like "ko", "ja", "en-US", and "zh-CN". |
| std::string language_code_; |
| + // Indicates if this is a third party ime |
| + bool third_party_; |
| }; |
| typedef std::vector<InputMethodDescriptor> InputMethodDescriptors; |