| 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_TREES_PROXY_H_ | 5 #ifndef CC_TREES_PROXY_H_ |
| 6 #define CC_TREES_PROXY_H_ | 6 #define CC_TREES_PROXY_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/logging.h" | 11 #include "base/logging.h" |
| 12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 14 #include "base/threading/platform_thread.h" | 14 #include "base/threading/platform_thread.h" |
| 15 #include "base/time/time.h" | 15 #include "base/time/time.h" |
| 16 #include "base/values.h" | 16 #include "base/values.h" |
| 17 #include "cc/base/cc_export.h" | 17 #include "cc/base/cc_export.h" |
| 18 | 18 |
| 19 namespace base { | 19 namespace base { |
| 20 namespace trace_event { | 20 namespace debug { |
| 21 class TracedValue; | 21 class TracedValue; |
| 22 } | 22 } |
| 23 | 23 class SingleThreadTaskRunner; |
| 24 // TODO(ssid): remove these aliases after the tracing clients are moved to the | |
| 25 // new trace_event namespace. See crbug.com/451032. ETA: March 2015 | |
| 26 namespace debug { | |
| 27 using ::base::trace_event::TracedValue; | |
| 28 } | 24 } |
| 29 class SingleThreadTaskRunner; | |
| 30 } // namespace base | |
| 31 | 25 |
| 32 namespace gfx { | 26 namespace gfx { |
| 33 class Rect; | 27 class Rect; |
| 34 class Vector2d; | 28 class Vector2d; |
| 35 } | 29 } |
| 36 | 30 |
| 37 namespace cc { | 31 namespace cc { |
| 38 class BlockingTaskRunner; | 32 class BlockingTaskRunner; |
| 39 class LayerTreeDebugState; | 33 class LayerTreeDebugState; |
| 40 class OutputSurface; | 34 class OutputSurface; |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 explicit DebugScopedSetMainThreadBlocked(Proxy* proxy) {} | 157 explicit DebugScopedSetMainThreadBlocked(Proxy* proxy) {} |
| 164 ~DebugScopedSetMainThreadBlocked() {} | 158 ~DebugScopedSetMainThreadBlocked() {} |
| 165 private: | 159 private: |
| 166 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetMainThreadBlocked); | 160 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetMainThreadBlocked); |
| 167 }; | 161 }; |
| 168 #endif | 162 #endif |
| 169 | 163 |
| 170 } // namespace cc | 164 } // namespace cc |
| 171 | 165 |
| 172 #endif // CC_TREES_PROXY_H_ | 166 #endif // CC_TREES_PROXY_H_ |
| OLD | NEW |