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

Side by Side Diff: components/viz/frame_sinks/mojo_frame_sink_manager.h

Issue 2873243002: Move components/display_compositor to components/viz/display_compositor (Closed)
Patch Set: Rebase Created 3 years, 7 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 | « components/viz/frame_sinks/frame_evictor.h ('k') | components/viz/frame_sinks/viz_export.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_VIZ_FRAME_SINKS_MOJO_FRAME_SINK_MANAGER_H_ 5 #ifndef COMPONENTS_VIZ_FRAME_SINKS_MOJO_FRAME_SINK_MANAGER_H_
6 #define COMPONENTS_VIZ_FRAME_SINKS_MOJO_FRAME_SINK_MANAGER_H_ 6 #define COMPONENTS_VIZ_FRAME_SINKS_MOJO_FRAME_SINK_MANAGER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
11 #include <unordered_map> 11 #include <unordered_map>
12 12
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/threading/thread_checker.h" 14 #include "base/threading/thread_checker.h"
15 #include "cc/ipc/frame_sink_manager.mojom.h" 15 #include "cc/ipc/frame_sink_manager.mojom.h"
16 #include "cc/surfaces/frame_sink_id.h" 16 #include "cc/surfaces/frame_sink_id.h"
17 #include "cc/surfaces/surface_manager.h" 17 #include "cc/surfaces/surface_manager.h"
18 #include "cc/surfaces/surface_observer.h" 18 #include "cc/surfaces/surface_observer.h"
19 #include "components/viz/frame_sinks/gpu_compositor_frame_sink_delegate.h" 19 #include "components/viz/frame_sinks/gpu_compositor_frame_sink_delegate.h"
20 #include "components/viz/frame_sinks/viz_export.h" 20 #include "components/viz/viz_export.h"
21 #include "gpu/ipc/common/surface_handle.h" 21 #include "gpu/ipc/common/surface_handle.h"
22 #include "mojo/public/cpp/bindings/binding.h" 22 #include "mojo/public/cpp/bindings/binding.h"
23 23
24 namespace viz { 24 namespace viz {
25 25
26 class DisplayProvider; 26 class DisplayProvider;
27 27
28 // MojoFrameSinkManager manages state associated with CompositorFrameSinks. It 28 // MojoFrameSinkManager manages state associated with CompositorFrameSinks. It
29 // provides a Mojo interface to create CompositorFrameSinks, manages BeginFrame 29 // provides a Mojo interface to create CompositorFrameSinks, manages BeginFrame
30 // hierarchy and manages surface lifetime. 30 // hierarchy and manages surface lifetime.
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 106
107 cc::mojom::FrameSinkManagerClientPtr client_; 107 cc::mojom::FrameSinkManagerClientPtr client_;
108 mojo::Binding<cc::mojom::FrameSinkManager> binding_; 108 mojo::Binding<cc::mojom::FrameSinkManager> binding_;
109 109
110 DISALLOW_COPY_AND_ASSIGN(MojoFrameSinkManager); 110 DISALLOW_COPY_AND_ASSIGN(MojoFrameSinkManager);
111 }; 111 };
112 112
113 } // namespace viz 113 } // namespace viz
114 114
115 #endif // COMPONENTS_VIZ_FRAME_SINKS_MOJO_FRAME_SINK_MANAGER_H_ 115 #endif // COMPONENTS_VIZ_FRAME_SINKS_MOJO_FRAME_SINK_MANAGER_H_
OLDNEW
« no previous file with comments | « components/viz/frame_sinks/frame_evictor.h ('k') | components/viz/frame_sinks/viz_export.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698