| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef BLIMP_COMMON_COMPOSITOR_BLIMP_TASK_GRAPH_RUNNER_H_ | |
| 6 #define BLIMP_COMMON_COMPOSITOR_BLIMP_TASK_GRAPH_RUNNER_H_ | |
| 7 | |
| 8 #include "base/macros.h" | |
| 9 #include "base/threading/simple_thread.h" | |
| 10 #include "blimp/common/blimp_common_export.h" | |
| 11 #include "cc/raster/single_thread_task_graph_runner.h" | |
| 12 | |
| 13 namespace blimp { | |
| 14 | |
| 15 // TaskGraphRunner that runs on a single thread. See | |
| 16 // cc::SingleThreadTaskGraphRunner for details. Used by client's compositor and | |
| 17 // engine's dummy UI context factory. | |
| 18 class BLIMP_COMMON_EXPORT BlimpTaskGraphRunner | |
| 19 : public cc::SingleThreadTaskGraphRunner { | |
| 20 public: | |
| 21 BlimpTaskGraphRunner(); | |
| 22 ~BlimpTaskGraphRunner() override; | |
| 23 | |
| 24 private: | |
| 25 DISALLOW_COPY_AND_ASSIGN(BlimpTaskGraphRunner); | |
| 26 }; | |
| 27 | |
| 28 } // namespace blimp | |
| 29 | |
| 30 #endif // BLIMP_COMMON_COMPOSITOR_BLIMP_TASK_GRAPH_RUNNER_H_ | |
| OLD | NEW |