Use WebClipboard::Buffer instead of a boolean for Pasteboard state.

This lets a bunch of identical ternary operators be condensed.

BUG=276565

Review URL: https://chromiumcodereview.appspot.com/22812025

git-svn-id: svn://svn.chromium.org/blink/trunk@157715 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix crash when when submitting a form with target then detaching that frame.

Regressed in http://src.chromium.org/viewvc/blink/?revision=157613&view=revision

BUG=290396
TEST=fast/forms/form-iframe-target-before-load-detaches.html

Review URL: https://chromiumcodereview.appspot.com/23442025

git-svn-id: svn://svn.chromium.org/blink/trunk@157716 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Let OpenTypeTypes.h work on big-endian and ILP64 platforms

Originally OpenTypeTypes.h always converts OpenType's big endian
numbers to host numbers by swapping the bytes. This doesn't work
on big-endian platforms.

Also it assumes 'unsigned' is 32-bit which is not true on ILP64
platforms.

Fix them by using htons/htonl/ntohs/ntohl to convert the numbers,
and types with determined bits.

BUG=none

Review URL: https://chromiumcodereview.appspot.com/23454033

git-svn-id: svn://svn.chromium.org/blink/trunk@157717 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Create Pinch Virtual Viewport scrollbar layers in Blink.

This CL creates solid color scrollbar layers for the Inner Viewport and
attaches them.

BUG=

Review URL: https://chromiumcodereview.appspot.com/23464035

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