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

Side by Side Diff: services/ui/public/cpp/window_compositor_frame_sink.h

Issue 2537343006: services: Cleanup class/struct fwd declarations (Closed)
Patch Set: Rebase on top of master #2 Created 4 years 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 | « services/ui/public/cpp/window.h ('k') | services/ui/public/cpp/window_tree_client_delegate.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 SERVICES_UI_PUBLIC_CPP_WINDOW_COMPOSITOR_FRAME_SINK_H_ 5 #ifndef SERVICES_UI_PUBLIC_CPP_WINDOW_COMPOSITOR_FRAME_SINK_H_
6 #define SERVICES_UI_PUBLIC_CPP_WINDOW_COMPOSITOR_FRAME_SINK_H_ 6 #define SERVICES_UI_PUBLIC_CPP_WINDOW_COMPOSITOR_FRAME_SINK_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "cc/ipc/mojo_compositor_frame_sink.mojom.h" 9 #include "cc/ipc/mojo_compositor_frame_sink.mojom.h"
10 #include "cc/output/compositor_frame_sink.h" 10 #include "cc/output/compositor_frame_sink.h"
11 #include "cc/output/context_provider.h" 11 #include "cc/output/context_provider.h"
12 #include "cc/scheduler/begin_frame_source.h" 12 #include "cc/scheduler/begin_frame_source.h"
13 #include "cc/surfaces/surface_id.h" 13 #include "cc/surfaces/surface_id.h"
14 #include "cc/surfaces/surface_id_allocator.h" 14 #include "cc/surfaces/surface_id_allocator.h"
15 #include "mojo/public/cpp/bindings/binding.h" 15 #include "mojo/public/cpp/bindings/binding.h"
16 16
17 namespace gpu {
18 class GpuChannelHost;
19 }
20
21 namespace ui { 17 namespace ui {
22 18
23 class WindowCompositorFrameSinkBinding; 19 class WindowCompositorFrameSinkBinding;
24 20
25 class WindowCompositorFrameSink 21 class WindowCompositorFrameSink
26 : public cc::CompositorFrameSink, 22 : public cc::CompositorFrameSink,
27 public cc::mojom::MojoCompositorFrameSinkClient, 23 public cc::mojom::MojoCompositorFrameSinkClient,
28 public cc::ExternalBeginFrameSourceClient { 24 public cc::ExternalBeginFrameSourceClient {
29 public: 25 public:
30 // static 26 // static
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 compositor_frame_sink_client); 89 compositor_frame_sink_client);
94 90
95 cc::mojom::MojoCompositorFrameSinkRequest compositor_frame_sink_request_; 91 cc::mojom::MojoCompositorFrameSinkRequest compositor_frame_sink_request_;
96 cc::mojom::MojoCompositorFrameSinkClientPtrInfo compositor_frame_sink_client_; 92 cc::mojom::MojoCompositorFrameSinkClientPtrInfo compositor_frame_sink_client_;
97 93
98 DISALLOW_COPY_AND_ASSIGN(WindowCompositorFrameSinkBinding); 94 DISALLOW_COPY_AND_ASSIGN(WindowCompositorFrameSinkBinding);
99 }; 95 };
100 } // namespace ui 96 } // namespace ui
101 97
102 #endif // SERVICES_UI_PUBLIC_CPP_WINDOW_COMPOSITOR_FRAME_SINK_H_ 98 #endif // SERVICES_UI_PUBLIC_CPP_WINDOW_COMPOSITOR_FRAME_SINK_H_
OLDNEW
« no previous file with comments | « services/ui/public/cpp/window.h ('k') | services/ui/public/cpp/window_tree_client_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698