Add SharedWorkerServiceImpl::CheckWorkerDependency().

This method checks the worker dependency of renderer processes and calls IncrementWorkerRefCount and DecrementWorkerRefCount of RenderProcessHostImpl on UI thread if necessary.

The old cl (http://crrev.com/256305) was reverted (http://crrev.com/256323) because of the memory leak in MockMessagePortMessageFilter::Send and MockSharedWorkerMessageFilter::Send.
This cl has fixed it.

The difference between this cl and the old cl is the null value handling of message_queue_ in MockMessagePortMessageFilter::Send and MockSharedWorkerMessageFilter::Send. 


BUG=327256,351492
TBR=jochen@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256749 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 256749
Revert "hide the input method window when the user is done typing"

Reverting r248903.

This is causing keyboard to be erroneously dismissed. See
https://code.google.com/p/chromium/issues/detail?id=340100#c14

BUG=340100

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256750 0039d316-1c4b-4281-b951-d872f2087c98
Make sure CreateFile call is not inlined, so EMET doesn't get upset.

BUG=348383

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

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