Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(135)

Side by Side Diff: content/renderer/android/synchronous_compositor_frame_sink.cc

Issue 2701663003: CompositorFrameSinkSupportClient::WillDraw needs to take in arguments (Closed)
Patch Set: c Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW
« no previous file with comments | « content/renderer/android/synchronous_compositor_frame_sink.h ('k') | services/ui/public/cpp/window_compositor_frame_sink.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698