Minor Refactor: Change signature of focusedElement

focusedElement should be a const function.

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@167219 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Update webaudio tests not to use the legacy methods.

createGainNode -> createGain
createDelayNode -> createDelay
createJavaScriptNode -> createScriptProcessor
noteOn -> start
noteGrainOn -> start
noteOff -> stop

Rename files javascriptaudionode* to scriptprocessornode*

Remove the tests for noteOn, noteGrainOn, and noteOff.

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@167221 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Make CollectionIndexCache::setCachedNode() private

Make CollectionIndexCache::setCachedNode() private. We no longer need it to be
public as it is never called from the outside. It is better for the class to
handle its own cache.

R=rob.buis@samsung.com

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

git-svn-id: svn://svn.chromium.org/blink/trunk@167222 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Port SiblingTraversalStrategies to ElementTraversal API

Port SiblingTraversalStrategies to ElementTraversal API for consistency.
Node's previousElementSibling() / nextElementSibling() will be wrappers around
ElementTraversal soon.

Also pass the element by reference instead of pointer in
SiblingTraversalStrategies's API to make the code cleaner.

R=adamk, eseidel

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

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