Dispatch gesturetapunconfirmed platform event as GestureEvent.
The gesture coordinates are adjusted to nearest link.

This event is to be hooked at HTMLAnchorElement to trigger pre-{connect,rendering}

BUG=234036

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149835 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Removed the assumption that Tools/Scripts was in PATH
when running check-webkit-style.

BUG=238521

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149836 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Have rebaselining remove flaky lines as well.

The script was trying to be too smart here. If someone rebaselines
a test with flaky expectations, we should assume they know what
they're doing.

Mainly, this lets people add lines with multiple failure types
and still have the rebaseline remove the lines from TestExpectations.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149837 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Reland "Clear highlight when the highlighted node gets removed from the document"

Some web pages use a mask element to intercept tap gesture and then hide
the element immediately. The orphaned highlight can be very annoying.
For example, pages that show a popup often use a full screen transparent
element to intercept events, and will hide the popup if the user attempt
to tap on the main document. If we don't remove highlight from the hidden
element, the whole screen will be covered by a highlight.

This patch clears highlight from a layer when the tap node is no longer valid.

TEST=webkit_unit_tests:LinkHighlightTest.resetDuringNodeRemoval
BUG=232926
R=jamesr@chromium.org

Originally reviewed in https://chromiumcodereview.appspot.com/14582012
Later reverted in https://codereview.chromium.org/14921004/
The test failure was due to failing to unregister mocked URLs after test.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149838 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Merge virtual methods from HTMLDocument into Document

All the virtual method overrides in HTMLDocument can be merged into Document and
we can just use the isHTMLDocument() check there. This is needed for merging the
HTMLDocument and Document classes per the new DOM spec.

This also lets us devirtualize Document::createElement which is good for performance.

This is the first step in merging HTMLDocument into Document.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149839 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove even more dead code from ChromeClient

This set of dead code was found by looking for methods of ChromeClient
with default implementations in core but without any overrides. Where
possible, I removed all related dead code in the callers of these methods.

R=eseidel@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149840 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Make websocket error messages look better at the devtools console.

Show the source file name and the line number for WebSockets in a WebWorker.
Show "closed before connection is established" message as a warning, not an error.

BUG=164546,101875
R=tyoshino
TEST=http/tests/websocket and some manual tests

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149841 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Avoid setTimeout in fast/animation tests

BUG=235752

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

git-svn-id: svn://svn.chromium.org/blink/trunk@149842 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove Internals::createShadowRoot(element) and polyfill.js.

We don't need Internals::createShadowRoot anymore since Element.webkitCreateShadowRoot() is always available.

BUG=None

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

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