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

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

Issue 10689108: Aura: Have ui::Layer implement WebKit::WebExternalTextureLayerClient (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Disable the test compositor instead. Created 8 years, 5 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/renderer_host/image_transport_factory.h
diff --git a/content/browser/renderer_host/image_transport_factory.h b/content/browser/renderer_host/image_transport_factory.h
index 10a841e20e1b359ae61abcc2f3ce6f38b2a85b51..5e82ea4bada42ab80a26092ecf2eec9fc6170e86 100644
--- a/content/browser/renderer_host/image_transport_factory.h
+++ b/content/browser/renderer_host/image_transport_factory.h
@@ -27,8 +27,6 @@ namespace WebKit {
class WebGraphicsContext3D;
}
-class ImageTransportClient;
-
// This class provides a way to get notified when surface handles get lost.
class ImageTransportFactoryObserver {
public:
@@ -74,11 +72,12 @@ class ImageTransportFactory {
// Destroys a shared surface handle.
virtual void DestroySharedSurfaceHandle(gfx::GLSurfaceHandle surface) = 0;
- // Creates a transport client of a given size, and using the opaque handle
+ // Creates a transport texture of a given size, and using the opaque handle
// sent by the GPU process.
- virtual scoped_refptr<ImageTransportClient> CreateTransportClient(
+ virtual scoped_refptr<ui::Texture> CreateTransportClient(
const gfx::Size& size,
- uint64* transport_handle) = 0;
+ uint64* transport_handle,
+ ui::Compositor* compositor) = 0;
// Gets a GLHelper instance, associated with the compositor context. This
// GLHelper will get destroyed whenever the context is lost (

Powered by Google App Engine
This is Rietveld 408576698