Acquire disconnect_lock_ before registering for password change first time and check that lock is acquired during registration/unregistration.

BUG=296862

Review URL: https://chromiumcodereview.appspot.com/24381002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@224953 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 224953
Add InputScope support into InputMethodIMM32

RWHVW has directly used InputScope APIs that are available
for IMM32 applications.
In order to migrate from RWHVW to RWHVA as Aura transition,
InputMethodIMM32 should also have InputScope support since
RWHVA delegates all the IME activities into InputMethodIMM32.

BUG=296505, 244688
TEST=manually done with Aura build on Windows 8.1

Review URL: https://chromiumcodereview.appspot.com/23537064

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