Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(277)

Unified Diff: content/browser/aura/image_transport_factory.h

Issue 23726015: All together now (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@screencast_cap
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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).
« no previous file with comments | « content/browser/aura/gpu_process_transport_factory.cc ('k') | content/browser/aura/no_transport_image_transport_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698