[DevTools] Expose |enableTouchEmulation| method for tests.

BUG=337142
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@172384 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove scrollbars rom fast/images/exif-orientation-css.html

This test is larger than the viewport, but the text outside the
viewport is the console output and not part of the test's pixel
results to verify pass/fail.

Use overflow:hidden to prevent scrollbars so we don't test the
scrollbars' pixel output in this test.

R=enne@chromium.org
BUG=364946

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

git-svn-id: svn://svn.chromium.org/blink/trunk@172385 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix checkValidity for form containing menulist select

checkvalidity for form returns false when we select the option from menulist. This happens because setNeedsValidityCheck() is called after dispatchInputAndChangeEventForMenuList() is called. Moved the setNeedsValidityCheck() before dispatchInputAndChangeEventForMenuList().

BUG=360444
TEST=fast/forms/checkValidity-select-form.html

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

git-svn-id: svn://svn.chromium.org/blink/trunk@172386 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Move profileStartTime knowledge into CPUProfileDataModel

driveby: remove relative window mode from FlameChart.

BUG=363976

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

git-svn-id: svn://svn.chromium.org/blink/trunk@172387 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Implement a workaround for missing stacks in CPU profiler

Sometimes sampler is not able to parse the JS stack and returns
a (program) sample instead. The issue leads to call frames belong
to the same function invocation being split apart.
Here's a workaround for that. When there's a single (program) sample
between two call stacks sharing the same bottom node, it is replaced
with the preceeding sample.

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

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