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_H_ | 5 #ifndef CC_LAYERS_NINE_PATCH_LAYER_H_ |
6 #define CC_LAYERS_NINE_PATCH_LAYER_H_ | 6 #define CC_LAYERS_NINE_PATCH_LAYER_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
9 #include "cc/base/cc_export.h" | 10 #include "cc/base/cc_export.h" |
10 #include "cc/layers/layer.h" | 11 #include "cc/layers/layer.h" |
11 #include "cc/layers/ui_resource_layer.h" | 12 #include "cc/layers/ui_resource_layer.h" |
12 #include "cc/resources/ui_resource_client.h" | 13 #include "cc/resources/ui_resource_client.h" |
13 #include "ui/gfx/geometry/rect.h" | 14 #include "ui/gfx/geometry/rect.h" |
14 | 15 |
15 namespace cc { | 16 namespace cc { |
16 | 17 |
17 class LayerTreeHost; | 18 class LayerTreeHost; |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 // The transparent center region that shows the parent layer's contents in | 51 // The transparent center region that shows the parent layer's contents in |
51 // image space. | 52 // image space. |
52 gfx::Rect image_aperture_; | 53 gfx::Rect image_aperture_; |
53 | 54 |
54 DISALLOW_COPY_AND_ASSIGN(NinePatchLayer); | 55 DISALLOW_COPY_AND_ASSIGN(NinePatchLayer); |
55 }; | 56 }; |
56 | 57 |
57 } // namespace cc | 58 } // namespace cc |
58 | 59 |
59 #endif // CC_LAYERS_NINE_PATCH_LAYER_H_ | 60 #endif // CC_LAYERS_NINE_PATCH_LAYER_H_ |
OLD | NEW |