summaryrefslogtreecommitdiffstats
path: root/cc/layer_impl.h
diff options
context:
space:
mode:
authorleandrogracia@chromium.org <leandrogracia@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-09 00:15:29 +0000
committerleandrogracia@chromium.org <leandrogracia@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-09 00:15:29 +0000
commitb9dcf43a024caa0d276da885dc457880db0c2d35 (patch)
tree21bc3571a4d9f0de965d94b390f44a09023953d8 /cc/layer_impl.h
parentb750dac8b02b2042db9f905ff6fed378fe80b9f7 (diff)
downloadchromium_src-b9dcf43a024caa0d276da885dc457880db0c2d35.zip
chromium_src-b9dcf43a024caa0d276da885dc457880db0c2d35.tar.gz
chromium_src-b9dcf43a024caa0d276da885dc457880db0c2d35.tar.bz2
Implement a method to access the non-composited content root layer picture pile.
This method is required to implement the CapturePicture API in Android WebView. BUG=167908 Review URL: https://chromiumcodereview.appspot.com/11731002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175618 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/layer_impl.h')
-rw-r--r--cc/layer_impl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/cc/layer_impl.h b/cc/layer_impl.h
index 2219cf7..8b43f9f 100644
--- a/cc/layer_impl.h
+++ b/cc/layer_impl.h
@@ -24,6 +24,7 @@
#include "third_party/WebKit/Source/Platform/chromium/public/WebFilterOperations.h"
#include "third_party/skia/include/core/SkColor.h"
#include "third_party/skia/include/core/SkImageFilter.h"
+#include "third_party/skia/include/core/SkPicture.h"
#include "ui/gfx/rect.h"
#include "ui/gfx/rect_f.h"
#include "ui/gfx/transform.h"
@@ -288,6 +289,8 @@ public:
gfx::Rect layerRectToContentRect(const gfx::RectF& layerRect) const;
+ virtual skia::RefPtr<SkPicture> getPicture();
+
protected:
LayerImpl(LayerTreeImpl* layerImpl, int);