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

Side by Side Diff: components/exo/compositor_frame_sink.cc

Issue 2801313002: Remove MojoCompositorFrameSink::WillDrawSurface (Closed)
Patch Set: Rebase Created 3 years, 8 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
« no previous file with comments | « cc/ipc/mojo_compositor_frame_sink.mojom ('k') | components/exo/compositor_frame_sink_holder.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "components/exo/compositor_frame_sink.h" 5 #include "components/exo/compositor_frame_sink.h"
6 6
7 #include "base/memory/ptr_util.h" 7 #include "base/memory/ptr_util.h"
8 #include "cc/surfaces/surface.h" 8 #include "cc/surfaces/surface.h"
9 #include "cc/surfaces/surface_manager.h" 9 #include "cc/surfaces/surface_manager.h"
10 #include "components/exo/compositor_frame_sink_holder.h" 10 #include "components/exo/compositor_frame_sink_holder.h"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 client_->OnBeginFrame(args); 61 client_->OnBeginFrame(args);
62 } 62 }
63 63
64 void CompositorFrameSink::ReclaimResources( 64 void CompositorFrameSink::ReclaimResources(
65 const cc::ReturnedResourceArray& resources) { 65 const cc::ReturnedResourceArray& resources) {
66 client_->ReclaimResources(resources); 66 client_->ReclaimResources(resources);
67 } 67 }
68 68
69 void CompositorFrameSink::WillDrawSurface( 69 void CompositorFrameSink::WillDrawSurface(
70 const cc::LocalSurfaceId& local_surface_id, 70 const cc::LocalSurfaceId& local_surface_id,
71 const gfx::Rect& damage_rect) { 71 const gfx::Rect& damage_rect) {}
reveman 2017/04/10 17:00:10 nit: move definition to header now that it is empt
Alex Z. 2017/04/10 17:39:01 Done.
72 client_->WillDrawSurface(local_surface_id, damage_rect);
73 }
74 72
75 } // namespace exo 73 } // namespace exo
OLDNEW
« no previous file with comments | « cc/ipc/mojo_compositor_frame_sink.mojom ('k') | components/exo/compositor_frame_sink_holder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698