| 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 CC_SINGLE_THREAD_PROXY_H_ |
| 6 #define CCSingleThreadProxy_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_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 |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 // code is running on the impl thread and that the main thread is blocked to | 127 // code is running on the impl thread and that the main thread is blocked to |
| 128 // satisfy assertion checks | 128 // satisfy assertion checks |
| 129 class DebugScopedSetImplThreadAndMainThreadBlocked { | 129 class DebugScopedSetImplThreadAndMainThreadBlocked { |
| 130 private: | 130 private: |
| 131 DebugScopedSetImplThread m_implThread; | 131 DebugScopedSetImplThread m_implThread; |
| 132 DebugScopedSetMainThreadBlocked m_mainThreadBlocked; | 132 DebugScopedSetMainThreadBlocked m_mainThreadBlocked; |
| 133 }; | 133 }; |
| 134 | 134 |
| 135 } // namespace cc | 135 } // namespace cc |
| 136 | 136 |
| 137 #endif | 137 #endif // CC_SINGLE_THREAD_PROXY_H_ |
| OLD | NEW |