Re-enable solid background color optimization for composited layers.

This has two parts:
1.) Make GraphicsLayer::setContentsToSolidColor() handle a solid color layer.
2.) Remove GraphicsLayer::supportsBackgroundColorContent() because we have only
one compositor implementation.

BUG=114658, 232846
TEST=compositing/background-color/background-color-change-to-text.html
compositing/background-color/background-color-change-to-transparent.html
compositing/background-color/*

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

git-svn-id: svn://svn.chromium.org/blink/trunk@162737 bbb929c8-8fbe-4397-9dbb-9b2b20218538
IndexedDB: Simplify WebIDBCallbacks exports, strip IDBFactoryBackend

Eliminate the blink impl of WebIDBCallbacks - implement it in
WebCore (Source/modules). Simultaneously, strip IDBFactoryBackendProxy
down to the bare essentials - an allowIndexedDB() call. (That API
could be moved to Platform or some such in a follow-on patch.)

BUG=234277
R=alecflett@chromium.org,adamk@chromium.org,jamesr@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@162738 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Tune test performance / coverage.

BUG=307721

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

git-svn-id: svn://svn.chromium.org/blink/trunk@162739 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Optimization in handleStyleSpans() for restricting the for loop to iterate only
over the InsertedNodes (i.e. the inserted fragment).
This is in line with other methods such as removeRedundantStylesAndKeepStyleSpanInline()
and makeInsertedContentRoundTrippableWithHTMLTreeBuilder() that iterate over
the InsertedNodes.

No existing test should fail with this patch.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@162740 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Implement initial part of WebEmbeddedWorker

This implements:
- Shadow page setup
- Initial script loading
- Some very basic wiring

WorkerThread / WorkerGlobalScope code is not yet wired.

BUG=313530

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

git-svn-id: svn://svn.chromium.org/blink/trunk@162741 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add TextTrack.id and TextTrackList.getTrackById().

This is a trivial change, because it just adds one function and one attribute, to make TextTrack and TextTrackList match the current HTML5 spec.

http://www.w3.org/TR/html5/embedded-content-0.html#dom-texttrack-id
http://www.w3.org/TR/html5/embedded-content-0.html#dom-texttracklist-gettrackbyid
http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#dom-texttrack-id
http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#dom-texttracklist-gettrackbyid

These are already supported by WebKit and Firefox:

https://bugzilla.mozilla.org/show_bug.cgi?id=882706
https://bugs.webkit.org/show_bug.cgi?id=123825
https://bugs.webkit.org/show_bug.cgi?id=124785

BUG=313601

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

git-svn-id: svn://svn.chromium.org/blink/trunk@162742 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Web Animations CSS: Streamline transition starting and interruption

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

git-svn-id: svn://svn.chromium.org/blink/trunk@162743 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove debug-only code which is no longer meaningful.

TextIterator's constructor initializes m_positionNode, but subsequent advance()
resets the variable to null, so there is no point in initializing it in
the constructor.

BUG=none
R=yosin@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@162744 bbb929c8-8fbe-4397-9dbb-9b2b20218538
GTTF: Make wtf_unittests and blink_platform_unittests support new test launcher.

Note that it's still behind a flag, --brave-new-test-launcher

This depends on https://codereview.chromium.org/89903003 Chromium-side

BUG=290597, 236893

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

git-svn-id: svn://svn.chromium.org/blink/trunk@162745 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Have DOMWindow name getter / setter deal with AtomicStrings

Have DOMWindow name getter / setter deal with AtomicStrings instead of Strings.
We use an AtomicString for the window name internally so this avoids constructing
a String uselessly and then converting it to an AtomicString.

R=abarth
BUG=323739

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

git-svn-id: svn://svn.chromium.org/blink/trunk@162746 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Web Animations: Relax tolerance in play-state-initially-paused.html

This test uses setTimeout() to unpause the animations, so can't use DRT's
animation pause API and is therefore susceptible to flakiness.

BUG=321841, 322272
R=dstockwell

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

git-svn-id: svn://svn.chromium.org/blink/trunk@162747 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Moving WebCore::BlendMode to blink::WebBlendMode

Blend modes are required in the public interface for passing blending
parameters to the compositor.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@162748 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove erroneous SCRIPT elements in LayoutTests/editing/{spelling,text-iterator}

This patch removes script elements which refer non-existing-file, "resources/js-test-selection-shared.js" in LayoutTest/editing/{spelling,text-iterator}. Failure of loading script file isn't in TestRunner output and doesn't cause test failure. Although, is is confusing to test maintainer.

BUG=n/a
TEST=n/a; no behavior changes

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

git-svn-id: svn://svn.chromium.org/blink/trunk@162749 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Get rid of useless calls to AtomicString::impl()

Get rid of useless calls to AtomicString::impl() in the code. This
avoids uselessly calling AtomicString(StringImpl*) constructor
in several cases.

R=abarth
BUG=323739

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

git-svn-id: svn://svn.chromium.org/blink/trunk@162750 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Make HTMLImportLoader a non-RefCounted.

The HTMLImportLoader is owned by HTMLImportsController and
other classes shouldn't have to worry about its life time.
This chang clarifies the intention by making the class non-RefCounted.

R=haraken, dominicc
BUG=none

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

git-svn-id: svn://svn.chromium.org/blink/trunk@162751 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Make LinkResource not a subclass of RefCounted.

LinkResource isn't shared by multiple owners thus doesn't
need to be RefCounted.

R=haraken, dominicc
BUG=none
TEST=none

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

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