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

Side by Side Diff: blimp/client/core/compositor/blimp_compositor.h

Issue 2539183002: blimp: Cleanup class/struct forward declarations (Closed)
Patch Set: 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
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 BLIMP_CLIENT_CORE_COMPOSITOR_BLIMP_COMPOSITOR_H_ 5 #ifndef BLIMP_CLIENT_CORE_COMPOSITOR_BLIMP_COMPOSITOR_H_
6 #define BLIMP_CLIENT_CORE_COMPOSITOR_BLIMP_COMPOSITOR_H_ 6 #define BLIMP_CLIENT_CORE_COMPOSITOR_BLIMP_COMPOSITOR_H_
7 7
8 #include <content/public/renderer/remote_proto_channel.h> 8 #include <content/public/renderer/remote_proto_channel.h>
9 #include <memory> 9 #include <memory>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "base/threading/thread_checker.h" 14 #include "base/threading/thread_checker.h"
15 #include "blimp/client/core/compositor/blimp_compositor_frame_sink_proxy.h" 15 #include "blimp/client/core/compositor/blimp_compositor_frame_sink_proxy.h"
16 #include "blimp/client/public/compositor/compositor_dependencies.h" 16 #include "blimp/client/public/compositor/compositor_dependencies.h"
17 #include "cc/blimp/compositor_state_deserializer.h" 17 #include "cc/blimp/compositor_state_deserializer.h"
18 #include "cc/surfaces/surface_factory_client.h" 18 #include "cc/surfaces/surface_factory_client.h"
19 #include "cc/trees/layer_tree_host.h" 19 #include "cc/trees/layer_tree_host.h"
20 #include "cc/trees/layer_tree_host_client.h" 20 #include "cc/trees/layer_tree_host_client.h"
21 #include "cc/trees/layer_tree_settings.h" 21 #include "cc/trees/layer_tree_settings.h"
22 #include "ui/gfx/geometry/size.h" 22 #include "ui/gfx/geometry/size.h"
23 #include "ui/gfx/native_widget_types.h" 23 #include "ui/gfx/native_widget_types.h"
24 24
25 namespace base {
26 class SingleThreadTaskRunner;
27 class Thread;
28 } // namespace base
29
30 namespace cc { 25 namespace cc {
31 class AnimationHost; 26 class AnimationHost;
32 class InputHandler; 27 class InputHandler;
33 28
34 namespace proto { 29 namespace proto {
35 class CompositorMessage; 30 class CompositorMessage;
36 } // namespace proto 31 } // namespace proto
37 32
38 class ContextProvider; 33 class ContextProvider;
39 class CopyOutputRequest; 34 class CopyOutputRequest;
40 class Layer; 35 class Layer;
41 class LayerTreeHostInProcess; 36 class LayerTreeHostInProcess;
42 class LayerTreeSettings;
43 class LocalFrameid;
44 class Surface;
45 class SurfaceFactory; 37 class SurfaceFactory;
46 class SurfaceIdAllocator; 38 class SurfaceIdAllocator;
47 } // namespace cc 39 } // namespace cc
48 40
49 namespace blimp { 41 namespace blimp {
50 class BlimpMessage;
51 42
52 namespace client { 43 namespace client {
53 44
54 class BlimpCompositorDependencies; 45 class BlimpCompositorDependencies;
55 46
56 // The BlimpCompositorClient provides the BlimpCompositor with the necessary 47 // The BlimpCompositorClient provides the BlimpCompositor with the necessary
57 // dependencies for cc::LayerTreeHost owned by this compositor and for 48 // dependencies for cc::LayerTreeHost owned by this compositor and for
58 // communicating the compositor and input messages to the corresponding 49 // communicating the compositor and input messages to the corresponding
59 // render widget of this compositor on the engine. 50 // render widget of this compositor on the engine.
60 class BlimpCompositorClient { 51 class BlimpCompositorClient {
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 233
243 base::WeakPtrFactory<BlimpCompositor> weak_ptr_factory_; 234 base::WeakPtrFactory<BlimpCompositor> weak_ptr_factory_;
244 235
245 DISALLOW_COPY_AND_ASSIGN(BlimpCompositor); 236 DISALLOW_COPY_AND_ASSIGN(BlimpCompositor);
246 }; 237 };
247 238
248 } // namespace client 239 } // namespace client
249 } // namespace blimp 240 } // namespace blimp
250 241
251 #endif // BLIMP_CLIENT_CORE_COMPOSITOR_BLIMP_COMPOSITOR_H_ 242 #endif // BLIMP_CLIENT_CORE_COMPOSITOR_BLIMP_COMPOSITOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698