Revert "Change event handling order in HTMLPlugInElement."

This reverts commit fada04e1ba92f2e951341da3ef52145dc96297bf.

This change affected the behavior of flash on google maps. I'm reverting this
for now to get rid of this regression. I hope to address this in a future change
by altering this behavior only for non-Flash PPAPI applications.

BUG=324351,356089
TBR=eseidel

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

git-svn-id: svn://svn.chromium.org/blink/trunk@170336 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: fix xhr breakpoint text overflow

BUG=357520

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

git-svn-id: svn://svn.chromium.org/blink/trunk@170337 bbb929c8-8fbe-4397-9dbb-9b2b20218538
BatteryStatus: fix chargingTime() to follow the specification.

If the battery status is unknown, the charging time should be
0 instead of Infinity. The reason being that in that case, the
battery status is reflected as a plugged and fully charged battery.

BUG=122593

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

git-svn-id: svn://svn.chromium.org/blink/trunk@170338 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Handle very large images correctly

Large images may get downscaled during decoding to keep them within
the configured memory limits. When this happens while loading a WebGL
texture, bail out because otherwise the resulting texture will not have
the correct dimensions nor contents.

Tested with Nexus 5.

BUG=356181
TEST=fast/canvas/webgl/webgl-large-texture.html
R=kbr@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@170339 bbb929c8-8fbe-4397-9dbb-9b2b20218538