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

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

Issue 11617016: Componentize webkit/compositor_bindings target (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add ui dep to cc_test_support Created 8 years 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
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WebIOSurfaceLayerImpl_h 5 #ifndef WebIOSurfaceLayerImpl_h
6 #define WebIOSurfaceLayerImpl_h 6 #define WebIOSurfaceLayerImpl_h
7 7
8 #include "base/memory/scoped_ptr.h"
8 #include "third_party/WebKit/Source/Platform/chromium/public/WebIOSurfaceLayer.h " 9 #include "third_party/WebKit/Source/Platform/chromium/public/WebIOSurfaceLayer.h "
9 #include "base/memory/scoped_ptr.h" 10 #include "webkit/compositor_bindings/webkit_compositor_bindings_export.h"
10 11
11 namespace WebKit { 12 namespace WebKit {
12 13
13 class WebIOSurfaceLayerImpl : public WebIOSurfaceLayer { 14 class WebIOSurfaceLayerImpl : public WebIOSurfaceLayer {
14 public: 15 public:
15 WebIOSurfaceLayerImpl(); 16 WEBKIT_COMPOSITOR_BINDINGS_EXPORT WebIOSurfaceLayerImpl();
16 virtual ~WebIOSurfaceLayerImpl(); 17 virtual ~WebIOSurfaceLayerImpl();
17 18
18 // WebIOSurfaceLayer implementation. 19 // WebIOSurfaceLayer implementation.
19 virtual WebLayer* layer() OVERRIDE; 20 virtual WebLayer* layer() OVERRIDE;
20 virtual void setIOSurfaceProperties(unsigned ioSurfaceId, WebSize) OVERRIDE; 21 virtual void setIOSurfaceProperties(unsigned ioSurfaceId, WebSize) OVERRIDE;
21 22
22 private: 23 private:
23 scoped_ptr<WebLayerImpl> m_layer; 24 scoped_ptr<WebLayerImpl> m_layer;
24 }; 25 };
25 26
26 } 27 }
27 28
28 #endif // WebIOSurfaceLayerImpl_h 29 #endif // WebIOSurfaceLayerImpl_h
29 30
OLDNEW
« no previous file with comments | « webkit/compositor_bindings/web_image_layer_impl.cc ('k') | webkit/compositor_bindings/web_io_surface_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698