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 CC_SINGLE_THREAD_PROXY_H_ | 5 #ifndef CC_SINGLE_THREAD_PROXY_H_ |
6 #define CC_SINGLE_THREAD_PROXY_H_ | 6 #define CC_SINGLE_THREAD_PROXY_H_ |
7 | 7 |
8 #include <limits> | 8 #include <limits> |
9 | 9 |
10 #include "base/time.h" | 10 #include "base/time.h" |
11 #include "cc/animation_events.h" | 11 #include "cc/animation/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 ContextProvider; | 17 class ContextProvider; |
18 class LayerTreeHost; | 18 class LayerTreeHost; |
19 | 19 |
20 class SingleThreadProxy : public Proxy, LayerTreeHostImplClient { | 20 class SingleThreadProxy : public Proxy, LayerTreeHostImplClient { |
21 public: | 21 public: |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 private: | 171 private: |
172 DebugScopedSetImplThread impl_thread_; | 172 DebugScopedSetImplThread impl_thread_; |
173 DebugScopedSetMainThreadBlocked main_thread_blocked_; | 173 DebugScopedSetMainThreadBlocked main_thread_blocked_; |
174 | 174 |
175 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked); | 175 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked); |
176 }; | 176 }; |
177 | 177 |
178 } // namespace cc | 178 } // namespace cc |
179 | 179 |
180 #endif // CC_SINGLE_THREAD_PROXY_H_ | 180 #endif // CC_SINGLE_THREAD_PROXY_H_ |
OLD | NEW |