| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_SURFACE_LAYER_H_ | 5 #ifndef CC_LAYERS_SURFACE_LAYER_H_ |
| 6 #define CC_LAYERS_SURFACE_LAYER_H_ | 6 #define CC_LAYERS_SURFACE_LAYER_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "cc/base/cc_export.h" | 9 #include "cc/cc_export.h" |
| 10 #include "cc/layers/layer.h" | 10 #include "cc/layers/layer.h" |
| 11 #include "cc/surfaces/surface_info.h" | 11 #include "cc/surfaces/surface_info.h" |
| 12 #include "cc/surfaces/surface_reference_factory.h" | 12 #include "cc/surfaces/surface_reference_factory.h" |
| 13 #include "ui/gfx/geometry/size.h" | 13 #include "ui/gfx/geometry/size.h" |
| 14 | 14 |
| 15 namespace cc { | 15 namespace cc { |
| 16 | 16 |
| 17 // A layer that renders a surface referencing the output of another compositor | 17 // A layer that renders a surface referencing the output of another compositor |
| 18 // instance or client. | 18 // instance or client. |
| 19 class CC_EXPORT SurfaceLayer : public Layer { | 19 class CC_EXPORT SurfaceLayer : public Layer { |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 | 61 |
| 62 scoped_refptr<SurfaceReferenceFactory> ref_factory_; | 62 scoped_refptr<SurfaceReferenceFactory> ref_factory_; |
| 63 bool stretch_content_to_fill_bounds_ = false; | 63 bool stretch_content_to_fill_bounds_ = false; |
| 64 | 64 |
| 65 DISALLOW_COPY_AND_ASSIGN(SurfaceLayer); | 65 DISALLOW_COPY_AND_ASSIGN(SurfaceLayer); |
| 66 }; | 66 }; |
| 67 | 67 |
| 68 } // namespace cc | 68 } // namespace cc |
| 69 | 69 |
| 70 #endif // CC_LAYERS_SURFACE_LAYER_H_ | 70 #endif // CC_LAYERS_SURFACE_LAYER_H_ |
| OLD | NEW |