| OLD | NEW |
| 1 // Copyright 2010 The Chromium Authors. All rights reserved. | 1 // Copyright 2010 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_LAYERS_PICTURE_IMAGE_LAYER_H_ | 5 #ifndef CC_LAYERS_PICTURE_IMAGE_LAYER_H_ |
| 6 #define CC_LAYERS_PICTURE_IMAGE_LAYER_H_ | 6 #define CC_LAYERS_PICTURE_IMAGE_LAYER_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 |
| 10 #include "base/macros.h" |
| 8 #include "cc/base/cc_export.h" | 11 #include "cc/base/cc_export.h" |
| 9 #include "cc/layers/content_layer_client.h" | 12 #include "cc/layers/content_layer_client.h" |
| 10 #include "cc/layers/picture_layer.h" | 13 #include "cc/layers/picture_layer.h" |
| 11 #include "skia/ext/refptr.h" | 14 #include "skia/ext/refptr.h" |
| 12 #include "ui/gfx/geometry/size.h" | 15 #include "ui/gfx/geometry/size.h" |
| 13 | 16 |
| 14 class SkImage; | 17 class SkImage; |
| 15 | 18 |
| 16 namespace cc { | 19 namespace cc { |
| 17 | 20 |
| (...skipping 22 matching lines...) Expand all Loading... |
| 40 ~PictureImageLayer() override; | 43 ~PictureImageLayer() override; |
| 41 | 44 |
| 42 skia::RefPtr<const SkImage> image_; | 45 skia::RefPtr<const SkImage> image_; |
| 43 | 46 |
| 44 DISALLOW_COPY_AND_ASSIGN(PictureImageLayer); | 47 DISALLOW_COPY_AND_ASSIGN(PictureImageLayer); |
| 45 }; | 48 }; |
| 46 | 49 |
| 47 } // namespace cc | 50 } // namespace cc |
| 48 | 51 |
| 49 #endif // CC_LAYERS_PICTURE_IMAGE_LAYER_H_ | 52 #endif // CC_LAYERS_PICTURE_IMAGE_LAYER_H_ |
| OLD | NEW |