Chromium Code Reviews| Index: content/public/browser/render_widget_host.h |
| diff --git a/content/public/browser/render_widget_host.h b/content/public/browser/render_widget_host.h |
| index 2eb913b2ab54edd40aac2a52045b46088b37cba3..7086697a6e679f56b41a1e4d5ac774776878b17f 100644 |
| --- a/content/public/browser/render_widget_host.h |
| +++ b/content/public/browser/render_widget_host.h |
| @@ -200,6 +200,10 @@ class CONTENT_EXPORT RenderWidgetHost : public IPC::Sender { |
| const gfx::Rect& src_rect, |
| const gfx::Size& accelerated_dst_size, |
| const base::Callback<void(bool, const SkBitmap&)>& callback) = 0; |
| + virtual bool CanCopyFromBackingStore() = 0; |
|
jam
2014/02/26 00:09:54
so to be clear, this is in the public api since ch
no sievers
2014/02/26 00:25:56
Actually we don't have to add this one. It already
powei
2014/02/26 18:42:38
I thought it would make sense that the user would
|
| + // Ensures that the view does not drop the backing store even when hidden. |
| + virtual void LockForCopyFromBackingStore() = 0; |
| + virtual void UnlockForCopyFromBackingStore() = 0; |
|
jam
2014/02/26 00:09:54
I'm sure there's a reason why you're exposing thes
no sievers
2014/02/26 00:25:56
The problem is that the application wants to repla
jam
2014/02/26 17:37:29
I'm not familiar with this part of the code, so I
|
| #if defined(TOOLKIT_GTK) |
| // Paint the backing store into the target's |dest_rect|. |
| virtual bool CopyFromBackingStoreToGtkWindow(const gfx::Rect& dest_rect, |