Move logic from NativeImageSkia to GraphicsContext and SkiaUtils

Related to https://codereview.chromium.org/358893002: in this CL, preparePaint[...] is used  in NativeImageSkia and will be used in StaticBitmapImage::draw()

To avoid having a huge CL (and because it is possible), this change is proposed as a separate CL.

BUG=344804, 170021

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

git-svn-id: svn://svn.chromium.org/blink/trunk@178847 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[DevTools] Make toolbar counters declarative.

This includes error-warning and devices counters.

BUG=none

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

git-svn-id: svn://svn.chromium.org/blink/trunk@178848 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add UseCounters for non-standard WheelEvent.wheelDelta* attributes

In ad-hoc testing neither Firefox nor IE11 support these attributes,
making them good candidates for deprecation and eventual removal.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@178849 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Introduce createRawLocationByConsoleCallFrame to linkify links in Network popover correctly.

Links to internal VM scripts were not linkified correctly in Network panel popover.
To test this, send an XHR from console, and try to jump to an injected script from Network popover.

R=eustas, vsevik

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

git-svn-id: svn://svn.chromium.org/blink/trunk@178850 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Switch timeline-decode-resize.html to using displayAsyncThen

This should hopefully deflake it. Also, swithc to using
invokeAsyncWithTimeline() and do not depend on Timeline
records arriving before the recording is stopped.

TBR=loislo@chromium.org

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

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