| OLD | NEW |
| 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 |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 cc::TestSharedBitmapManager shared_bitmap_manager_; | 82 cc::TestSharedBitmapManager shared_bitmap_manager_; |
| 83 cc::TestGpuMemoryBufferManager gpu_memory_buffer_manager_; | 83 cc::TestGpuMemoryBufferManager gpu_memory_buffer_manager_; |
| 84 cc::TestImageFactory image_factory_; | 84 cc::TestImageFactory image_factory_; |
| 85 cc::TestTaskGraphRunner task_graph_runner_; | 85 cc::TestTaskGraphRunner task_graph_runner_; |
| 86 uint32_t next_surface_client_id_; | 86 uint32_t next_surface_client_id_; |
| 87 bool use_test_surface_; | 87 bool use_test_surface_; |
| 88 bool context_factory_for_test_; | 88 bool context_factory_for_test_; |
| 89 cc::SurfaceManager* surface_manager_; | 89 cc::SurfaceManager* surface_manager_; |
| 90 base::ObserverList<ContextFactoryObserver> observer_list_; | 90 base::ObserverList<ContextFactoryObserver> observer_list_; |
| 91 | 91 |
| 92 base::hash_map<Compositor*, std::unique_ptr<cc::Display>> | 92 struct PerCompositorData; |
| 93 base::hash_map<Compositor*, std::unique_ptr<PerCompositorData>> |
| 93 per_compositor_data_; | 94 per_compositor_data_; |
| 94 | 95 |
| 95 DISALLOW_COPY_AND_ASSIGN(InProcessContextFactory); | 96 DISALLOW_COPY_AND_ASSIGN(InProcessContextFactory); |
| 96 }; | 97 }; |
| 97 | 98 |
| 98 } // namespace ui | 99 } // namespace ui |
| 99 | 100 |
| 100 #endif // UI_COMPOSITOR_TEST_IN_PROCESS_CONTEXT_FACTORY_H_ | 101 #endif // UI_COMPOSITOR_TEST_IN_PROCESS_CONTEXT_FACTORY_H_ |
| OLD | NEW |