| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CONTENT_BROWSER_COMPOSITOR_IMAGE_TRANSPORT_FACTORY_H_ | 5 #ifndef CONTENT_BROWSER_COMPOSITOR_IMAGE_TRANSPORT_FACTORY_H_ |
| 6 #define CONTENT_BROWSER_COMPOSITOR_IMAGE_TRANSPORT_FACTORY_H_ | 6 #define CONTENT_BROWSER_COMPOSITOR_IMAGE_TRANSPORT_FACTORY_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
| 12 #include "build/build_config.h" | 12 #include "build/build_config.h" |
| 13 #include "cc/surfaces/surface_id_allocator.h" | 13 #include "cc/surfaces/surface_id_allocator.h" |
| 14 #include "content/common/content_export.h" | 14 #include "content/common/content_export.h" |
| 15 #include "gpu/ipc/common/surface_handle.h" | 15 #include "gpu/ipc/common/surface_handle.h" |
| 16 #include "ui/events/latency_info.h" | 16 #include "ui/events/latency_info.h" |
| 17 #include "ui/gfx/native_widget_types.h" | 17 #include "ui/gfx/native_widget_types.h" |
| 18 | 18 |
| 19 namespace cc { | 19 namespace cc { |
| 20 class SurfaceManager; | 20 class SurfaceManager; |
| 21 } | 21 } |
| 22 | 22 |
| 23 namespace gfx { | 23 namespace gfx { |
| 24 class Size; | |
| 25 enum class SwapResult; | 24 enum class SwapResult; |
| 26 } | 25 } |
| 27 | 26 |
| 28 namespace ui { | 27 namespace ui { |
| 29 class Compositor; | 28 class Compositor; |
| 30 class ContextFactory; | 29 class ContextFactory; |
| 31 class ContextFactoryObserver; | |
| 32 class Texture; | |
| 33 } | 30 } |
| 34 | 31 |
| 35 namespace display_compositor { | 32 namespace display_compositor { |
| 36 class GLHelper; | 33 class GLHelper; |
| 37 } | 34 } |
| 38 | 35 |
| 39 namespace gpu { | 36 namespace gpu { |
| 40 class GpuChannelEstablishFactory; | 37 class GpuChannelEstablishFactory; |
| 41 } | 38 } |
| 42 | 39 |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 // completed. This ensures that content and frames intended for the old | 82 // completed. This ensures that content and frames intended for the old |
| 86 // NSView will not flash in the new NSView. | 83 // NSView will not flash in the new NSView. |
| 87 virtual void SetCompositorSuspendedForRecycle(ui::Compositor* compositor, | 84 virtual void SetCompositorSuspendedForRecycle(ui::Compositor* compositor, |
| 88 bool suspended) = 0; | 85 bool suspended) = 0; |
| 89 #endif | 86 #endif |
| 90 }; | 87 }; |
| 91 | 88 |
| 92 } // namespace content | 89 } // namespace content |
| 93 | 90 |
| 94 #endif // CONTENT_BROWSER_COMPOSITOR_IMAGE_TRANSPORT_FACTORY_H_ | 91 #endif // CONTENT_BROWSER_COMPOSITOR_IMAGE_TRANSPORT_FACTORY_H_ |
| OLD | NEW |