[DevTools] Added portrait and landscape screencast layouts.

BUG=311249

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

git-svn-id: svn://svn.chromium.org/blink/trunk@164793 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Listbox does not take text direction into account when sizing

The listbox code currently does not take the directionality of the text
into account when determining the size for the element. This can cause
the size to be off by a character or more thus truncating the text for
the longest option.

BUG=332196
TEST=fast/text/international/listbox-width-rtl.html
R=leviw@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@164794 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Get rid of the overloads on templated traversal methods for clarity and safety

After careful thought, these overloads decrease clarity and safety for marginal
benefit.  Because we have the dichotomy between Node and ContainerNode we do not
want to call the hidden method Node::firstChild when we pass a ContainerNode to
the traversal method and thus incur the cost of the extra check.  It is best to
be explicit to decrease the likelyhood that someone will inadvertantly use the
slower hidden method when traversing.

BUG=331880
R=ch.dumez@samsung.com, esprehn@chromium.org

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

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