DevTools: Jumping to search result should reveal search result in CodeMirror.

Currently editor scrolls to search result usually leaving it on the las line of the screen which is bad.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152776 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Insert pinch zoom virtual viewport layers to graphics layer tree.

This cl adds the required layers to the graphics layer tree in order to support
the pinch zoom virtual viewport for fixed-position objects.

BUG=none

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152777 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: migrate UISourceCode.path from Array.<string> to string.

R=vsevik@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152778 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Match CanvasGradient::addColorStop to the spec.

The canvas spec [1] defines addColorStop without optional arguments. This patch
removes optional attribute from addColorStop interface.

[1] http://www.w3.org/TR/2dcontext2/

TEST=LayoutTests/canvas/philip/tests/2d.missingargs.html

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152779 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Web MIDI: refine MIDIAccessor and WebMIDIAccessor APIs

This re-lands 17155009 along with Adam Barth's last review comments.
https://codereview.chromium.org/17155009/#msg12

TEST=(tested locally with unlanded Chromium back-end)
BUG=163795

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152780 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix a history bug where a reload is given a standard load's history entry.

If a resource load is started after the load event and a reload is triggered
before that resource load finishes, the load will be cancelled and in doing
so will incorrectly revert the new load's load type to FrameLoadTypeStandard.
This was regressed in r148684

BUG=241581
TEST=http/tests/history/reload-during-load-after-load-event.html

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152781 bbb929c8-8fbe-4397-9dbb-9b2b20218538
The minor DOM GC should use NodeTraversal::next to traverse trees

Currently the minor DOM GC uses NodeTraversal::nextPostOrder to traverse trees,
but this is wrong.

  MinorGCWrapperVisitor::traverseTree(Node* rootNode) {
    for (Node* node = rootNode; node; node = NodeTraversal::nextPostOrder(node)) {
      ...;
    }
  }

The loop never goes around the loop more than once. Since rootNode is the root of a tree,
it has neither a nextSibling nor a parentNode, which means that nextPostOrder() always returns null.

This CL replaces nextPostOrder() with next().

TEST=minor-dom-gc.html
BUG=249381
R=abarth,adamk,jochen

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

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