| Index: cc/test/test_context_support.h
|
| diff --git a/cc/test/test_context_support.h b/cc/test/test_context_support.h
|
| index 1349053e920bad85ef3da1d6c781edbb4da46bf3..25be0b2a0851c6bfb1bb89a20d20772e78056872 100644
|
| --- a/cc/test/test_context_support.h
|
| +++ b/cc/test/test_context_support.h
|
| @@ -23,12 +23,8 @@ class TestContextSupport : public gpu::ContextSupport {
|
| virtual void SignalQuery(uint32 query,
|
| const base::Closure& callback) OVERRIDE;
|
| virtual void SetSurfaceVisible(bool visible) OVERRIDE;
|
| - virtual void Swap() OVERRIDE;
|
| - virtual void PartialSwapBuffers(const gfx::Rect& sub_buffer) OVERRIDE;
|
| virtual uint32 InsertFutureSyncPointCHROMIUM() OVERRIDE;
|
| virtual void RetireSyncPointCHROMIUM(uint32 sync_point) OVERRIDE;
|
| - virtual void SetSwapBuffersCompleteCallback(
|
| - const base::Closure& callback) OVERRIDE;
|
| virtual void ScheduleOverlayPlane(int plane_z_order,
|
| gfx::OverlayTransform plane_transform,
|
| unsigned overlay_texture_id,
|
| @@ -50,29 +46,11 @@ class TestContextSupport : public gpu::ContextSupport {
|
| void SetScheduleOverlayPlaneCallback(
|
| const ScheduleOverlayPlaneCallback& schedule_overlay_plane_callback);
|
|
|
| - enum SwapType {
|
| - NO_SWAP,
|
| - SWAP,
|
| - PARTIAL_SWAP
|
| - };
|
| -
|
| - SwapType last_swap_type() const { return last_swap_type_; }
|
| - gfx::Rect last_partial_swap_rect() const {
|
| - return last_partial_swap_rect_;
|
| - }
|
| -
|
| private:
|
| - void OnSwapBuffersComplete();
|
| -
|
| std::vector<base::Closure> sync_point_callbacks_;
|
| SurfaceVisibleCallback set_visible_callback_;
|
| ScheduleOverlayPlaneCallback schedule_overlay_plane_callback_;
|
|
|
| - base::Closure swap_buffers_complete_callback_;
|
| -
|
| - SwapType last_swap_type_;
|
| - gfx::Rect last_partial_swap_rect_;
|
| -
|
| base::WeakPtrFactory<TestContextSupport> weak_ptr_factory_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(TestContextSupport);
|
|
|