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

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

Issue 2801313002: Remove MojoCompositorFrameSink::WillDrawSurface (Closed)
Patch Set: Address Nit 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.cc » ('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 #ifndef COMPONENTS_EXO_EXO_COMPOSITOR_FRAME_SINK_H_ 5 #ifndef COMPONENTS_EXO_EXO_COMPOSITOR_FRAME_SINK_H_
6 #define COMPONENTS_EXO_EXO_COMPOSITOR_FRAME_SINK_H_ 6 #define COMPONENTS_EXO_EXO_COMPOSITOR_FRAME_SINK_H_
7 7
8 #include "cc/ipc/compositor_frame.mojom.h" 8 #include "cc/ipc/compositor_frame.mojom.h"
9 #include "cc/ipc/mojo_compositor_frame_sink.mojom.h" 9 #include "cc/ipc/mojo_compositor_frame_sink.mojom.h"
10 #include "cc/resources/transferable_resource.h" 10 #include "cc/resources/transferable_resource.h"
(...skipping 19 matching lines...) Expand all
30 void SubmitCompositorFrame(const cc::LocalSurfaceId& local_surface_id, 30 void SubmitCompositorFrame(const cc::LocalSurfaceId& local_surface_id,
31 cc::CompositorFrame frame) override; 31 cc::CompositorFrame frame) override;
32 void BeginFrameDidNotSwap(const cc::BeginFrameAck& begin_frame_ack) override; 32 void BeginFrameDidNotSwap(const cc::BeginFrameAck& begin_frame_ack) override;
33 void EvictFrame() override; 33 void EvictFrame() override;
34 34
35 // Overridden from cc::CompositorFrameSinkSupportClient: 35 // Overridden from cc::CompositorFrameSinkSupportClient:
36 void DidReceiveCompositorFrameAck() override; 36 void DidReceiveCompositorFrameAck() override;
37 void OnBeginFrame(const cc::BeginFrameArgs& args) override; 37 void OnBeginFrame(const cc::BeginFrameArgs& args) override;
38 void ReclaimResources(const cc::ReturnedResourceArray& resources) override; 38 void ReclaimResources(const cc::ReturnedResourceArray& resources) override;
39 void WillDrawSurface(const cc::LocalSurfaceId& local_surface_id, 39 void WillDrawSurface(const cc::LocalSurfaceId& local_surface_id,
40 const gfx::Rect& damage_rect) override; 40 const gfx::Rect& damage_rect) override {}
41 41
42 private: 42 private:
43 cc::CompositorFrameSinkSupport support_; 43 cc::CompositorFrameSinkSupport support_;
44 CompositorFrameSinkHolder* const client_; 44 CompositorFrameSinkHolder* const client_;
45 45
46 DISALLOW_COPY_AND_ASSIGN(CompositorFrameSink); 46 DISALLOW_COPY_AND_ASSIGN(CompositorFrameSink);
47 }; 47 };
48 48
49 } // namespace exo 49 } // namespace exo
50 50
51 #endif // COMPONENTS_EXO_EXO_COMPOSITOR_FRAME_SINK_H_ 51 #endif // COMPONENTS_EXO_EXO_COMPOSITOR_FRAME_SINK_H_
OLDNEW
« no previous file with comments | « cc/ipc/mojo_compositor_frame_sink.mojom ('k') | components/exo/compositor_frame_sink.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698