| 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 #include <unordered_map> | 9 #include <unordered_map> |
| 10 | 10 |
| 11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "base/timer/timer.h" | 12 #include "base/timer/timer.h" |
| 13 #include "cc/ipc/display_compositor.mojom.h" | 13 #include "cc/ipc/display_compositor.mojom.h" |
| 14 #include "cc/surfaces/frame_sink_id.h" | 14 #include "cc/surfaces/frame_sink_id.h" |
| 15 #include "cc/surfaces/surface_id.h" | 15 #include "cc/surfaces/surface_id.h" |
| 16 #include "cc/surfaces/surface_id_allocator.h" | 16 #include "cc/surfaces/surface_id_allocator.h" |
| 17 #include "services/ui/public/interfaces/window_tree_constants.mojom.h" | 17 #include "services/ui/public/interfaces/window_tree_constants.mojom.h" |
| 18 #include "services/ui/ws/ids.h" | 18 #include "services/ui/ws/ids.h" |
| 19 #include "services/ui/ws/server_window_delegate.h" | 19 #include "services/ui/ws/server_window_delegate.h" |
| 20 #include "services/ui/ws/server_window_tracker.h" | 20 #include "services/ui/ws/server_window_tracker.h" |
| 21 #include "ui/gfx/geometry/rect.h" | 21 #include "ui/gfx/geometry/rect.h" |
| 22 #include "ui/gfx/native_widget_types.h" | 22 #include "ui/gfx/native_widget_types.h" |
| 23 | 23 |
| 24 namespace cc { | 24 namespace cc { |
| 25 class CompositorFrame; | 25 class CompositorFrame; |
| 26 class RenderPass; | 26 class RenderPass; |
| 27 class SurfaceId; | 27 class SurfaceId; |
| 28 } | 28 } |
| 29 | 29 |
| 30 namespace gpu { | |
| 31 class GpuChannelHost; | |
| 32 } | |
| 33 | |
| 34 namespace ui { | 30 namespace ui { |
| 35 | 31 |
| 36 class DisplayCompositor; | 32 class DisplayCompositor; |
| 37 | 33 |
| 38 namespace ws { | 34 namespace ws { |
| 39 | 35 |
| 40 namespace test { | 36 namespace test { |
| 41 class FrameGeneratorTest; | 37 class FrameGeneratorTest; |
| 42 } | 38 } |
| 43 | 39 |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 base::WeakPtrFactory<FrameGenerator> weak_factory_; | 153 base::WeakPtrFactory<FrameGenerator> weak_factory_; |
| 158 | 154 |
| 159 DISALLOW_COPY_AND_ASSIGN(FrameGenerator); | 155 DISALLOW_COPY_AND_ASSIGN(FrameGenerator); |
| 160 }; | 156 }; |
| 161 | 157 |
| 162 } // namespace ws | 158 } // namespace ws |
| 163 | 159 |
| 164 } // namespace ui | 160 } // namespace ui |
| 165 | 161 |
| 166 #endif // SERVICES_UI_WS_FRAME_GENERATOR_H_ | 162 #endif // SERVICES_UI_WS_FRAME_GENERATOR_H_ |
| OLD | NEW |