OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 ANDROID_WEBVIEW_BROWSER_SURFACES_INSTANCE_H_ | 5 #ifndef ANDROID_WEBVIEW_BROWSER_SURFACES_INSTANCE_H_ |
6 #define ANDROID_WEBVIEW_BROWSER_SURFACES_INSTANCE_H_ | 6 #define ANDROID_WEBVIEW_BROWSER_SURFACES_INSTANCE_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 std::unique_ptr<cc::Display> display_; | 83 std::unique_ptr<cc::Display> display_; |
84 std::unique_ptr<cc::LocalSurfaceIdAllocator> local_surface_id_allocator_; | 84 std::unique_ptr<cc::LocalSurfaceIdAllocator> local_surface_id_allocator_; |
85 std::unique_ptr<cc::CompositorFrameSinkSupport> support_; | 85 std::unique_ptr<cc::CompositorFrameSinkSupport> support_; |
86 | 86 |
87 cc::LocalSurfaceId root_id_; | 87 cc::LocalSurfaceId root_id_; |
88 std::vector<cc::SurfaceId> child_ids_; | 88 std::vector<cc::SurfaceId> child_ids_; |
89 | 89 |
90 // This is owned by |display_|. | 90 // This is owned by |display_|. |
91 ParentOutputSurface* output_surface_; | 91 ParentOutputSurface* output_surface_; |
92 | 92 |
| 93 gfx::Size surface_size_; |
| 94 |
93 DISALLOW_COPY_AND_ASSIGN(SurfacesInstance); | 95 DISALLOW_COPY_AND_ASSIGN(SurfacesInstance); |
94 }; | 96 }; |
95 | 97 |
96 } // namespace android_webview | 98 } // namespace android_webview |
97 | 99 |
98 #endif // ANDROID_WEBVIEW_BROWSER_SURFACES_INSTANCE_H_ | 100 #endif // ANDROID_WEBVIEW_BROWSER_SURFACES_INSTANCE_H_ |
OLD | NEW |