Index: chromeos/ime/fake_input_method_delegate.h |
diff --git a/chromeos/ime/fake_input_method_delegate.h b/chromeos/ime/fake_input_method_delegate.h |
index 4f1a100642a03d3a1562bf5dbc0e104257c98f14..ecc2abd0fd1d067302be8099b87f3c44b41d0189 100644 |
--- a/chromeos/ime/fake_input_method_delegate.h |
+++ b/chromeos/ime/fake_input_method_delegate.h |
@@ -5,6 +5,8 @@ |
#ifndef CHROMEOS_IME_FAKE_INPUT_METHOD_DELEGATE_H_ |
#define CHROMEOS_IME_FAKE_INPUT_METHOD_DELEGATE_H_ |
+#include <vector> |
+ |
#include "base/basictypes.h" |
#include "base/callback.h" |
#include "base/compiler_specific.h" |
@@ -25,12 +27,13 @@ class CHROMEOS_EXPORT FakeInputMethodDelegate : public InputMethodDelegate { |
virtual ~FakeInputMethodDelegate(); |
// InputMethodDelegate implementation: |
- virtual std::string GetHardwareKeyboardLayout() const OVERRIDE; |
+ virtual void GetHardwareKeyboardLayout( |
+ std::vector<std::string>* out) const OVERRIDE; |
virtual base::string16 GetLocalizedString(int resource_id) const OVERRIDE; |
virtual base::string16 GetDisplayLanguageName( |
const std::string& language_code) const OVERRIDE; |
- void set_hardware_keyboard_layout(const std::string& value) { |
+ void set_hardware_keyboard_layout(const std::vector<std::string>& value) { |
hardware_keyboard_layout_ = value; |
} |
@@ -49,7 +52,7 @@ class CHROMEOS_EXPORT FakeInputMethodDelegate : public InputMethodDelegate { |
} |
private: |
- std::string hardware_keyboard_layout_; |
+ std::vector<std::string> hardware_keyboard_layout_; |
std::string active_locale_; |
LanguageNameLocalizationCallback get_display_language_name_callback_; |
GetLocalizedStringCallback get_localized_string_callback_; |