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_LAYERS_NINE_PATCH_LAYER_IMPL_H_ | 5 #ifndef CC_LAYERS_NINE_PATCH_LAYER_IMPL_H_ |
6 #define CC_LAYERS_NINE_PATCH_LAYER_IMPL_H_ | 6 #define CC_LAYERS_NINE_PATCH_LAYER_IMPL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "cc/base/cc_export.h" | 10 #include "cc/base/cc_export.h" |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 virtual const char* LayerTypeAsString() const OVERRIDE; | 51 virtual const char* LayerTypeAsString() const OVERRIDE; |
52 | 52 |
53 // The size of the NinePatch bitmap in pixels. | 53 // The size of the NinePatch bitmap in pixels. |
54 gfx::Size image_bounds_; | 54 gfx::Size image_bounds_; |
55 | 55 |
56 // The transparent center region that shows the parent layer's contents in | 56 // The transparent center region that shows the parent layer's contents in |
57 // image space. | 57 // image space. |
58 gfx::Rect image_aperture_; | 58 gfx::Rect image_aperture_; |
59 | 59 |
60 ResourceProvider::ResourceId resource_id_; | 60 ResourceProvider::ResourceId resource_id_; |
| 61 |
| 62 DISALLOW_COPY_AND_ASSIGN(NinePatchLayerImpl); |
61 }; | 63 }; |
62 | 64 |
63 } // namespace cc | 65 } // namespace cc |
64 | 66 |
65 #endif // CC_LAYERS_NINE_PATCH_LAYER_IMPL_H_ | 67 #endif // CC_LAYERS_NINE_PATCH_LAYER_IMPL_H_ |
OLD | NEW |