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 574297a4b1c44f1d87ecb3fc840b4c48625730d1..9e8f6e0d349f3b92b57adc553b979abea333a114 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, |
@@ -758,6 +767,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); |