| 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 SERVICES_UI_WS_FRAME_GENERATOR_H_ | 5 #ifndef SERVICES_UI_WS_FRAME_GENERATOR_H_ |
| 6 #define SERVICES_UI_WS_FRAME_GENERATOR_H_ | 6 #define SERVICES_UI_WS_FRAME_GENERATOR_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 gfx::Size last_submitted_frame_size_; | 75 gfx::Size last_submitted_frame_size_; |
| 76 cc::LocalSurfaceId local_surface_id_; | 76 cc::LocalSurfaceId local_surface_id_; |
| 77 cc::SurfaceIdAllocator id_allocator_; | 77 cc::SurfaceIdAllocator id_allocator_; |
| 78 cc::mojom::MojoCompositorFrameSinkAssociatedPtr compositor_frame_sink_; | 78 cc::mojom::MojoCompositorFrameSinkAssociatedPtr compositor_frame_sink_; |
| 79 cc::mojom::DisplayPrivateAssociatedPtr display_private_; | 79 cc::mojom::DisplayPrivateAssociatedPtr display_private_; |
| 80 | 80 |
| 81 cc::SurfaceInfo window_manager_surface_info_; | 81 cc::SurfaceInfo window_manager_surface_info_; |
| 82 | 82 |
| 83 mojo::Binding<cc::mojom::MojoCompositorFrameSinkClient> binding_; | 83 mojo::Binding<cc::mojom::MojoCompositorFrameSinkClient> binding_; |
| 84 | 84 |
| 85 base::WeakPtrFactory<FrameGenerator> weak_factory_; | |
| 86 | |
| 87 DISALLOW_COPY_AND_ASSIGN(FrameGenerator); | 85 DISALLOW_COPY_AND_ASSIGN(FrameGenerator); |
| 88 }; | 86 }; |
| 89 | 87 |
| 90 } // namespace ws | 88 } // namespace ws |
| 91 | 89 |
| 92 } // namespace ui | 90 } // namespace ui |
| 93 | 91 |
| 94 #endif // SERVICES_UI_WS_FRAME_GENERATOR_H_ | 92 #endif // SERVICES_UI_WS_FRAME_GENERATOR_H_ |
| OLD | NEW |