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 { |
| 21 class TracedValue; |
| 22 } |
| 23 |
20 namespace debug { | 24 namespace debug { |
21 class TracedValue; | 25 using ::base::trace_event::TracedValue; |
22 } | 26 } |
23 class SingleThreadTaskRunner; | 27 class SingleThreadTaskRunner; |
24 } | 28 } |
25 | 29 |
26 namespace gfx { | 30 namespace gfx { |
27 class Rect; | 31 class Rect; |
28 class Vector2d; | 32 class Vector2d; |
29 } | 33 } |
30 | 34 |
31 namespace cc { | 35 namespace cc { |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 explicit DebugScopedSetMainThreadBlocked(Proxy* proxy) {} | 161 explicit DebugScopedSetMainThreadBlocked(Proxy* proxy) {} |
158 ~DebugScopedSetMainThreadBlocked() {} | 162 ~DebugScopedSetMainThreadBlocked() {} |
159 private: | 163 private: |
160 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetMainThreadBlocked); | 164 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetMainThreadBlocked); |
161 }; | 165 }; |
162 #endif | 166 #endif |
163 | 167 |
164 } // namespace cc | 168 } // namespace cc |
165 | 169 |
166 #endif // CC_TREES_PROXY_H_ | 170 #endif // CC_TREES_PROXY_H_ |
OLD | NEW |