| 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..cf296dc8bb5684318668ceb50e24420780fab145 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_; }
|
| + bool third_party() const { return third_party_; }
|
|
|
| // 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;
|
|
|