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 "base/macros.h" | 10 #include "base/macros.h" |
11 #include "base/memory/ptr_util.h" | 11 #include "base/memory/ptr_util.h" |
12 #include "cc/base/cc_export.h" | 12 #include "cc/cc_export.h" |
13 #include "cc/layers/layer_impl.h" | 13 #include "cc/layers/layer_impl.h" |
14 #include "cc/layers/ui_resource_layer_impl.h" | 14 #include "cc/layers/ui_resource_layer_impl.h" |
15 #include "cc/quads/nine_patch_generator.h" | 15 #include "cc/quads/nine_patch_generator.h" |
16 #include "cc/resources/resource_provider.h" | 16 #include "cc/resources/resource_provider.h" |
17 #include "cc/resources/ui_resource_client.h" | 17 #include "cc/resources/ui_resource_client.h" |
18 #include "ui/gfx/geometry/rect.h" | 18 #include "ui/gfx/geometry/rect.h" |
19 #include "ui/gfx/geometry/size.h" | 19 #include "ui/gfx/geometry/size.h" |
20 | 20 |
21 namespace base { | 21 namespace base { |
22 class DictionaryValue; | 22 class DictionaryValue; |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 const char* LayerTypeAsString() const override; | 54 const char* LayerTypeAsString() const override; |
55 | 55 |
56 NinePatchGenerator quad_generator_; | 56 NinePatchGenerator quad_generator_; |
57 | 57 |
58 DISALLOW_COPY_AND_ASSIGN(NinePatchLayerImpl); | 58 DISALLOW_COPY_AND_ASSIGN(NinePatchLayerImpl); |
59 }; | 59 }; |
60 | 60 |
61 } // namespace cc | 61 } // namespace cc |
62 | 62 |
63 #endif // CC_LAYERS_NINE_PATCH_LAYER_IMPL_H_ | 63 #endif // CC_LAYERS_NINE_PATCH_LAYER_IMPL_H_ |
OLD | NEW |