| OLD | NEW |
| 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 <public/WebIOSurfaceLayer.h> | 8 #include <public/WebIOSurfaceLayer.h> |
| 9 #include <wtf/OwnPtr.h> | 9 #include <wtf/OwnPtr.h> |
| 10 | 10 |
| 11 namespace WebKit { | 11 namespace WebKit { |
| 12 | 12 |
| 13 class WebIOSurfaceLayerImpl : public WebIOSurfaceLayer { | 13 class WebIOSurfaceLayerImpl : public WebIOSurfaceLayer { |
| 14 public: | 14 public: |
| 15 WebIOSurfaceLayerImpl(); | 15 WebIOSurfaceLayerImpl(); |
| 16 virtual ~WebIOSurfaceLayerImpl(); | 16 virtual ~WebIOSurfaceLayerImpl(); |
| 17 | 17 |
| 18 // WebIOSurfaceLayer implementation. | 18 // WebIOSurfaceLayer implementation. |
| 19 virtual WebLayer* layer() OVERRIDE; | 19 virtual WebLayer* layer() OVERRIDE; |
| 20 virtual void setIOSurfaceProperties(unsigned ioSurfaceId, WebSize) OVERRIDE; | 20 virtual void setIOSurfaceProperties(unsigned ioSurfaceId, WebSize) OVERRIDE; |
| 21 | 21 |
| 22 private: | 22 private: |
| 23 OwnPtr<WebLayerImpl> m_layer; | 23 OwnPtr<WebLayerImpl> m_layer; |
| 24 }; | 24 }; |
| 25 | 25 |
| 26 } | 26 } |
| 27 | 27 |
| 28 #endif // WebIOSurfaceLayerImpl_h | 28 #endif // WebIOSurfaceLayerImpl_h |
| 29 | 29 |
| OLD | NEW |