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 WebDecorationLayerImpl_h |
| 6 #define WebDecorationLayerImpl_h |
| 7 |
| 8 #include <public/WebDecorationLayer.h> |
| 9 #include <wtf/OwnPtr.h> |
| 10 |
| 11 namespace WebKit { |
| 12 |
| 13 class WebLayerImpl; |
| 14 |
| 15 class WebDecorationLayerImpl : public WebDecorationLayer { |
| 16 public: |
| 17 WebDecorationLayerImpl(); |
| 18 virtual ~WebDecorationLayerImpl(); |
| 19 |
| 20 // WebDecorationLayer implementation. |
| 21 virtual WebLayer* layer() OVERRIDE; |
| 22 |
| 23 virtual void setBitmap(const SkBitmap& bitmap, const WebRect& aperture) OVER
RIDE; |
| 24 |
| 25 private: |
| 26 OwnPtr<WebLayerImpl> m_layer; |
| 27 }; |
| 28 |
| 29 } // namespace WebKit |
| 30 |
| 31 #endif // WebDecorationLayerImpl_h |
OLD | NEW |