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

Side by Side Diff: blimp/client/compositor/blimp_task_graph_runner.h

Issue 1295243003: Initial commit of the blimp/ folder and target (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 5 years, 3 months 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
(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_CLIENT_COMPOSITOR_BLIMP_TASK_GRAPH_RUNNER_H_
6 #define BLIMP_CLIENT_COMPOSITOR_BLIMP_TASK_GRAPH_RUNNER_H_
7
8 #include "base/macros.h"
9 #include "base/threading/simple_thread.h"
10 #include "cc/raster/task_graph_runner.h"
11
12 namespace blimp {
13
14 // A TaskGraphRunner that runs on a single thread. See cc::TaskGraphRunner for
Wez 2015/09/03 00:49:28 nit: No need for "A"
David Trainor- moved to gerrit 2015/09/03 06:33:22 Done.
15 // details.
16 class BlimpTaskGraphRunner : public cc::TaskGraphRunner,
17 public base::DelegateSimpleThread::Delegate {
18 public:
19 BlimpTaskGraphRunner();
20 ~BlimpTaskGraphRunner() override;
21
22 private:
23 // base::DelegateSimpleThread::Delegate implementation
Wez 2015/09/03 00:49:28 nit: Missing .
David Trainor- moved to gerrit 2015/09/03 06:33:22 Done.
24 void Run() override;
25
26 base::DelegateSimpleThread worker_thread_;
27
28 DISALLOW_COPY_AND_ASSIGN(BlimpTaskGraphRunner);
29 };
30
31 } // namespace blimp
32
33 #endif // BLIMP_CLIENT_COMPOSITOR_BLIMP_TASK_GRAPH_RUNNER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698