Revert 229040 "Fix plugin HWNDs being shown, and also in the wro..."

This broke interactive_ui_tests on Mac.

> Fix plugin HWNDs being shown, and also in the wrong position, when they're openeing in a background tab.
> 
> This is a regression from r218548.
> 
> BUG=302574
> R=scottmg@chromium.org
> 
> Review URL: https://codereview.chromium.org/26359005

TBR=jam@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229113 0039d316-1c4b-4281-b951-d872f2087c98
Add periodic check to see if context has been reset.
Context may be set to NULL when shutdown is requested
while trying to send ping. With this CL, rlz will cancel
the request when it detects the NULL context.

non chromeos chrome used to wait even after context is set
to NULL, so maybe I should do this only for chromeos. Please
let me know what you think.

This also fixes the edge race case where the g_context
may be set to NULL in the middle of FinancialPing::PingServer.

BUG=261377

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229114 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 229113
Trigger deadline immediately after an aborted main thread commit

If the main thread aborts a commit, check if we should trigger the begin frame
deadline immediately. This fixes a problem where the first frame in response to
a scroll gesture is delayed to the next frame. The sequence of events is:

1. Impl thread receives ScrollBegin event.
2. Impl thread receives BeginFrame event.  3. Impl thread receives ScrollBy
   event. It applies the new scroll offset to the active tree and requests both
   a commit (to tell the main thread about the new scroll offset) and a draw.
3. Commit begins, but the main thread aborts it because only the scroll offset
   changed.
4. Impl thread is told about aborted commit, but instead of drawing the new
   frame it does nothing.

BUG=306958

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229115 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 229115
[Android WebView] Do not throttle if need picture listener

Currently as implemented, this will ensure clearView can be
unset even if AwContents.onPause is called.

Should considering refactoring clearView such that this case
can be dealt with more sanely.

Internal bug b/11230312.

BUG=
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229116 0039d316-1c4b-4281-b951-d872f2087c98
mac: Remove a static initializer.

BUG=94925,94794
NOTRY=true

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

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