Index: content/browser/renderer_host/compositor_impl_android.h |
diff --git a/content/browser/renderer_host/compositor_impl_android.h b/content/browser/renderer_host/compositor_impl_android.h |
index eb9d9f3de0128eeea1f7ebec2b29b402ca670925..2eb2bcbe79ce0bf5de0f0a7a217fd26f290f57c4 100644 |
--- a/content/browser/renderer_host/compositor_impl_android.h |
+++ b/content/browser/renderer_host/compositor_impl_android.h |
@@ -42,9 +42,13 @@ class CONTENT_EXPORT CompositorImpl |
// Returns true if initialized with DIRECT_CONTEXT_ON_DRAW_THREAD. |
static bool UsesDirectGL(); |
+ // Returns the Java Surface object for a given view surface id. |
+ static jobject GetSurface(int surface_id); |
+ |
// Compositor implementation. |
virtual void SetRootLayer(scoped_refptr<cc::Layer> root) OVERRIDE; |
virtual void SetWindowSurface(ANativeWindow* window) OVERRIDE; |
+ virtual void SetSurface(jobject surface) OVERRIDE; |
virtual void SetVisible(bool visible) OVERRIDE; |
virtual void setDeviceScaleFactor(float factor) OVERRIDE; |
virtual void SetWindowBounds(const gfx::Size& size) OVERRIDE; |