This patch parse the sizes attribute into vector of IntSize, also added sizes in WebIconURL, so it could be used by chromium 

BUG=349039

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

git-svn-id: svn://svn.chromium.org/blink/trunk@169404 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Ignore MediaController in the closed captions button logic

Involving the media controller plainly does not make sense.

There was no test coverage for the CC button with a media controller
present, and adding a negative test for it does not seem useful.

Note that what remains is still not great since it doesn't allow you to
pick between multiple tracks, but that will be fixed at a later time.

BUG=341813
TEST=LayoutTests/media/audio-controls-captions.html
     LayoutTests/media/video-controls-captions.html

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

git-svn-id: svn://svn.chromium.org/blink/trunk@169405 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Early return when doing tagName based adjustments in StyleAdjuster

adjustRenderStyle is 2% of the recalcStyle cost and 1.5% of the time
in the peacekeeper benchmark. This patch adds an early out when adjusting
the element's style based on the tagName since after one match on the
tagName no other cases can match. It also adds a check for <div> and <span>
which are the most common elements and never need adjustment to skip
all the rest of the tagName checks.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@169406 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Replace HTMLMediaElement::isVideo() with isHTMLVideoElement

One type testing mechanism to rule them all.

BUG=none

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

git-svn-id: svn://svn.chromium.org/blink/trunk@169407 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Avoid copying the CachedUAStyle when possible

1.6% of the overall profile, and 2% of the recalcStyle, in the PeaceKeeper
benchmark is spent inside cacheUserAgentBorderAndBackground() because even
though there is an appearance guard on the constructor, we still run
constructors and destructors for all the members which aren't free since lots
of them have a lot of fields to initialize (ex. FillLayers and BorderData).

This patch moves the check from the constructor of CachedUAStyle into
cacheUserAgentBorderAndBackground() so that we can skip all the
initialization for the common case where the element has no appearance.

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

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