Index: cc/test/test_context_support.h |
diff --git a/cc/test/test_context_support.h b/cc/test/test_context_support.h |
index 7ae657c15d2189f01d0ab0d33b88c3ea5cd81697..9fd5d1d14f1675d7e14674786105a380a16aec39 100644 |
--- a/cc/test/test_context_support.h |
+++ b/cc/test/test_context_support.h |
@@ -29,6 +29,11 @@ class TestContextSupport : public gpu::ContextSupport { |
virtual void PartialSwapBuffers(const gfx::Rect& sub_buffer) OVERRIDE; |
virtual void SetSwapBuffersCompleteCallback( |
const base::Closure& callback) OVERRIDE; |
+ virtual void ScheduleOverlayPlane(int plane_z_order, |
+ unsigned plane_transform, |
+ unsigned overlay_texture_id, |
+ const gfx::Rect& display_bounds, |
+ const gfx::RectF& uv_rect) OVERRIDE; |
void CallAllSyncPointCallbacks(); |
@@ -36,6 +41,15 @@ class TestContextSupport : public gpu::ContextSupport { |
void SetSurfaceVisibleCallback( |
const SurfaceVisibleCallback& set_visible_callback); |
+ typedef base::Callback<void(int plane_z_order, |
+ unsigned plane_transform, |
+ unsigned overlay_texture_id, |
+ const gfx::Rect& display_bounds, |
+ const gfx::RectF& crop_rect)> |
+ ScheduleOverlayPlaneCallback; |
+ void SetScheduleOverlayPlaneCallback( |
+ const ScheduleOverlayPlaneCallback& schedule_overlay_plane_callback); |
+ |
enum SwapType { |
NO_SWAP, |
SWAP, |
@@ -52,6 +66,7 @@ class TestContextSupport : public gpu::ContextSupport { |
std::vector<base::Closure> sync_point_callbacks_; |
SurfaceVisibleCallback set_visible_callback_; |
+ ScheduleOverlayPlaneCallback schedule_overlay_plane_callback_; |
base::Closure swap_buffers_complete_callback_; |