| 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/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "cc/base/cc_export.h" | 9 #include "cc/base/cc_export.h" |
| 10 #include "cc/layers/layer.h" | 10 #include "cc/layers/layer.h" |
| 11 #include "cc/resources/ui_resource_client.h" | 11 #include "cc/resources/ui_resource_client.h" |
| 12 #include "ui/gfx/rect.h" | 12 #include "ui/gfx/geometry/rect.h" |
| 13 | 13 |
| 14 namespace cc { | 14 namespace cc { |
| 15 | 15 |
| 16 class LayerTreeHost; | 16 class LayerTreeHost; |
| 17 class ScopedUIResource; | 17 class ScopedUIResource; |
| 18 | 18 |
| 19 class CC_EXPORT UIResourceLayer : public Layer { | 19 class CC_EXPORT UIResourceLayer : public Layer { |
| 20 public: | 20 public: |
| 21 static scoped_refptr<UIResourceLayer> Create(); | 21 static scoped_refptr<UIResourceLayer> Create(); |
| 22 | 22 |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 void RecreateUIResourceHolder(); | 63 void RecreateUIResourceHolder(); |
| 64 | 64 |
| 65 | 65 |
| 66 | 66 |
| 67 DISALLOW_COPY_AND_ASSIGN(UIResourceLayer); | 67 DISALLOW_COPY_AND_ASSIGN(UIResourceLayer); |
| 68 }; | 68 }; |
| 69 | 69 |
| 70 } // namespace cc | 70 } // namespace cc |
| 71 | 71 |
| 72 #endif // CC_LAYERS_UI_RESOURCE_LAYER_H_ | 72 #endif // CC_LAYERS_UI_RESOURCE_LAYER_H_ |
| OLD | NEW |