OLD | NEW |
1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 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 CCSingleThreadProxy_h | 5 #ifndef CCSingleThreadProxy_h |
6 #define CCSingleThreadProxy_h | 6 #define CCSingleThreadProxy_h |
7 | 7 |
8 #include <limits> | 8 #include <limits> |
9 | 9 |
10 #include "CCAnimationEvents.h" | |
11 #include "base/time.h" | 10 #include "base/time.h" |
| 11 #include "cc/animation_events.h" |
12 #include "cc/layer_tree_host_impl.h" | 12 #include "cc/layer_tree_host_impl.h" |
13 #include "cc/proxy.h" | 13 #include "cc/proxy.h" |
14 | 14 |
15 namespace cc { | 15 namespace cc { |
16 | 16 |
17 class LayerTreeHost; | 17 class LayerTreeHost; |
18 | 18 |
19 class SingleThreadProxy : public Proxy, LayerTreeHostImplClient { | 19 class SingleThreadProxy : public Proxy, LayerTreeHostImplClient { |
20 public: | 20 public: |
21 static scoped_ptr<Proxy> create(LayerTreeHost*); | 21 static scoped_ptr<Proxy> create(LayerTreeHost*); |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 // satisfy assertion checks | 126 // satisfy assertion checks |
127 class DebugScopedSetImplThreadAndMainThreadBlocked { | 127 class DebugScopedSetImplThreadAndMainThreadBlocked { |
128 private: | 128 private: |
129 DebugScopedSetImplThread m_implThread; | 129 DebugScopedSetImplThread m_implThread; |
130 DebugScopedSetMainThreadBlocked m_mainThreadBlocked; | 130 DebugScopedSetMainThreadBlocked m_mainThreadBlocked; |
131 }; | 131 }; |
132 | 132 |
133 } // namespace cc | 133 } // namespace cc |
134 | 134 |
135 #endif | 135 #endif |
OLD | NEW |