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

Side by Side Diff: services/ui/ws/compositor_frame_sink_client_binding.cc

Issue 2915483003: Remove MojoCompositorFrameSink::EvictCurrentSurface (Closed)
Patch Set: Fix FrameGenerator unit test Created 3 years, 6 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 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 "services/ui/ws/compositor_frame_sink_client_binding.h" 5 #include "services/ui/ws/compositor_frame_sink_client_binding.h"
6 6
7 namespace ui { 7 namespace ui {
8 namespace ws { 8 namespace ws {
9 9
10 CompositorFrameSinkClientBinding::CompositorFrameSinkClientBinding( 10 CompositorFrameSinkClientBinding::CompositorFrameSinkClientBinding(
(...skipping 24 matching lines...) Expand all
35 } 35 }
36 compositor_frame_sink_->SubmitCompositorFrame(local_surface_id_, 36 compositor_frame_sink_->SubmitCompositorFrame(local_surface_id_,
37 std::move(frame)); 37 std::move(frame));
38 } 38 }
39 39
40 void CompositorFrameSinkClientBinding::DidNotProduceFrame( 40 void CompositorFrameSinkClientBinding::DidNotProduceFrame(
41 const cc::BeginFrameAck& ack) { 41 const cc::BeginFrameAck& ack) {
42 compositor_frame_sink_->DidNotProduceFrame(ack); 42 compositor_frame_sink_->DidNotProduceFrame(ack);
43 } 43 }
44 44
45 void CompositorFrameSinkClientBinding::EvictCurrentSurface() {
46 compositor_frame_sink_->EvictCurrentSurface();
47 }
48
49 } // namespace ws 45 } // namespace ws
50 } // namespace ui 46 } // namespace ui
OLDNEW
« no previous file with comments | « services/ui/ws/compositor_frame_sink_client_binding.h ('k') | services/ui/ws/frame_generator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698