| 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_IMPL_H_ | 5 #ifndef CC_LAYERS_UI_RESOURCE_LAYER_IMPL_H_ |
| 6 #define CC_LAYERS_UI_RESOURCE_LAYER_IMPL_H_ | 6 #define CC_LAYERS_UI_RESOURCE_LAYER_IMPL_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "cc/base/cc_export.h" | 10 #include "cc/base/cc_export.h" |
| 11 #include "cc/layers/layer_impl.h" | 11 #include "cc/layers/layer_impl.h" |
| 12 #include "cc/resources/resource_provider.h" | 12 #include "cc/resources/resource_provider.h" |
| 13 #include "cc/resources/ui_resource_client.h" | 13 #include "cc/resources/ui_resource_client.h" |
| 14 #include "ui/gfx/rect.h" | 14 #include "ui/gfx/geometry/rect.h" |
| 15 #include "ui/gfx/size.h" | 15 #include "ui/gfx/geometry/size.h" |
| 16 | 16 |
| 17 namespace base { | 17 namespace base { |
| 18 class DictionaryValue; | 18 class DictionaryValue; |
| 19 } | 19 } |
| 20 | 20 |
| 21 namespace cc { | 21 namespace cc { |
| 22 | 22 |
| 23 class CC_EXPORT UIResourceLayerImpl : public LayerImpl { | 23 class CC_EXPORT UIResourceLayerImpl : public LayerImpl { |
| 24 public: | 24 public: |
| 25 static scoped_ptr<UIResourceLayerImpl> Create(LayerTreeImpl* tree_impl, | 25 static scoped_ptr<UIResourceLayerImpl> Create(LayerTreeImpl* tree_impl, |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 | 64 |
| 65 private: | 65 private: |
| 66 const char* LayerTypeAsString() const override; | 66 const char* LayerTypeAsString() const override; |
| 67 | 67 |
| 68 DISALLOW_COPY_AND_ASSIGN(UIResourceLayerImpl); | 68 DISALLOW_COPY_AND_ASSIGN(UIResourceLayerImpl); |
| 69 }; | 69 }; |
| 70 | 70 |
| 71 } // namespace cc | 71 } // namespace cc |
| 72 | 72 |
| 73 #endif // CC_LAYERS_UI_RESOURCE_LAYER_IMPL_H_ | 73 #endif // CC_LAYERS_UI_RESOURCE_LAYER_IMPL_H_ |
| OLD | NEW |