change cr/lf to lf in testcase.

BUG=
R=fs@opera.com

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

git-svn-id: svn://svn.chromium.org/blink/trunk@164101 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add fast path for #id / tag#id selector queries

Add fast path for #id / tag#id selector queries, even in the cases where the
case where the document contains multiple elements with the same id.

DocumentOrderedMap was updated so that the hash table values contain the
ordered vector of all matching Elements (lazily populated).

DocumentOrderedMap now supports getAllElementsById() operation in addition
to the pre-existing getElementById() one.

I see the following impact of BrowserMark test cases (Linux Desktop):
05_DOM_Create_Source: +190.5% (~2.9x better)
06_DOM_Dynamic_Create: +150.0% (~2.5x better)

Those tests were spending most of their time traversing the tree due to the
"div#hidden_playground" query. That query would go through the slow path
because:
- We did not support going through fast path for tag#id queries, only #id
  ones.
- The id is not unique in the document.

This is a partial merge of WebKit r150187 by <rniwa@webkit.org>.

R=esprehn
BUG=323962

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

git-svn-id: svn://svn.chromium.org/blink/trunk@164102 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move DOM callback logic out of ChromiumDataObject::getAsString.

This can just live in the caller, DataTransferItem.

Rename ChromiumDataObject::internalGetAsString to getAsString.

BUG=328079

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

git-svn-id: svn://svn.chromium.org/blink/trunk@164103 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Show resources panel before showing any views on it.

R=apavlov

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

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