OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_UI_RESOURCE_LAYER_H_ | 5 #ifndef CC_LAYERS_UI_RESOURCE_LAYER_H_ |
6 #define CC_LAYERS_UI_RESOURCE_LAYER_H_ | 6 #define CC_LAYERS_UI_RESOURCE_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/resources/ui_resource_client.h" | 12 #include "cc/resources/ui_resource_client.h" |
12 #include "ui/gfx/geometry/rect.h" | 13 #include "ui/gfx/geometry/rect.h" |
13 | 14 |
14 namespace cc { | 15 namespace cc { |
15 | 16 |
16 class LayerTreeHost; | 17 class LayerTreeHost; |
17 class ScopedUIResource; | 18 class ScopedUIResource; |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 private: | 64 private: |
64 scoped_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl) override; | 65 scoped_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl) override; |
65 void RecreateUIResourceHolder(); | 66 void RecreateUIResourceHolder(); |
66 | 67 |
67 DISALLOW_COPY_AND_ASSIGN(UIResourceLayer); | 68 DISALLOW_COPY_AND_ASSIGN(UIResourceLayer); |
68 }; | 69 }; |
69 | 70 |
70 } // namespace cc | 71 } // namespace cc |
71 | 72 |
72 #endif // CC_LAYERS_UI_RESOURCE_LAYER_H_ | 73 #endif // CC_LAYERS_UI_RESOURCE_LAYER_H_ |
OLD | NEW |