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

Side by Side Diff: ui/compositor/test/in_process_context_factory.h

Issue 2484863005: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Fix another conflict 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 | « ui/compositor/scoped_layer_animation_settings.h ('k') | ui/compositor/transform_recorder.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 UI_COMPOSITOR_TEST_IN_PROCESS_CONTEXT_FACTORY_H_ 5 #ifndef UI_COMPOSITOR_TEST_IN_PROCESS_CONTEXT_FACTORY_H_
6 #define UI_COMPOSITOR_TEST_IN_PROCESS_CONTEXT_FACTORY_H_ 6 #define UI_COMPOSITOR_TEST_IN_PROCESS_CONTEXT_FACTORY_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 #include <memory> 9 #include <memory>
10 10
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "cc/surfaces/display.h" 12 #include "cc/surfaces/display.h"
13 #include "cc/test/test_gpu_memory_buffer_manager.h" 13 #include "cc/test/test_gpu_memory_buffer_manager.h"
14 #include "cc/test/test_image_factory.h" 14 #include "cc/test/test_image_factory.h"
15 #include "cc/test/test_shared_bitmap_manager.h" 15 #include "cc/test/test_shared_bitmap_manager.h"
16 #include "cc/test/test_task_graph_runner.h" 16 #include "cc/test/test_task_graph_runner.h"
17 #include "ui/compositor/compositor.h" 17 #include "ui/compositor/compositor.h"
18 18
19 namespace base {
20 class Thread;
21 }
22
23 namespace cc { 19 namespace cc {
24 class SurfaceManager; 20 class SurfaceManager;
25 } 21 }
26 22
27 namespace ui { 23 namespace ui {
28 class InProcessContextProvider; 24 class InProcessContextProvider;
29 25
30 class InProcessContextFactory : public ContextFactory { 26 class InProcessContextFactory : public ContextFactory {
31 public: 27 public:
32 // surface_manager is owned by the creator of this and must outlive the 28 // surface_manager is owned by the creator of this and must outlive the
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 86
91 base::hash_map<Compositor*, std::unique_ptr<cc::Display>> 87 base::hash_map<Compositor*, std::unique_ptr<cc::Display>>
92 per_compositor_data_; 88 per_compositor_data_;
93 89
94 DISALLOW_COPY_AND_ASSIGN(InProcessContextFactory); 90 DISALLOW_COPY_AND_ASSIGN(InProcessContextFactory);
95 }; 91 };
96 92
97 } // namespace ui 93 } // namespace ui
98 94
99 #endif // UI_COMPOSITOR_TEST_IN_PROCESS_CONTEXT_FACTORY_H_ 95 #endif // UI_COMPOSITOR_TEST_IN_PROCESS_CONTEXT_FACTORY_H_
OLDNEW
« no previous file with comments | « ui/compositor/scoped_layer_animation_settings.h ('k') | ui/compositor/transform_recorder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698