Index: ui/gl/gl_surface.h |
diff --git a/ui/gl/gl_surface.h b/ui/gl/gl_surface.h |
index 70336ba6df89845717bd9c2957802168f91b36e4..4b58e5aba4d54c10f139b525d6130d2588cfbb5f 100644 |
--- a/ui/gl/gl_surface.h |
+++ b/ui/gl/gl_surface.h |
@@ -57,6 +57,10 @@ class GL_EXPORT GLSurface : public base::RefCounted<GLSurface> { |
// Get the underlying platform specific surface "handle". |
virtual void* GetHandle() = 0; |
+ // Check if this object represents a surface managed by a surrounding |
+ // framework rather than a surface managed by Chromium. |
+ virtual bool RepresentsNonOwnedSurface(); |
+ |
// Returns whether or not the surface supports PostSubBuffer. |
virtual bool SupportsPostSubBuffer(); |