Enable ENCRYPTED_MEDIA_V2 (correct description for r151111)

(r151111 was committed with the wrong description. This is the correct one.)

This enables the existing implementation of the new API and fixes build errors.
The fucntionality is behind a runtime flag and not yet implemented in Chromium.

The dependency on Source/modules/encryptedmedia/ from Source/core/ will be removed in an upcoming CL (http://crbug.com/242754).

BUG=224791
R=abarth@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151117 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Provide a drag image for dragging a link.

BUG=none
R=dcheng@chromium.org, eseidel@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151118 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix the global-constructors-listing test after r151111/r151117.

BUG=224791
TBR=jchaffraix@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151119 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Another round of TextExpectations tweaks

This change is based on what is failing on the bots and try jobs as
the 2 are not totally equivalent.

TBR=jochen@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151120 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Get most of the way to const-correctness with WebCore::DrawLooper.

const SkDrawLoopers are useless (because iterating over them mutates them),
but we can get some compile-time safety by upcasting to SkDrawLooper* in the
getter, since that interface doesn't define non-iteration mutation methods.

BUG=243756
NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/16019003

git-svn-id: svn://svn.chromium.org/blink/trunk@151121 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add security comment for the InjectedScriptHost.

BUG=242322
R=yurys@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151122 bbb929c8-8fbe-4397-9dbb-9b2b20218538
A little bit of simplification in DrawLooper possible because of recently landed changes in Skia.

BUG=243756
NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/15732005

git-svn-id: svn://svn.chromium.org/blink/trunk@151123 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move StylePropertySet::createImmutable() to ImmutableStylePropertySet.

StylePropertySet::createImmutable() -> ImmutableStylePropertySet::create()
Also, immutableCopyIfNeeded() now returns a PassRefPtr<ImmutableStylePropertySet>.

This is a backport from WebKit r148398. Patch by Andreas Kling reviewed by Anders Carlsson.

R=eseidel@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151124 bbb929c8-8fbe-4397-9dbb-9b2b20218538
WebFrame::selectRange should behave like moveCaret

selectRange and moveCaret are used to alter the current selection by a
user dragging an insertion/selection handle on Android and ChromeOS.
There are two expected behaviors that this change fixes. First, if the
current selection is in an editable element, the new selection will be
within the same editable element. Second, the selection should stay
horizontally aligned with the handle.

Currently, selectRange doesn't even consider the second behavior and it
sort of gets the first behavior by restricting the resulting selection
to not cross editable boundaries and assuming that the focus point is
within the current editable element. This is incredibly fragile.

This extracts the logic used for determining selection when dragging the 
mouse, selectionExtentRespectingEditingBoundary, from EventHandler.cpp so 
that it can also be used for selectRange/moveCaret so that all these 
behaviors can be consistent.

To better reflect what these functions do (and that they are really
paired together) this change introduces new names for these two
functions: WebFrame::moveCaretSelection and WebFrame::moveRangeSelection.

NOTRY=true
BUG=232385,238329,238334

Review URL: https://chromiumcodereview.appspot.com/15017002

git-svn-id: svn://svn.chromium.org/blink/trunk@151125 bbb929c8-8fbe-4397-9dbb-9b2b20218538
support .xht directly so we do not have to rename files during w3c imports

R=ojan@chromium.org, eseidel@chromium.org
BUG=242737
NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/15592005

git-svn-id: svn://svn.chromium.org/blink/trunk@151126 bbb929c8-8fbe-4397-9dbb-9b2b20218538
CSSParser should return ImmutableStylePropertySets.

The StylePropertySets created by CSSParser were already immutable.
Let this be reflected in the pointer types returned.

This is a backport from WebKit r148399. Patch by Andreas Kling reviewed by Anders Carlsson.

R=eseidel@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151127 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Update comments, tests after r151126.

Turns out we actually had .xht as a test file already and were ignoring it :(.

TBR=ojan@chromium.org
BUG=242737

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151128 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add a script for dumping the list of passing/flaky/failing tests from the
last test run.

R=ojan@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151129 bbb929c8-8fbe-4397-9dbb-9b2b20218538
track count of prefixed properties that are imported

It would be nice if we didn't have to add -webkit- to any of the css
properties used in the w3c tests. This changes adds some summary statistics
to the import so we can track which ones to unprefix first.

R=ojan@chromium.org
BUG=242738

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

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