Index: chrome/browser/chromeos/input_method/mock_input_method_manager.cc |
diff --git a/chrome/browser/chromeos/input_method/mock_input_method_manager.cc b/chrome/browser/chromeos/input_method/mock_input_method_manager.cc |
index 95142a3f57e71b76c0dda8896a7891d3cfc0633f..6045c7a6aa08e55ba72d39ffeb34b26bcd7e853b 100644 |
--- a/chrome/browser/chromeos/input_method/mock_input_method_manager.cc |
+++ b/chrome/browser/chromeos/input_method/mock_input_method_manager.cc |
@@ -10,7 +10,8 @@ namespace input_method { |
MockInputMethodManager::MockInputMethodManager() |
: add_observer_count_(0), |
remove_observer_count_(0), |
- util_(&delegate_, whitelist_.GetSupportedInputMethods()) { |
+ util_(&delegate_, whitelist_.GetSupportedInputMethods()), |
+ mod3_used_(false) { |
active_input_method_ids_.push_back("xkb:us::eng"); |
} |
@@ -144,6 +145,14 @@ InputMethodDescriptor MockInputMethodManager::GetCurrentInputMethod() const { |
return descriptor; |
} |
+bool MockInputMethodManager::IsISOLevel5ShiftUsedByCurrentInputMethod() const { |
+ return mod3_used_; |
+} |
+ |
+bool MockInputMethodManager::IsAltGrUsedByCurrentInputMethod() const { |
+ return false; |
+} |
+ |
XKeyboard* MockInputMethodManager::GetXKeyboard() { |
return &xkeyboard_; |
} |