OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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_QUADS_DRAW_QUAD_H_ | 5 #ifndef CC_QUADS_DRAW_QUAD_H_ |
6 #define CC_QUADS_DRAW_QUAD_H_ | 6 #define CC_QUADS_DRAW_QUAD_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include "base/callback.h" | 10 #include "base/callback.h" |
9 #include "cc/base/cc_export.h" | 11 #include "cc/base/cc_export.h" |
10 #include "cc/base/resource_id.h" | 12 #include "cc/base/resource_id.h" |
11 #include "cc/quads/shared_quad_state.h" | 13 #include "cc/quads/shared_quad_state.h" |
12 | 14 |
13 namespace base { | 15 namespace base { |
14 namespace trace_event { | 16 namespace trace_event { |
15 class TracedValue; | 17 class TracedValue; |
16 } | 18 } |
17 class Value; | 19 class Value; |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 const gfx::Rect& rect, | 138 const gfx::Rect& rect, |
137 const gfx::Rect& opaque_rect, | 139 const gfx::Rect& opaque_rect, |
138 const gfx::Rect& visible_rect, | 140 const gfx::Rect& visible_rect, |
139 bool needs_blending); | 141 bool needs_blending); |
140 virtual void ExtendValue(base::trace_event::TracedValue* value) const = 0; | 142 virtual void ExtendValue(base::trace_event::TracedValue* value) const = 0; |
141 }; | 143 }; |
142 | 144 |
143 } // namespace cc | 145 } // namespace cc |
144 | 146 |
145 #endif // CC_QUADS_DRAW_QUAD_H_ | 147 #endif // CC_QUADS_DRAW_QUAD_H_ |
OLD | NEW |