Set the active input method correctly when EnableLayouts is called.

ChangeInputMethodInternal called by EnableLayouts checks if component_extension_ime_manager_ is initialized or not.  When it is not initialized, active_input_method is not updated even if the new input method is a keyboard layout.

This patch checks if the new input method is a keyboard layout or not too.

BUG=329061

Review URL: https://codereview.chromium.org/118273002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242075 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 242075