Fix mac build

I'm not sure why this build error isn't showing up on the bots, but it doesn't
build locally for me because I removed this header in a previous CL.

TBR=ojan

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

git-svn-id: svn://svn.chromium.org/blink/trunk@148869 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Attempt to fix win build

We're getting link error for duplicate symbols. This CL marks the symbols as
local to the translation unit.

TBR=ojan

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

git-svn-id: svn://svn.chromium.org/blink/trunk@148876 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Refactor grid size estimation to use resolveGridPositionsFromStyle

resolveGridPositionsFromStyle required to have the grid filled so that
we resolve negative indexes against the grid's final edge. The
specification (and the code) changed to use the 'explicit grid' which
is independent of the grid items and depends only on the style.

This means that we can now safely reuse resolveGridPositionsFromStyle
during grid size estimation, which will make it easier to implement
'span' handling (along with removing some code complexity).

BUG=229713
TEST=All grid layout tests passing

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

git-svn-id: svn://svn.chromium.org/blink/trunk@148878 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix some ChromiumAndroidDriver unittests.

ChromiumAndroidDriver now requires a driver_details argument.
I figure it'll eventually all be on content shell, so I went
with the ContentShellDriverDetails.

test_drt_cmd_line is testing a function that no longer exists.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@148879 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove replace function that took a RegularExpression

The replace function that takes a RegularExpresion was only used by
InspectorStyleSheet and really shouldn't be used by anyone else since
using V8's regex engine to do replacement in C++ is probably bad.
Instead people should use one of the other safer engines like RE2.

This patch merges the replace function into the call site and simplifies
it a bunch since it doesn't need to be so general now. It still uses
V8 though, hopefully we can get the inspector to move to RE2 eventually.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@148880 bbb929c8-8fbe-4397-9dbb-9b2b20218538
non-x11 linux: Do not build the test netscape-plugin on non-x11 linux builds.

BUG=none

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

git-svn-id: svn://svn.chromium.org/blink/trunk@148881 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Don't use WebFileUtilities::getAbsolutePath in DragDataChromium::asURL.

Due to the renderer sandbox, this function will never work anyway. It
likely hasn't worked for a long time, but due to the old behavior of
silently ignoring errors and returning the original path, this was never
discovered.

BUG=234171

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

git-svn-id: svn://svn.chromium.org/blink/trunk@148882 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move WebCore unit tests to Source/core/tests

This CL moves the last of the unit tests out of TestWebKitAPI. The
TestWebKitAPI binary is just an empty gtest instance now. Once I remove all
references to it, we can remove it.

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

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

This test suite no longer contains any tests, we should remove it.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@148884 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Web MIDI: implement MIDIMessageEvent

This change implements MIDIMessageEvent behind a runtime flag.

BUG=163795
TEST=LayoutTests/fast/events/constructors/midi-message-event-constructor.html

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

git-svn-id: svn://svn.chromium.org/blink/trunk@148885 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Web MIDI: build fix

DOMWindowWebMIDI.idl was not included in the previous commit.

BUG=163795
TBR=crogers@google.com

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

git-svn-id: svn://svn.chromium.org/blink/trunk@148886 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fixing invalid block recovery in some delcaration list.

Current grammar fails on tests 8, 12, 13, 15, 16, 17. This patch fixes it.
It leds to further refactoring: introducing the rule 'decl_error: error | errors invalid_block_list error;' allows
to lets to remove 3 rules reducing code duplication.

BUG=140608

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

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