DevTools: add emulation toggle button and splash screen.

BUG=327641
R=dgozman@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176425 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove unneeded checks in RenderTreeBuilder

Remove unneeded checks in RenderTreeBuilder, the same check is done in RenderTreeBuilder::shouldCreateRenderer.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176426 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Use stricter typing for NodeLists throughout the code base

Use stricter typing for NodeLists throughout the code base. This makes it
clearer what exact type we are actually dealing with. This also allows the
compiler to de-virtualize some function calls with C++11.

R=adamk@chromium.org, esprehn@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176427 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Clean up snapshot command log.

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

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176428 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Oilpan: Ensure that types definitions are known for traced weak members.

R=sigbjornf@opera.com
BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176429 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Make iterator for Element's attributes more lightweight

Make iterator for Element's attributes more lightweight. Kill the
AttributeConstIterator class and make the iterator a simple pointer instead
(similarly to the Vector iterator). Also rename the AttributeIteratorAccessor
class to AttributeCollection as I think it looks better. This CL adds a typedef
so that the iterator is now used as AttributeCollection::const_iterator.

Also rename the attributesIterator() method to attributes() for simplicity.

R=esprehn@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176430 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: [Console] Separate height caching from willHide event

This patch introduces ViewportElement.cacheHeight() method which is
called by viewport control in appropriate time to let viewportElement
cache its height. Currently, ViewportElement.willHide() method is
responsible for height caching.

ViewportElement.cacheHeight() must not invalidate DOM. This is not
the case for willHide() method due to the console.table implementation
which removes inner DataGrid views. The bug happens because of the
"scroller securing" (see ViewportElement.refresh method) being done after
the sequence of willHide() calls.

BUG=385685
R=aandrey, pfeldman

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

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