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 |
(...skipping 13 matching lines...) Expand all Loading... |
24 class Size; | 24 class Size; |
25 enum class SwapResult; | 25 enum class SwapResult; |
26 } | 26 } |
27 | 27 |
28 namespace ui { | 28 namespace ui { |
29 class Compositor; | 29 class Compositor; |
30 class ContextFactory; | 30 class ContextFactory; |
31 class Texture; | 31 class Texture; |
32 } | 32 } |
33 | 33 |
34 namespace blink { | |
35 class WebGraphicsContext3D; | |
36 } | |
37 | |
38 namespace display_compositor { | 34 namespace display_compositor { |
39 class GLHelper; | 35 class GLHelper; |
40 } | 36 } |
41 | 37 |
42 namespace content { | 38 namespace content { |
43 | 39 |
44 // This class provides a way to get notified when surface handles get lost. | 40 // This class provides a way to get notified when surface handles get lost. |
45 class CONTENT_EXPORT ImageTransportFactoryObserver { | 41 class CONTENT_EXPORT ImageTransportFactoryObserver { |
46 public: | 42 public: |
47 virtual ~ImageTransportFactoryObserver() {} | 43 virtual ~ImageTransportFactoryObserver() {} |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 // Used by GpuProcessHostUIShim to determine if a frame should not be | 103 // Used by GpuProcessHostUIShim to determine if a frame should not be |
108 // displayed because it is targetted to an NSView that has been disconnected. | 104 // displayed because it is targetted to an NSView that has been disconnected. |
109 virtual bool SurfaceShouldNotShowFramesAfterSuspendForRecycle( | 105 virtual bool SurfaceShouldNotShowFramesAfterSuspendForRecycle( |
110 gpu::SurfaceHandle surface_handle) const = 0; | 106 gpu::SurfaceHandle surface_handle) const = 0; |
111 #endif | 107 #endif |
112 }; | 108 }; |
113 | 109 |
114 } // namespace content | 110 } // namespace content |
115 | 111 |
116 #endif // CONTENT_BROWSER_COMPOSITOR_IMAGE_TRANSPORT_FACTORY_H_ | 112 #endif // CONTENT_BROWSER_COMPOSITOR_IMAGE_TRANSPORT_FACTORY_H_ |
OLD | NEW |