Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(735)

Unified Diff: chrome/browser/chromeos/input_method/mock_input_method_manager.cc

Issue 187313002: Update StickyKeys overlay to show or hide AltGr depending on the (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix rebase Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/chromeos/input_method/mock_input_method_manager.h ('k') | chrome/browser/ui/ash/ash_init.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
}
« no previous file with comments | « chrome/browser/chromeos/input_method/mock_input_method_manager.h ('k') | chrome/browser/ui/ash/ash_init.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698