| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 #include <memory> | 5 #include <memory> |
| 6 | 6 |
| 7 #include "base/macros.h" | 7 #include "base/macros.h" |
| 8 #include "base/memory/ref_counted.h" |
| 9 #include "cc/surfaces/surface_reference_factory.h" |
| 8 #include "ui/gfx/geometry/insets.h" | 10 #include "ui/gfx/geometry/insets.h" |
| 9 | 11 |
| 10 namespace cc { | 12 namespace cc { |
| 11 class SurfaceInfo; | 13 class SurfaceInfo; |
| 12 } | 14 } |
| 13 | 15 |
| 14 namespace gfx { | 16 namespace gfx { |
| 15 class Insets; | 17 class Insets; |
| 16 } | 18 } |
| 17 | 19 |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 | 57 |
| 56 // Contains the client's content. | 58 // Contains the client's content. |
| 57 std::unique_ptr<ui::Layer> surface_layer_; | 59 std::unique_ptr<ui::Layer> surface_layer_; |
| 58 | 60 |
| 59 // Used for showing a gutter when the content is not available. | 61 // Used for showing a gutter when the content is not available. |
| 60 std::unique_ptr<ui::Layer> right_gutter_; | 62 std::unique_ptr<ui::Layer> right_gutter_; |
| 61 std::unique_ptr<ui::Layer> bottom_gutter_; | 63 std::unique_ptr<ui::Layer> bottom_gutter_; |
| 62 | 64 |
| 63 gfx::Insets client_area_insets_; | 65 gfx::Insets client_area_insets_; |
| 64 | 66 |
| 67 scoped_refptr<cc::SurfaceReferenceFactory> ref_factory_; |
| 68 |
| 65 DISALLOW_COPY_AND_ASSIGN(ClientSurfaceEmbedder); | 69 DISALLOW_COPY_AND_ASSIGN(ClientSurfaceEmbedder); |
| 66 }; | 70 }; |
| 67 | 71 |
| 68 } // namespace aura | 72 } // namespace aura |
| OLD | NEW |