Rename WebNodeCollection to WebElementCollection for clarity

Rename WebNodeCollection to WebElementCollection for clarity. WebElementCollection
is a wrapper around HTMLCollection which is a collection of Elements, not mere
Nodes. The WebElementCollection methods have already been updated to return
WebElements instead of WebNodes in r166411.

WebNodeCollection is kept for now as a typedef to WebElementCollection until the
users on Chromium side are updated.

R=tkent, adamk

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

git-svn-id: svn://svn.chromium.org/blink/trunk@166500 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert of Update the static_cast style check to check for DEFINE_TYPE_CASTS patterns as well. (https://codereview.chromium.org/145033013/)

Reason for revert:
The patch will be breaking the style check on the patch since the regex compiled _RE_GENERAL_MACRO_PATTERN_STRING & _RE_GENERAL_MACRO_PATTERN_STRING are not correct.

The regex (mentioned above) needs to be set properly. Will be uploading new patch with correct regex.

Original issue's description:
> Update the static_cast style check to check for DEFINE_TYPE_CASTS patterns as well.
> 
> Existing implementation of check-webkit-style warns the user if he uses static_cast<>
> in the code. This is behind runtime/casting filter which needs to be enabled specifically.
> 
> As part of 309516, all the toFoo() definitions have been replaced with DEFINE_*_TYPE_CASTS
> macro, which defines the toFoo functions at compile time. This patch updates the check to
> include even the macro pattern to identify whether existing toFoo exists or user needs to
> define the toFoo convienience function (through macro).
> 
> Since all existing usage of static_cast<Foo*> has been replaced with toFoo() calls,
> now we are throwing an error if user uses static_cast<> inspite of presence of toFoo().
> If toFoo doesn't exist, we still retain a warning behind runtime/casting filter.
> 
> BUG=309516
> 
> Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=166491

TBR=dpranke@chromium.org,tkent@chromium.org,inferno@chromium.org,aarya@google.com,sigbjornf@opera.com
NOTREECHECKS=true
NOTRY=true
BUG=309516

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

git-svn-id: svn://svn.chromium.org/blink/trunk@166501 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Notify when resource with error code >= 400 is finished.

BUG=339411

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

git-svn-id: svn://svn.chromium.org/blink/trunk@166502 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: [CSS] remove setStyleText from protocol.json

This patch removes setStyleText from protocol.json as it is never used
in our front-end.

BUG=120131

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

git-svn-id: svn://svn.chromium.org/blink/trunk@166503 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Simplify StringImpl::reallocate

Before the change there were two versions of the 'StringImpl::reallocate'
method, overloaded to accept 'data' output argument of different type.
The 'data' argument's type was used to define the allocated memory size
and a caller had to provide 'data' argument even if it did not this (had
to create a dummy pointer just to be able launch 'StringImpl::reallocate'),
besides initialization of 'data' parameter inside 'StringImpl::reallocate'
was an extra work in this case.

This patch changes the things so that there is only one version of the
'StringImpl::reallocate' method which does not accept 'data' parameter
and instead takes the needed type information from 'originalString' parameter.
The callers who needed 'data' semantics use now the existing "characters()"
methods.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@166504 bbb929c8-8fbe-4397-9dbb-9b2b20218538
<br> nodes should not be allowed within SVG text

Add new method isRenderableTextNode to SVGRenderSupport to filter out any
RenderObjects that return true for isText(), but is not recognized by the
SVG text rendering codepath.

BUG=339993, 337607

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

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