Web Animations: Temporary fix for performance regression in transition tests

This patch adds a flag to Player::setStartTime to permit it to only call
update() instead of serviceAnimations() (as per previous behaviour). We
intend to in the near future replace the serviceAnimations calls with a
deferred timing update system. Note that update() here is not correct in
general as we may need to ask the timeline to request frame callbacks.

BUG=340511

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

git-svn-id: svn://svn.chromium.org/blink/trunk@166473 bbb929c8-8fbe-4397-9dbb-9b2b20218538
WebSocket readyState should be CLOSED in onerror.

The readyState of a WebSocket instance must become CLOSED before the
error event fires.

BUG=340159
R=ricea@chromium.org, tyoshino@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@166474 bbb929c8-8fbe-4397-9dbb-9b2b20218538
We don't have any API that calls setPagination. This was from
Apple's use of WebKit. 

With setPagination gone, we no longer need to keep bits on both
Page and FrameView for pagination. We just keep the FrameView one,
which you can actually set via CSS (i.e. see
FrameView::applyPaginationToViewport).

Also, fixes a bug in paginationModeForRenderStyle to keep the
tests passing.

I changed fast/multicol/hit-test-gap-between-pages-flipped.html a bit
so that it would still spit out PASS even though I believe it now
exposes a bug in caretRangeFromPoint combined with pagination
and horizontal-bt writing mode.

Finally, the virtual calcColumnWidth can be removed as the version
in RenderBlock works for the RenderView now.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@166475 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Disable text-autosizing when screen size is unavailable.

Currently, in Android Chrome, TextAutosizer always computes inf multiplier
for every page on initial rendering because screen dimension is not available at
this point, though the result is not actually displayed until relayout happens.

I'm not sure it is the case too in other platforms (win / linux / mac) that
screen dimension is not available. I discussed this with yutak@ and he pointed
out that, even though we're not sure if this is Android-specific or not,
rendering code should be expected to work even if main frame dimension is zero
because:
- FrameView::create() creates a frame with zero size by default
https://code.google.com/p/chromium/codesearch#chromium/src/third_party/WebKit/Source/core/frame/FrameView.cpp&sq=package:chromium&l=175&type=cs
- Some callers, at least SVGImage, creates a frame with default size
https://code.google.com/p/chromium/codesearch#chromium/src/third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp&sq=package:chromium&l=397&rcl=1391483731&type=cs

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

git-svn-id: svn://svn.chromium.org/blink/trunk@166476 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Updated ratified extensions to be advertised without the WEBKIT_ prefix

Extensions can still be queried with WEBKIT_, but getSupportedExtensions
will return the unprefixed version.

BUG=340531

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

git-svn-id: svn://svn.chromium.org/blink/trunk@166477 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix BisonCSSParser header guards

BUG=330389
TBR=abarth

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

git-svn-id: svn://svn.chromium.org/blink/trunk@166478 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Implement a binding layer for oilpan and move Gamepad to oilpan

- The key of the binding layer change is as follows:

--- Add |isGarbageCollected| field to WrapperTypeInfo. This flag is used to distinguish if the object is in oilpan's heap or not.
--- For oilpan's objects, we add one extra internal field to a DOM wrapper and store a persistent handle to the oilpan object. This will increase the size of DOM wrappers by one word. For non-oilpan's objects, we don't add the extra internal field.

- As one example, this CL moves Gamepad and GamepadList to oilpan's heap, using transition types. (For this kind of simple hierarchy, we don't need to use transition types, but I'm intentionally using transition types in order to implement a binding layer that support transition types.)

Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=166306

Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=166360

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

git-svn-id: svn://svn.chromium.org/blink/trunk@166479 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Inform pywebsocket that we have sent a close frame

close-code-and-reason_wsh.py would send a close frame by a low-level API
without letting the higher levels of pywebsocket know about it.

Inform pywebsocket that it has already sent a Close frame, so it doesn't
need to send another one.

BUG=340616
TEST=layout test close-code-and-reason.html

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

git-svn-id: svn://svn.chromium.org/blink/trunk@166480 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Get rid of the *Byte types used for (de)serializing to SVGPathByteStream

Use a single ByteType<T> instead.

Additionally clean up SVGPathByteStream a bit by delegating two more
methods {isEmpty(), append(SVGPathByteStream*)} to the wrapped WTF::Vector.

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

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