DevTools: move CPUFlameChart color generator into the CPUFlameChartDataProvider

CPUFlameChartDataProvider should not depend on CPUProfileView

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

git-svn-id: svn://svn.chromium.org/blink/trunk@171570 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Wrap isActivatedSubmit() in WebFormControlElement

This is related refactoring old Blink code, specifically moving functions in
WebPasswordFormData and WebPasswordFormUtils into chromium side. Inevitably,
HTMLFormControlElement.isActivatedSubmit() that is called in WebPasswordFormData
needs to be exposed to chromium side.

R=gcasto@chromium.org, tkent@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@171571 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Setup LayoutState for a subtree layout.

When doing a layout from a subtree (i.e. SVG) we would be missing the margins
for the body element when calculating the rect for repaint. This CL makes sure
the LayoutState is setup correctly for a subtree layout.

BUG=320139

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

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