| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef WebIOSurfaceLayerImpl_h | |
| 6 #define WebIOSurfaceLayerImpl_h | |
| 7 | |
| 8 #include "base/memory/scoped_ptr.h" | |
| 9 #include "third_party/WebKit/Source/Platform/chromium/public/WebIOSurfaceLayer.h
" | |
| 10 #include "third_party/WebKit/Source/Platform/chromium/public/WebSize.h" | |
| 11 #include "webkit/compositor_bindings/webkit_compositor_bindings_export.h" | |
| 12 | |
| 13 namespace WebKit { | |
| 14 | |
| 15 class WebIOSurfaceLayerImpl : public WebIOSurfaceLayer { | |
| 16 public: | |
| 17 WEBKIT_COMPOSITOR_BINDINGS_EXPORT WebIOSurfaceLayerImpl(); | |
| 18 virtual ~WebIOSurfaceLayerImpl(); | |
| 19 | |
| 20 // WebIOSurfaceLayer implementation. | |
| 21 virtual WebLayer* layer(); | |
| 22 virtual void setIOSurfaceProperties(unsigned io_surface_id, WebSize); | |
| 23 | |
| 24 private: | |
| 25 scoped_ptr<WebLayerImpl> layer_; | |
| 26 }; | |
| 27 | |
| 28 } | |
| 29 | |
| 30 #endif // WebIOSurfaceLayerImpl_h | |
| 31 | |
| OLD | NEW |