| Index: content/common/gpu/gpu_surface_lookup.h
|
| diff --git a/content/common/gpu/gpu_surface_lookup.h b/content/common/gpu/gpu_surface_lookup.h
|
| index 3f3a1e59c1d8bb2af11def258bfa72f8a8ae4656..c47e7e379018a0b98b68a2736c3a07b17f86bd3d 100644
|
| --- a/content/common/gpu/gpu_surface_lookup.h
|
| +++ b/content/common/gpu/gpu_surface_lookup.h
|
| @@ -9,6 +9,10 @@
|
| #include "content/common/content_export.h"
|
| #include "ui/gfx/native_widget_types.h"
|
|
|
| +#if defined(OS_ANDROID)
|
| +#include "ui/gl/android/scoped_java_surface.h"
|
| +#endif
|
| +
|
| namespace content {
|
|
|
| // This class provides an interface to look up window surface handles
|
| @@ -23,6 +27,10 @@ class CONTENT_EXPORT GpuSurfaceLookup {
|
|
|
| virtual gfx::AcceleratedWidget AcquireNativeWidget(int surface_id) = 0;
|
|
|
| +#if defined(OS_ANDROID)
|
| + virtual gfx::ScopedJavaSurface AcquireJavaSurface(int surface_id);
|
| +#endif
|
| +
|
| private:
|
| DISALLOW_COPY_AND_ASSIGN(GpuSurfaceLookup);
|
| };
|
|
|