Index: content/browser/renderer_host/render_view_host_impl.h |
diff --git a/content/browser/renderer_host/render_view_host_impl.h b/content/browser/renderer_host/render_view_host_impl.h |
index 9fdbd0af2b2ccae1a58c8c84048cd28e443b9313..09c7bcf2e82e83ff1e4ffbe7262d82ce9d6f2753 100644 |
--- a/content/browser/renderer_host/render_view_host_impl.h |
+++ b/content/browser/renderer_host/render_view_host_impl.h |
@@ -239,6 +239,15 @@ class CONTENT_EXPORT RenderViewHostImpl |
virtual void NotifyTimezoneChange() OVERRIDE; |
virtual void GetAudioOutputControllers( |
const GetAudioOutputControllersCallback& callback) const OVERRIDE; |
+ virtual void CopyFromBackingStore( |
+ const gfx::Rect& src_rect, |
+ const gfx::Size& accelerated_dst_size, |
+ const base::Callback<void(bool, const SkBitmap&)>& callback) OVERRIDE; |
+ |
+ void CopyFromBackingStoreCallback( |
+ const base::Callback<void(bool, const SkBitmap&)>& callback, |
+ bool success, |
+ const SkBitmap& bitmap); |
#if defined(OS_ANDROID) |
virtual void ActivateNearestFindResult(int request_id, |
@@ -751,6 +760,8 @@ class CONTENT_EXPORT RenderViewHostImpl |
// TODO(nasko): Move to RenderFrameHost, as this is per-frame state. |
base::Closure pending_shutdown_on_swap_out_; |
+ int copy_requests_; |
+ |
base::WeakPtrFactory<RenderViewHostImpl> weak_factory_; |
DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); |