Prevent invalid memory read when AES-CBC decrypting.

The issue happens when the ciphertext is not a multiple of the block size.

BUG=300681

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@226199 0039d316-1c4b-4281-b951-d872f2087c98
Fixes possible crash if we get WM_ACTIVATE during Init().

If during HWNDMessageHandler::Init() we get an NC_ACTIVATE we're not
really setup and can't handle processing it (else we crash).

BUG=275954
TEST=none
R=ananta@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@226200 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 226199
Sets TEXT_INPUT_TYPE_SEARCH to Omnibox not only when TSF but also when IMM32.

I first thought the issue 247994 occurs only when TSF is used, but the same issue occurs on IMM32, too.  So I'd like to apply the same fix regardless of whether it's IMM32 or TSF.

BUG=247994

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

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