DevTools: Fix how scroll/selection restore interacts with reveal line.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152808 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Make plugins inside shadow to be captured for mouse as well.
When a plugin is inside shadow dom, mouse capture code cannot detect the embed object/plugin right now and therefore dragging selection, scrolling is broken if user starts the operation inside plugin and moves the mouse out of the plugin bounds (while keeping left button pressed).


BUG=233476
Test=Added LayoutTest: mouse-capture-inside-shadow.html

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152809 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove unused SinglyLinkedList implementation

R=jamesr
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152810 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix printing of slow directories to not print the fast directories.

We were checking the wrong entry in the tuple for the runtime.
Reworked the code a bit to avoid this problem and to avoid
printing the header line if there are no entries to print.

Also, increased the minimum time to print to 15 seconds instead of 10.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@152811 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Breaking whitespace in a white-space:pre-wrap should never go on the new line.

This broke in https://src.chromium.org/viewvc/blink?revision=147837&view=revision.
From that patch, currentCharacterIsWS does not get reset when currentCharacterIsSpace
does, so previousCharacterIsSpace is now the wrong thing for checking what to do
with a white-space:pre-wrap space.

Specifically, it's the following line at the end of RenderBlock::LineBreaker::nextSegmentBreak
where we reset currentCharacterIsSpace, but not currentCharacterShouldCollapseIfPreWap:
        if (!collapseWhiteSpace)
            currentCharacterIsSpace = false;

This code brings that bool back. It's a bit gross, but I couldn't come up with a cleaner
way to do this. At some point, someone needs to take a hacksaw to
RenderBlock::LineBreaker::nextSegmentBreak to break it up into digestible pieces.

BUG=246127,247959

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

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