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

Side by Side Diff: cc/test/layer_tree_host_remote_for_testing.h

Issue 2503283002: cc: Cleanup class/struct forward declarations (Closed)
Patch Set: Add missing fwd class decl in blimp_embedder_compositor.h Created 4 years, 1 month 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/test/fake_scoped_ui_resource.h ('k') | cc/test/layer_tree_pixel_test.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 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 CC_TEST_LAYER_TREE_HOST_REMOTE_FOR_TESTING_H_ 5 #ifndef CC_TEST_LAYER_TREE_HOST_REMOTE_FOR_TESTING_H_
6 #define CC_TEST_LAYER_TREE_HOST_REMOTE_FOR_TESTING_H_ 6 #define CC_TEST_LAYER_TREE_HOST_REMOTE_FOR_TESTING_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "cc/blimp/compositor_state_deserializer.h" 9 #include "cc/blimp/compositor_state_deserializer.h"
10 #include "cc/blimp/layer_tree_host_remote.h" 10 #include "cc/blimp/layer_tree_host_remote.h"
11 11
12 namespace gpu {
13 class GpuMemoryBufferManager;
14 } // namespace gpu
15
16 namespace cc { 12 namespace cc {
17 13
18 class AnimationHost; 14 class AnimationHost;
15 class CompositorProtoState;
19 class FakeImageSerializationProcessor; 16 class FakeImageSerializationProcessor;
20 class LayerTreeHostInProcess; 17 class LayerTreeHostInProcess;
21 class MutatorHost; 18 class MutatorHost;
22 class SharedBitmapManager;
23 class TaskGraphRunner; 19 class TaskGraphRunner;
24 20
25 // This is a version of LayerTreeHostRemote meant to be used for tests that want 21 // This is a version of LayerTreeHostRemote meant to be used for tests that want
26 // to inspect the CompositorFrame produced when state updates from the remote 22 // to inspect the CompositorFrame produced when state updates from the remote
27 // host are used by a compositor on the client. 23 // host are used by a compositor on the client.
28 class LayerTreeHostRemoteForTesting : public LayerTreeHostRemote, 24 class LayerTreeHostRemoteForTesting : public LayerTreeHostRemote,
29 public CompositorStateDeserializerClient { 25 public CompositorStateDeserializerClient {
30 public: 26 public:
31 static std::unique_ptr<LayerTreeHostRemoteForTesting> Create( 27 static std::unique_ptr<LayerTreeHostRemoteForTesting> Create(
32 LayerTreeHostClient* client, 28 LayerTreeHostClient* client,
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 95
100 std::unique_ptr<FakeImageSerializationProcessor> 96 std::unique_ptr<FakeImageSerializationProcessor>
101 image_serialization_processor_; 97 image_serialization_processor_;
102 98
103 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostRemoteForTesting); 99 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostRemoteForTesting);
104 }; 100 };
105 101
106 } // namespace cc 102 } // namespace cc
107 103
108 #endif // CC_TEST_LAYER_TREE_HOST_REMOTE_FOR_TESTING_H_ 104 #endif // CC_TEST_LAYER_TREE_HOST_REMOTE_FOR_TESTING_H_
OLDNEW
« no previous file with comments | « cc/test/fake_scoped_ui_resource.h ('k') | cc/test/layer_tree_pixel_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698