Chromium Code Reviews| Index: content/public/browser/render_widget_host_view.h |
| diff --git a/content/public/browser/render_widget_host_view.h b/content/public/browser/render_widget_host_view.h |
| index 7c89136bc9656844a692c397e25ead1680cfca5d..3d69ec689f3a5cb45cac2f24966e35e84fcbe71d 100644 |
| --- a/content/public/browser/render_widget_host_view.h |
| +++ b/content/public/browser/render_widget_host_view.h |
| @@ -86,6 +86,10 @@ class CONTENT_EXPORT RenderWidgetHostView { |
| virtual bool HasFocus() const = 0; |
| // Returns true is the current display surface is available. |
| virtual bool IsSurfaceAvailableForCopy() const = 0; |
| + // Locks the surface for copying. |
| + virtual void LockSurfaceForCopy() = 0; |
|
no sievers
2014/02/21 02:01:37
Can this be in RenderWidgetHostViewPort instead, s
powei
2014/02/21 02:27:22
Done.
|
| + // Unlocks the surface for copying. |
| + virtual void UnlockSurfaceForCopy() = 0; |
| // Shows/hides the view. These must always be called together in pairs. |
| // It is not legal to call Hide() multiple times in a row. |