| Index: content/browser/aura/image_transport_factory.h
|
| diff --git a/content/browser/aura/image_transport_factory.h b/content/browser/aura/image_transport_factory.h
|
| index 85fba7d53004126a82dd3d6bca490a024c545ff1..102e572d469f9ad0759f1b8baa3bc80c39fa7204 100644
|
| --- a/content/browser/aura/image_transport_factory.h
|
| +++ b/content/browser/aura/image_transport_factory.h
|
| @@ -8,6 +8,7 @@
|
| #include <string>
|
|
|
| #include "base/memory/ref_counted.h"
|
| +#include "content/common/gpu/surface_capturer.h"
|
| #include "ui/gfx/native_widget_types.h"
|
|
|
| namespace gfx {
|
| @@ -15,6 +16,7 @@ class Size;
|
| }
|
|
|
| namespace ui {
|
| +class Compositor;
|
| class ContextFactory;
|
| class Texture;
|
| }
|
| @@ -79,6 +81,12 @@ class ImageTransportFactory {
|
| float device_scale_factor,
|
| unsigned int texture_id) = 0;
|
|
|
| + // Creates a SurfaceCapturer that captures frames from the given compositor's
|
| + // current output surface.
|
| + virtual scoped_ptr<SurfaceCapturer> CreateOutputSurfaceCapturer(
|
| + ui::Compositor* compositor,
|
| + SurfaceCapturer::Client* client) = 0;
|
| +
|
| // Gets a GLHelper instance, associated with the shared context. This
|
| // GLHelper will get destroyed whenever the shared context is lost
|
| // (ImageTransportFactoryObserver::OnLostResources is called).
|
|
|