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

Side by Side Diff: webkit/compositor_bindings/WebExternalTextureLayerImpl.h

Issue 11192050: Rename compositor bindings filenames to Chromium style (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef WebExternalTextureLayerImpl_h
6 #define WebExternalTextureLayerImpl_h
7
8 #include "base/memory/scoped_ptr.h"
9 #include "cc/texture_layer_client.h"
10 #include "third_party/WebKit/Source/Platform/chromium/public/WebExternalTextureL ayer.h"
11
12 namespace WebKit {
13
14 class WebLayerImpl;
15
16 class WebExternalTextureLayerImpl : public WebExternalTextureLayer,
17 public cc::TextureLayerChromiumClient {
18 public:
19 explicit WebExternalTextureLayerImpl(WebExternalTextureLayerClient*);
20 virtual ~WebExternalTextureLayerImpl();
21
22 // WebExternalTextureLayer implementation.
23 virtual WebLayer* layer() OVERRIDE;
24 virtual void setTextureId(unsigned) OVERRIDE;
25 virtual void setFlipped(bool) OVERRIDE;
26 virtual void setUVRect(const WebFloatRect&) OVERRIDE;
27 virtual void setOpaque(bool) OVERRIDE;
28 virtual void setPremultipliedAlpha(bool) OVERRIDE;
29 virtual void willModifyTexture() OVERRIDE;
30 virtual void setRateLimitContext(bool) OVERRIDE;
31
32 // TextureLayerChromiumClient implementation.
33 virtual unsigned prepareTexture(cc::CCTextureUpdateQueue&) OVERRIDE;
34 virtual WebGraphicsContext3D* context() OVERRIDE;
35
36 private:
37 WebExternalTextureLayerClient* m_client;
38 scoped_ptr<WebLayerImpl> m_layer;
39 };
40
41 }
42
43 #endif // WebExternalTextureLayerImpl_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698