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

Unified Diff: webkit/compositor_bindings/web_external_texture_layer_impl.h

Issue 14651027: Move webkit/compositor_bindings into webkit/renderer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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: webkit/compositor_bindings/web_external_texture_layer_impl.h
diff --git a/webkit/compositor_bindings/web_external_texture_layer_impl.h b/webkit/compositor_bindings/web_external_texture_layer_impl.h
deleted file mode 100644
index 704864a05fe7dc6c0cbf39ad6b0fcc420abfc699..0000000000000000000000000000000000000000
--- a/webkit/compositor_bindings/web_external_texture_layer_impl.h
+++ /dev/null
@@ -1,65 +0,0 @@
-// Copyright 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef WEBKIT_COMPOSITOR_BINDINGS_WEB_EXTERNAL_TEXTURE_LAYER_IMPL_H_
-#define WEBKIT_COMPOSITOR_BINDINGS_WEB_EXTERNAL_TEXTURE_LAYER_IMPL_H_
-
-#include "base/bind.h"
-#include "base/memory/scoped_ptr.h"
-#include "cc/layers/texture_layer_client.h"
-#include "cc/resources/texture_mailbox.h"
-#include "third_party/WebKit/Source/Platform/chromium/public/WebExternalTextureLayer.h"
-#include "webkit/compositor_bindings/webkit_compositor_bindings_export.h"
-
-namespace WebKit {
-struct WebFloatRect;
-struct WebExternalTextureMailbox;
-}
-
-namespace webkit {
-
-class WebLayerImpl;
-
-class WebExternalTextureLayerImpl
- : public WebKit::WebExternalTextureLayer,
- public cc::TextureLayerClient,
- public base::SupportsWeakPtr<WebExternalTextureLayerImpl> {
- public:
- WEBKIT_COMPOSITOR_BINDINGS_EXPORT explicit WebExternalTextureLayerImpl(
- WebKit::WebExternalTextureLayerClient*,
- bool mailbox);
- virtual ~WebExternalTextureLayerImpl();
-
- // WebKit::WebExternalTextureLayer implementation.
- virtual WebKit::WebLayer* layer();
- virtual void clearTexture();
- virtual void setTextureId(unsigned texture_id);
- virtual void setFlipped(bool flipped);
- virtual void setUVRect(const WebKit::WebFloatRect& uv_rect);
- virtual void setOpaque(bool opaque);
- virtual void setPremultipliedAlpha(bool premultiplied);
-
- virtual void willModifyTexture();
- virtual void setRateLimitContext(bool rate_limit);
-
- // TextureLayerClient implementation.
- virtual unsigned PrepareTexture(cc::ResourceUpdateQueue*) OVERRIDE;
- virtual WebKit::WebGraphicsContext3D* Context3d() OVERRIDE;
- virtual bool PrepareTextureMailbox(cc::TextureMailbox* mailbox) OVERRIDE;
-
- private:
- void DidReleaseMailbox(const WebKit::WebExternalTextureMailbox& mailbox,
- unsigned sync_point,
- bool lost_resource);
-
- WebKit::WebExternalTextureLayerClient* client_;
- scoped_ptr<WebLayerImpl> layer_;
- bool uses_mailbox_;
-
- DISALLOW_COPY_AND_ASSIGN(WebExternalTextureLayerImpl);
-};
-
-} // namespace webkit
-
-#endif // WEBKIT_COMPOSITOR_BINDINGS_WEB_EXTERNAL_TEXTURE_LAYER_IMPL_H_
« no previous file with comments | « webkit/compositor_bindings/web_content_layer_impl.cc ('k') | webkit/compositor_bindings/web_external_texture_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698