Index: ui/gfx/gl/gl_surface.h |
diff --git a/ui/gfx/gl/gl_surface.h b/ui/gfx/gl/gl_surface.h |
index 150182e8ed1fd29fd007e98fa5b7ede90f9e6dc4..3c0e847be3b7ba37ba09bd78f41fc682b57462cd 100644 |
--- a/ui/gfx/gl/gl_surface.h |
+++ b/ui/gfx/gl/gl_surface.h |
@@ -12,6 +12,20 @@ |
#include "ui/gfx/native_widget_types.h" |
#include "ui/gfx/size.h" |
+#if defined(OS_ANDROID) |
+#include <android/native_window.h> |
+ |
+// This is a wrapper object to pass ANativeWindow handles around when running |
+// in SurfaceTexture mode. |
+class AndroidNativeWindowInterface { |
jonathan.backer
2011/11/21 18:54:45
I don't see where this is referenced in this CL? M
michaelbai
2011/11/21 19:29:04
OK, Removed
|
+ public: |
+ virtual ~AndroidNativeWindowInterface() {} |
+ |
+ virtual ANativeWindow* GetNativeHandle() const = 0; |
+}; |
+ |
+#endif |
+ |
namespace gfx { |
class GLContext; |