Automated Commit: Committing new LKGM version 4877.0.0 for chromeos.

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231290 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 231290
Move more things out of AppContextMenu into AppListControllerDelegate.

BUG=310376

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231291 0039d316-1c4b-4281-b951-d872f2087c98
Change the behavior of TSFTextStore::QueryInsert().

Set "*pacpResultEnd = acpTestEnd;" insterad of
"*pacpResultEnd = acpTestStart + cch;"
This is same as TsfPad (sample program in Windows SDK for Win7).

You can see more detail in http://crbug.com/309965#c2

BUG=309965
TEST=manually done on Win 8.1

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231292 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 231291
Enable to switch a flag via chrome://flags

BUG=177765

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231293 0039d316-1c4b-4281-b951-d872f2087c98
Retry: Prepopulate primary origin's directory database if possible.

Before (with primary origin patch)
140~170 ms

After (excluding 1st launch for a new profile)
30~90 ms

The very first launch for a fresh profile is still slow as
it needs to go through full initialization.

BUG=306030
TEST=manual
TEST=valgrind

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

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