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_NINE_PATCH_LAYER_IMPL_H_ | 5 #ifndef CC_NINE_PATCH_LAYER_IMPL_H_ |
6 #define CC_NINE_PATCH_LAYER_IMPL_H_ | 6 #define CC_NINE_PATCH_LAYER_IMPL_H_ |
7 | 7 |
8 #include "cc/cc_export.h" | 8 #include "cc/base/cc_export.h" |
9 #include "cc/layer_impl.h" | 9 #include "cc/layer_impl.h" |
10 #include "cc/resource_provider.h" | 10 #include "cc/resource_provider.h" |
| 11 #include "ui/gfx/rect.h" |
11 #include "ui/gfx/size.h" | 12 #include "ui/gfx/size.h" |
12 #include "ui/gfx/rect.h" | |
13 | 13 |
14 namespace base { | 14 namespace base { |
15 class DictionaryValue; | 15 class DictionaryValue; |
16 } | 16 } |
17 | 17 |
18 namespace cc { | 18 namespace cc { |
19 | 19 |
20 class CC_EXPORT NinePatchLayerImpl : public LayerImpl { | 20 class CC_EXPORT NinePatchLayerImpl : public LayerImpl { |
21 public: | 21 public: |
22 static scoped_ptr<NinePatchLayerImpl> Create(LayerTreeImpl* tree_impl, | 22 static scoped_ptr<NinePatchLayerImpl> Create(LayerTreeImpl* tree_impl, |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 // The transparent center region that shows the parent layer's contents in | 54 // The transparent center region that shows the parent layer's contents in |
55 // image space. | 55 // image space. |
56 gfx::Rect image_aperture_; | 56 gfx::Rect image_aperture_; |
57 | 57 |
58 ResourceProvider::ResourceId resource_id_; | 58 ResourceProvider::ResourceId resource_id_; |
59 }; | 59 }; |
60 | 60 |
61 } // namespace cc | 61 } // namespace cc |
62 | 62 |
63 #endif // CC_NINE_PATCH_LAYER_IMPL_H_ | 63 #endif // CC_NINE_PATCH_LAYER_IMPL_H_ |
OLD | NEW |