Support fling velocity notifications to the clients of both WebGestureCurve and
WebInputHandler.

A WebGestureCurve may have an associated velocity.  This patch provides the
necessary hook for such velocities to be sent to the curve's associated
client. Additionally, plumbing is added to pipe these values from
WebCompositorInputHandlerImpl to its associated WebInputHandlerClient. This is
used with overscroll notifications, as in
https://codereview.chromium.org/13375020/, but could prove useful in such cases
as compositor viewport prediction, etc...

BUG=135975
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149219 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Absolutify paths to fileapi/.

BUG=234793
TBR=abarth

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149220 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Dubious cast from HTMLPlugInElement to HTMLEmbedElement in scriptcontroller.cpp.

There is no reason to believe that all PluginElements are Embed elements, since
they could be applet, object, etc.  The fix is to include the HTMLPluginElement
header, so that C++ realizes that HTMLPluginElements are HTMLElements, and then
to remove the cast entirely. This forces the wrapping back through the
HTMLElement wrapper factory ensuring that the correct bindings are assigned.

This is a top crasher, but I don't have an example of how to trigger this.  But
the code is clearly wrong.

R=abarth@chromium.org
BUG=235040

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149221 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Absolutify paths to workers/, workers/chromium/, xml/.

BUG=234793
TBR=abarth

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149222 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove some orphaned USE macros.
    
QXMLQUERY, APPKIT, SAFARI_THEME and IOSURFACE_CANVAS_BACKING_STORE
were never defined. They also belong to other ports so can be safely
removed.

While touching this code, propagated the xmlDocPtr type into
TransformSource from the XMLDocumentParser.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149223 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert "Added Skia turbulence filter to Webkit."

This reverts commit 149212. The test added in this patch crashes
on Linux/Mac debug.

http://test-results.appspot.com/dashboards/flakiness_dashboard.html#showExpectations=true&tests=css3%2Ffilters%2Feffect-reference-hw.html

TBR=senorblanco@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149224 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Explicitly disable compression for IndexedDB

LevelDB supports snappy compression, and it is enabled by default.
Chromium is currently not compiled with snappy compression, and
we've been holding off compiling it in until we get to the bottom
of some IndexedDB stability issues - but that's blocking other
LevelDB clients. So, explicitly disable compression for IndexedDB
so we can flip the switch for everyone else.

BUG=81384
R=eseidel@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149225 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Snap computed margin and polygon boundaries to the LayoutUnit grid to ensure that they fall within the shape's LayoutUnit bounding box. 

This is a provisional change, it will be replaced by the TBD patch for https://code.google.com/p/chromium/issues/detail?id=235085

BUG=230392

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149226 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Update some flaky tests to match bots.
These have been flaky for as long as we have records,
so there's no clear patch to blame.

TBR=adamk@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149227 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Simplify HistoryItem and remove unused BackForwardListImpl

HistoryItem had a bunch of logic that's unused in Blink/Chromium.
This patch removes most that cruft, leaving only what's used in
core and WebHistoryItem.

As for BackForwardList, this patch takes care of a long-standing FIXME
to rename it BackForwardClient. Similarly renamed is BackForwardListChromium
as BackForwardClientImpl. It also kills BackForwardListImpl (in favor of an
EmptyBackForwardClient for those cases where we have a Page but no WebViewImpl).
Finally, it makes BackForwardClient non-RefCounted; instead it's owned by the
WebView.

R=eseidel@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149228 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Absolutify paths to modules/device_orientation (already done with dom/).

BUG=234793
TBR=abarth

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149229 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Absolutify paths to html/* (subfolders only).

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149230 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix crash in single process mode on Mac.

The single process mode is used for testing. In that mode, WebKit runs on a thread in the browser process. In that mode, this notification is called by the OS on the main thread in the browser process, and not on the WebKit thread. Avoid the crash by early exiting in the callback.

BUG= 126514

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149231 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Using relative positioning for overlay enclosure

The overlay video play button uses absolute positioning
The overlay enclosure should provide the containing block for the play button.
So that overflow:hidden will work on the overlay play button

BUG=232878

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

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