| 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_SURFACES_DISPLAY_COMPOSITOR_FRAME_SINK_H_ | 5 #ifndef SERVICES_UI_SURFACES_DISPLAY_COMPOSITOR_FRAME_SINK_H_ |
| 6 #define SERVICES_UI_SURFACES_DISPLAY_COMPOSITOR_FRAME_SINK_H_ | 6 #define SERVICES_UI_SURFACES_DISPLAY_COMPOSITOR_FRAME_SINK_H_ |
| 7 | 7 |
| 8 #include "base/memory/ref_counted.h" |
| 9 #include "base/single_thread_task_runner.h" |
| 8 #include "cc/surfaces/display_client.h" | 10 #include "cc/surfaces/display_client.h" |
| 9 #include "cc/surfaces/surface.h" | 11 #include "cc/surfaces/surface.h" |
| 10 #include "cc/surfaces/surface_factory.h" | 12 #include "cc/surfaces/surface_factory.h" |
| 11 #include "cc/surfaces/surface_factory_client.h" | 13 #include "cc/surfaces/surface_factory_client.h" |
| 12 #include "cc/surfaces/surface_id_allocator.h" | 14 #include "cc/surfaces/surface_id_allocator.h" |
| 13 #include "services/ui/surfaces/display_compositor.h" | 15 #include "services/ui/surfaces/display_compositor.h" |
| 14 #include "ui/gfx/native_widget_types.h" | 16 #include "ui/gfx/native_widget_types.h" |
| 15 | 17 |
| 16 namespace cc { | 18 namespace cc { |
| 17 class Display; | 19 class Display; |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 cc::LocalFrameId local_frame_id_; | 71 cc::LocalFrameId local_frame_id_; |
| 70 | 72 |
| 71 gfx::Size display_size_; | 73 gfx::Size display_size_; |
| 72 std::unique_ptr<cc::Display> display_; | 74 std::unique_ptr<cc::Display> display_; |
| 73 DISALLOW_COPY_AND_ASSIGN(DisplayCompositorFrameSink); | 75 DISALLOW_COPY_AND_ASSIGN(DisplayCompositorFrameSink); |
| 74 }; | 76 }; |
| 75 | 77 |
| 76 } // namespace ui | 78 } // namespace ui |
| 77 | 79 |
| 78 #endif // SERVICES_UI_SURFACES_DISPLAY_COMPOSITOR_FRAME_SINK_H_ | 80 #endif // SERVICES_UI_SURFACES_DISPLAY_COMPOSITOR_FRAME_SINK_H_ |
| OLD | NEW |