OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_PICTURE_DRAW_QUAD_H_ | 5 #ifndef CC_QUADS_PICTURE_DRAW_QUAD_H_ |
6 #define CC_QUADS_PICTURE_DRAW_QUAD_H_ | 6 #define CC_QUADS_PICTURE_DRAW_QUAD_H_ |
7 | 7 |
8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "cc/base/cc_export.h" | 10 #include "cc/base/cc_export.h" |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 float contents_scale; | 49 float contents_scale; |
50 scoped_refptr<PicturePileImpl> picture_pile; | 50 scoped_refptr<PicturePileImpl> picture_pile; |
51 ResourceFormat texture_format; | 51 ResourceFormat texture_format; |
52 | 52 |
53 virtual void IterateResources(const ResourceIteratorCallback& callback) | 53 virtual void IterateResources(const ResourceIteratorCallback& callback) |
54 OVERRIDE; | 54 OVERRIDE; |
55 | 55 |
56 static const PictureDrawQuad* MaterialCast(const DrawQuad* quad); | 56 static const PictureDrawQuad* MaterialCast(const DrawQuad* quad); |
57 | 57 |
58 private: | 58 private: |
59 virtual void ExtendValue(base::debug::TracedValue* value) const OVERRIDE; | 59 virtual void ExtendValue(base::DictionaryValue* value) const OVERRIDE; |
60 }; | 60 }; |
61 | 61 |
62 } // namespace cc | 62 } // namespace cc |
63 | 63 |
64 #endif // CC_QUADS_PICTURE_DRAW_QUAD_H_ | 64 #endif // CC_QUADS_PICTURE_DRAW_QUAD_H_ |
OLD | NEW |