Move DEFINE_TYPE_CASTS from Node.h to Assertions.h

As mentioned in FIXME, DEFINE_TYPE_CASTS needs to find proper place.

BUG=N/A

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159753 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Provide a white list to prevent the WebSocket handshake fail.

The spec says that the Sec-WebSocket-Protocol header in a handshake
response can't be null if the header in a request is not null.
Some servers are not accustomed to the fail,
so we provide an adhoc white-list for it tentatively.

BUG=304319
R=tyoshino

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159754 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Fix an exception in the frontend

TBR=pfeldman
BUG=None

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159755 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Provide new WebFrameClient for WebHelperPlugin.

The WebFrameClient provided by the embedder has a bunch of extra
signals that WebHelperPlugin does not need. In particular, the API
expects (or will soon expect):

 (1) that there is only 1 WebFrameImpl per client
 (2) frameDetach() messages always correspond to DOM tree nodes.

In the case of the Chromium's implementaiton of WebFrameClient, the
frameDetach() method is also entangled with lifetime management of the
associated WebFrameImpls.

This CL introduces a new HelperPluginFrameClient that only forwards
required calls from the WebHelperPlugin back up to the main client.
Having one level of indirection allows the WebHelperPlugin to
control the lifetime of its main frame, and also provides
encapsulation of the signals it sends outwards to the embedder.

BUG=306694

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159756 bbb929c8-8fbe-4397-9dbb-9b2b20218538
IDL compiler: [URL] for getters

Docs:
https://sites.google.com/a/chromium.org/dev/blink/webidl/blink-idl-extended-attributes#TOC-URL-a-

BUG=239771
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159757 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move ScaledImageFragment.cpp/.h to platform/

BUG=297477

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

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