summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/input_method/mock_input_method_manager.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/chromeos/input_method/mock_input_method_manager.cc')
-rw-r--r--chrome/browser/chromeos/input_method/mock_input_method_manager.cc11
1 files changed, 10 insertions, 1 deletions
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 95142a3..6045c7a 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_;
}