Update an Element's ancestor chain at the end of its activation

In the course of the an Element being activated, there is a possiblity
of the Element loosing its renderer (display: none being set on :active).
At the end of the activation, the element and its ancestor chain need to
be updated, so that the styles get reapplied. The current code skips the
last part if the active element did not have a renderer.

BUG=139660
TEST=fast/css/clear-activechain-list.html

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177215 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[DevTools] Reset pageScaleFactor and scroll offsets when emulating device.

BUG=none

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177216 bbb929c8-8fbe-4397-9dbb-9b2b20218538
4th side of a 3-sided patch

Remove the now unnecessary defines introduced in
https://codereview.chromium.org/348193002

R=abarth@chromium.org
BUG=None

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177217 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Expose 'LaxMixedContentChecking' runtime setting to embedders.

Apparently WebRuntimeSettings isn't generated. Who knew? This followup
to https://codereview.chromium.org/356843006/ makes it possible for the
embedder to set this flag, which we'll need to do if we want enterprise
policy to hook into the setting.

BUG=389089

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177218 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Timeline: associate captured pictures with layer paints only

We used to attach captured pictures to last paint event, despite it
could be a FrameView, not layer paint event. In such cases, the parent
frame's layer picture would be associated with subframe paint. We should
only do this for paints that actually paint layers.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177219 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Timeline: fix crash when painted RenderImage is an anonymous object

Do not expect generatingNode() to be non-null, iterate through
ancestors till we find someone with a real generating node.

BUG=387744

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177220 bbb929c8-8fbe-4397-9dbb-9b2b20218538
IDL: For DOMString? attribute getters, use null string to represent null

Same as we do for wrapper type attributes, where a null pointer is used
to represent a null Javascript value, use a null string (one for which
WTF::String::isNull() returns true) to represent a null Javascript value
for nullable DOMString attributes.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177221 bbb929c8-8fbe-4397-9dbb-9b2b20218538
kPMColor_SkColorType -> kN32_SkColorType

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177222 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: move cmdevtools file out of cm/ folder.

File cmdevtools.css is not a part of codemirror distribution - it
customizes editor look & feel of the devtools editor.

R=apavlov

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177223 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Page.navigate response should contain a frameId.

BUG=375205
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177224 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Make target in ProfileHeader nullable, because it could be created from file

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177225 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Fix test that rely on network resources content caching.

BUG=307628
TBR=pfeldman
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177226 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Fix timeout in target-leak.html test

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177227 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Debugger StepInto/Out/Over initiated from a framework should not black-box it.

BUG=267592
R=yurys, pfeldman@chromium.org

Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=177170

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

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