diff options
author | shuchen@chromium.org <shuchen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-03 19:18:28 +0000 |
---|---|---|
committer | shuchen@chromium.org <shuchen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-03 19:18:28 +0000 |
commit | dcac15dce3eb37d080140514b5f4e20a0cff632c (patch) | |
tree | abc12601488c75e11cf18a148d10d21017abe204 /chrome/browser/chromeos/input_method/input_method_manager_impl.h | |
parent | cd3f8a6dfb50d917d62ba6f78f694bc586d40831 (diff) | |
download | chromium_src-dcac15dce3eb37d080140514b5f4e20a0cff632c.zip chromium_src-dcac15dce3eb37d080140514b5f4e20a0cff632c.tar.gz chromium_src-dcac15dce3eb37d080140514b5f4e20a0cff632c.tar.bz2 |
Adds whitelisted non-extension-based input methods if no component extensions are at present (e.g. linux_chromeos).
And also clean up some useless code.
BUG=364712
TEST=Verified it works on linux_chromeos and no regression on Pixel device.
Review URL: https://codereview.chromium.org/306053005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@274589 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/input_method/input_method_manager_impl.h')
-rw-r--r-- | chrome/browser/chromeos/input_method/input_method_manager_impl.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/chromeos/input_method/input_method_manager_impl.h b/chrome/browser/chromeos/input_method/input_method_manager_impl.h index 390f453..17b89fe 100644 --- a/chrome/browser/chromeos/input_method/input_method_manager_impl.h +++ b/chrome/browser/chromeos/input_method/input_method_manager_impl.h @@ -142,6 +142,10 @@ class InputMethodManagerImpl : public InputMethodManager, bool ChangeInputMethodInternal(const std::string& input_method_id, bool show_message); + // Gets whether the XKB extension is loaded successfully by checking the XKB + // input methods in input methods in |component_extension_ime_manager_|. + bool IsXkbComponentExtensionAvailable() const; + // Called when the ComponentExtensionIMEManagerDelegate is initialized. void OnComponentExtensionInitialized( scoped_ptr<ComponentExtensionIMEManagerDelegate> delegate); |