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_TILE_DRAW_QUAD_H_ | 5 #ifndef CC_QUADS_TILE_DRAW_QUAD_H_ |
6 #define CC_QUADS_TILE_DRAW_QUAD_H_ | 6 #define CC_QUADS_TILE_DRAW_QUAD_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include "cc/quads/content_draw_quad_base.h" | 10 #include "cc/quads/content_draw_quad_base.h" |
9 | 11 |
10 namespace cc { | 12 namespace cc { |
11 | 13 |
12 class CC_EXPORT TileDrawQuad : public ContentDrawQuadBase { | 14 class CC_EXPORT TileDrawQuad : public ContentDrawQuadBase { |
13 public: | 15 public: |
14 TileDrawQuad(); | 16 TileDrawQuad(); |
15 ~TileDrawQuad() override; | 17 ~TileDrawQuad() override; |
16 | 18 |
17 void SetNew(const SharedQuadState* shared_quad_state, | 19 void SetNew(const SharedQuadState* shared_quad_state, |
(...skipping 29 matching lines...) Expand all Loading... |
47 | 49 |
48 private: | 50 private: |
49 static const size_t kResourceIdIndex = 0; | 51 static const size_t kResourceIdIndex = 0; |
50 | 52 |
51 void ExtendValue(base::trace_event::TracedValue* value) const override; | 53 void ExtendValue(base::trace_event::TracedValue* value) const override; |
52 }; | 54 }; |
53 | 55 |
54 } // namespace cc | 56 } // namespace cc |
55 | 57 |
56 #endif // CC_QUADS_TILE_DRAW_QUAD_H_ | 58 #endif // CC_QUADS_TILE_DRAW_QUAD_H_ |
OLD | NEW |