diff options
author | zork@chromium.org <zork@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-28 21:12:07 +0000 |
---|---|---|
committer | zork@chromium.org <zork@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-28 21:12:07 +0000 |
commit | 1488a035f4377aa3cc443a4846e5058fc2a6acb4 (patch) | |
tree | 0043356ac199af9d7b7e91869bdbf0c0707c5233 /chrome/browser/chromeos/input_method/input_method_manager_impl.cc | |
parent | 01bdc9206f8de9eac03ca7da9a736652f1d6add1 (diff) | |
download | chromium_src-1488a035f4377aa3cc443a4846e5058fc2a6acb4.zip chromium_src-1488a035f4377aa3cc443a4846e5058fc2a6acb4.tar.gz chromium_src-1488a035f4377aa3cc443a4846e5058fc2a6acb4.tar.bz2 |
Update StickyKeys overlay to show or hide AltGr depending on the
current input method.
BUG=335368
Review URL: https://codereview.chromium.org/187313002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260280 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/input_method/input_method_manager_impl.cc')
-rw-r--r-- | chrome/browser/chromeos/input_method/input_method_manager_impl.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/chrome/browser/chromeos/input_method/input_method_manager_impl.cc b/chrome/browser/chromeos/input_method/input_method_manager_impl.cc index 4a8912e..45588b6 100644 --- a/chrome/browser/chromeos/input_method/input_method_manager_impl.cc +++ b/chrome/browser/chromeos/input_method/input_method_manager_impl.cc @@ -715,6 +715,14 @@ InputMethodDescriptor InputMethodManagerImpl::GetCurrentInputMethod() const { return current_input_method_; } +bool InputMethodManagerImpl::IsISOLevel5ShiftUsedByCurrentInputMethod() const { + return xkeyboard_->IsISOLevel5ShiftAvailable(); +} + +bool InputMethodManagerImpl::IsAltGrUsedByCurrentInputMethod() const { + return xkeyboard_->IsAltGrAvailable(); +} + XKeyboard* InputMethodManagerImpl::GetXKeyboard() { return xkeyboard_.get(); } |