| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "content/renderer/android/synchronous_compositor_frame_sink.h" | 5 #include "content/renderer/android/synchronous_compositor_frame_sink.h" |
| 6 | 6 |
| 7 #include <vector> | 7 #include <vector> |
| 8 | 8 |
| 9 #include "base/auto_reset.h" | 9 #include "base/auto_reset.h" |
| 10 #include "base/location.h" | 10 #include "base/location.h" |
| (...skipping 448 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 459 | 459 |
| 460 void SynchronousCompositorFrameSink::OnBeginFrame( | 460 void SynchronousCompositorFrameSink::OnBeginFrame( |
| 461 const cc::BeginFrameArgs& args) {} | 461 const cc::BeginFrameArgs& args) {} |
| 462 | 462 |
| 463 void SynchronousCompositorFrameSink::ReclaimResources( | 463 void SynchronousCompositorFrameSink::ReclaimResources( |
| 464 const cc::ReturnedResourceArray& resources) { | 464 const cc::ReturnedResourceArray& resources) { |
| 465 DCHECK(resources.empty()); | 465 DCHECK(resources.empty()); |
| 466 client_->ReclaimResources(resources); | 466 client_->ReclaimResources(resources); |
| 467 } | 467 } |
| 468 | 468 |
| 469 void SynchronousCompositorFrameSink::WillDrawSurface() {} | 469 void SynchronousCompositorFrameSink::WillDrawSurface( |
| 470 const cc::LocalSurfaceId& local_surface_id, |
| 471 const gfx::Rect& damage_rect) {} |
| 470 | 472 |
| 471 } // namespace content | 473 } // namespace content |
| OLD | NEW |