Reapply 169354 "DevTools: track stylesheets by document, not local frame"

BUG=353257
TBR=vsevik

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

git-svn-id: svn://svn.chromium.org/blink/trunk@169421 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Reapply 169371 "DevTools: defer styles delta calculation to until the end of the task"

BUG=353257
TBR=vsevik

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

git-svn-id: svn://svn.chromium.org/blink/trunk@169422 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Make it possible to override the tickmarks for a WebFrame.

This makes it possible to override the default tickmark behavior for a frame.
The default behavior is to display tickmarks for find results. However the PDF
plugin handles finding itself but still wants to set tickmarks. This CL makes
it possible to specify an array of tickmarks to display.

BUG=303491

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

git-svn-id: svn://svn.chromium.org/blink/trunk@169423 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Web Animations API: Load resources referenced in element.animate()

This patch fixes a bug where resources in element.animate() calls were
not being fetched. This resulted in StylePendingImages leaking out of
the style resolving stage and into rendering which causes a crash.

This patch fixes the bug by ensuring StylePendingImages introduced in
applyAnimatedProperties() will be resolved as non-pending StyleImages
through an additional call to loadPendingResources().
This patch also modifies AnimatableImage to be a wrapper of CSSValues
instead of StyleImages in order to follow the same resource caching
logic as typical CSS image values.
This patch also updates EffectInput::convert() to pass the document's
StyleSheetContents to MutableStylePropertySet::setProperty() so that
relative URLs are correctly resolved to absolute URLs.

BUG=353385

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

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