Convert most callers of setInlineStyleProperty passing strings to enums or doubles instead

This gets rid of most of our internal callers invoking the CSS parser. There's no reason
to do that, we can just pass the CSSValue or the double value directly. The only place
left was one using a transform translate() which is pretty nasty to code out the values by
hand for. We might consider a nicer API for that in the future.

I also cleaned up callers that were passing false for "important" since that's the default
anyway.

R=eseidel@chromium.org,eae@chromium.org,dglazkov@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@154695 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Prevent WebMediaPlayerImpl from dereferencing stale Frame pointers on Document changes.

Temporary fix to prevent dereferencing stale Frame pointers when an HTMLMediaElement is
moved from one document to another. (e.g., Lifting it out of an iframe into the
main document.)

BUG=260156

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

git-svn-id: svn://svn.chromium.org/blink/trunk@154696 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Implement MIDIOutput.send()

This fully implements the Web MIDI API sending of MIDI data in Blink, but further work is still
needed in the chromium back-end.

BUG=163795
TEST=requestmidiaccess.html updated to test send() method
R=abarth@chromium.org, toyoshim@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@154697 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix a bug that mousedown without mouseup in a frame disturbs click event in another frame.

If a mouse button is clicked but mouseup event for it is not dispatched
(it happens frequently because of context menus) and mousedown in
another frame is default-prevented, 'click' event for the latter mouse
click is not dispatched.

EventHandler::m_capturingMouseEventsNode wrongly continues to hold a node
for the first click, and it prevents hit-testing for the second click. We
should alwyas clear m_capturingMouseEventsNode in mousedown handling code.

BUG=262007

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

git-svn-id: svn://svn.chromium.org/blink/trunk@154698 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move statics from ScopeContentDistribution to ShadowRoot

ScopeContentDistribution contains a bunch of static methods that entirely
delegate to ShadowRoot and should just be methods there. This moves them
to their correct home.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@154699 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Simplify makegrammar.pl
    
This change removes the preprocessor and defines parameters from
makegrammar.pl that were passed by gyp but didn't change the output of
the script. This is because we don't have ENABLE in CSSGrammar.y.in.
    
While touching the code, also greatly simplified the script based on
the fact that only one code path was ever used (we only call the
script on CSSGrammar.y.in).
    
CSSGrammar.y is the same before and after this change.

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

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