| 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 "CCAnimationEvents.h" | 8 #include "cc/animation_events.h" |
| 9 #include "CCLayerTreeHostImpl.h" | 9 #include "CCLayerTreeHostImpl.h" |
| 10 #include "CCProxy.h" | 10 #include "cc/proxy.h" |
| 11 #include <base/time.h> | 11 #include <base/time.h> |
| 12 #include <limits> | 12 #include <limits> |
| 13 | 13 |
| 14 namespace cc { | 14 namespace cc { |
| 15 | 15 |
| 16 class CCLayerTreeHost; | 16 class CCLayerTreeHost; |
| 17 | 17 |
| 18 class CCSingleThreadProxy : public CCProxy, CCLayerTreeHostImplClient { | 18 class CCSingleThreadProxy : public CCProxy, CCLayerTreeHostImplClient { |
| 19 public: | 19 public: |
| 20 static scoped_ptr<CCProxy> create(CCLayerTreeHost*); | 20 static scoped_ptr<CCProxy> create(CCLayerTreeHost*); |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 // satisfy assertion checks | 125 // satisfy assertion checks |
| 126 class DebugScopedSetImplThreadAndMainThreadBlocked { | 126 class DebugScopedSetImplThreadAndMainThreadBlocked { |
| 127 private: | 127 private: |
| 128 DebugScopedSetImplThread m_implThread; | 128 DebugScopedSetImplThread m_implThread; |
| 129 DebugScopedSetMainThreadBlocked m_mainThreadBlocked; | 129 DebugScopedSetMainThreadBlocked m_mainThreadBlocked; |
| 130 }; | 130 }; |
| 131 | 131 |
| 132 } // namespace cc | 132 } // namespace cc |
| 133 | 133 |
| 134 #endif | 134 #endif |
| OLD | NEW |