Introduce GenericFontFamilySettings.

The newborn will hold all settings, related to generic font
families, and will be used by Settings.

Aside from mechanical extraction, there is one functional change:
setting font families will require explicit call to recalc style
on all frames. Thankfully, this is already done in most places,
aside from InternalSettings, where I added it.

R=eae,ksakamoto@chromium.org
BUG=324991

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

git-svn-id: svn://svn.chromium.org/blink/trunk@163117 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Moved remaining legacy viewport tests to unit tests.

In https://codereview.chromium.org/48613005/ most of the
legacy viewport meta tag tests were converted into unit
tests. This CL moves the remaining "trickier" tests.

Note: This relands https://codereview.chromium.org/99223005/

BUG=314001
TBR=abarth@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@163118 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move WebLayer handling out of WebMediaPlayerClientImpl and into HTMLMediaElement.

Moving the WebLayer handling out of WebMediaPlayerClientImpl as a step
towards removing the MediaPlayer layer. This doesn't introduce any
change in functionality. It just moves code out of the MediaPlayer
layer.

BUG=310466
TESTS=All existing LayoutTests still pass.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@163119 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Web Animations CSS: Ensure player is cancelled when compositor transition is retargetted

An error in r162743 [1] meant that when a compositor animation was retargetted
the old player was never cancelled. This meant that every time a subsequent
transition finished the forwards fill from the old player was reinstated
causing futher transitions to begin.

[1] http://src.chromium.org/viewvc/blink?view=rev&revision=162743

BUG=325348

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

git-svn-id: svn://svn.chromium.org/blink/trunk@163120 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[SVG] Avoid unneeded SVGResources allocations.

Currently, SVGResourcesCache::addResourcesFromRenderObject() always
allocates a SVGResources object and immediately throws it away
if no resources are referenced (which is the most common case).

Since this path is taken for each style recalc, the allocation/deallocation
churn can be significant.

The CL refactors addResourcesFromRenderObject() to avoid allocating
SVGResources when the element doesn't reference any resources.

R=pdr@chromium.org,schenney@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@163121 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Cleanup: Remove WebPlatformDatabaseObserver typedef and temporary header.

kinuko has switched over to WebDatabaseObserver in
https://src.chromium.org/viewvc/chrome?view=rev&revision=235714

BUG=None
TEST=None
R=abarth@chromium.org

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

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