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 f11a9f800446f05dfc15ad6b8b655dfb29066688..636d2ce0c60c7bfb954d1a2f112f937b02545042 100644 |
| --- a/content/public/browser/render_widget_host_view.h |
| +++ b/content/public/browser/render_widget_host_view.h |
| @@ -82,6 +82,8 @@ class CONTENT_EXPORT RenderWidgetHostView { |
| virtual void Focus() = 0; |
| // Returns true if the View currently has the focus. |
| virtual bool HasFocus() const = 0; |
| + // Returns true is the current display surface is available. |
| + virtual bool HasSurface() const = 0; |
|
mmocny
2012/05/03 19:46:08
This name is not nearly descriptive enough, but I
mazda
2012/05/03 20:19:33
This is also confusing because there is similar fu
mazda
2012/05/04 22:20:32
IsSurfaceAvailableForCopy in your latest patch loo
|
| // Shows/hides the view. These must always be called together in pairs. |
| // It is not legal to call Hide() multiple times in a row. |