Add ability to pass through IDWriteFactory so sandbox can control how it's constructed

Skia supports receiving a factory after Skia r14000. Plumb
a pointer through here so that the sandbox warmup code, see
https://codereview.chromium.org/217813008 can control how
it's constructed.

R=eae@chromium.org
BUG=333029

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

git-svn-id: svn://svn.chromium.org/blink/trunk@170669 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[DevTools] Introduced WebDeviceEmulationParams.

BUG=327641
TBR=pfeldman@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@170670 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Draw thin slices of an image w/ anti-aliasing for 2D <canvas>

Add a GraphicsContext-scoped flag that allows anti-aliasing of
(all) image-geometry to be enabled in a selective manner.
Enable this behavior for CanvasRenderingContext2D.
When this flag is set, image geometry that would drawn as very
thin (< 1 device pixel wide/high) will be anti-aliased.

BUG=352611

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

git-svn-id: svn://svn.chromium.org/blink/trunk@170671 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[refactor] Remove the AlgorithmRegistry singleton.

The problem with AlgorithmRegistry is that it is not threadsafe.

BUG=357673,245025

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

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