Implemented printToSkPicture without using WebViewBenchmarkSupport.
commitf7837a9849013df6c3ebad1327aadf3a74fbd8ab
authoralokp@chromium.org <alokp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 21 Aug 2013 03:00:05 +0000 (21 03:00 +0000)
committeralokp@chromium.org <alokp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 21 Aug 2013 03:00:05 +0000 (21 03:00 +0000)
treec37c97dc018ac031362e506724e8c026097b5123
parent9f2bdf1238623ac4feae8f468e79f8ef2d6d7b43
Implemented printToSkPicture without using WebViewBenchmarkSupport.

The new implementation grabs the compositor layer-tree and
recursively paints each layer into an SkPicture. Nothing should
change functionally. It is just moving the implementation from
WebKit side to Chrome side.

Once this patch lands, WebViewBenchmarkSupport can be deleted.

BUG=168460

Review URL: https://chromiumcodereview.appspot.com/23049007

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218611 0039d316-1c4b-4281-b951-d872f2087c98
cc/layers/content_layer.cc
cc/layers/content_layer.h
cc/layers/layer.cc
cc/layers/layer.h
cc/layers/picture_layer.cc
cc/layers/picture_layer.h
content/renderer/gpu/gpu_benchmarking_extension.cc
content/renderer/gpu/render_widget_compositor.cc
content/renderer/gpu/render_widget_compositor.h