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 WebImageLayerImpl_h | |
6 #define WebImageLayerImpl_h | |
7 | |
8 #include <public/WebImageLayer.h> | |
9 #include <wtf/OwnPtr.h> | |
10 | |
11 namespace WebCore { | |
12 class ImageLayerChromium; | |
13 } | |
14 | |
15 namespace WebKit { | |
16 class WebLayerImpl; | |
17 | |
18 class WebImageLayerImpl : public WebImageLayer { | |
19 public: | |
20 WebImageLayerImpl(); | |
21 virtual ~WebImageLayerImpl(); | |
22 | |
23 // WebImageLayer implementation. | |
24 WebLayer* layer() OVERRIDE; | |
25 virtual void setBitmap(SkBitmap) OVERRIDE; | |
26 | |
27 private: | |
28 OwnPtr<WebLayerImpl> m_layer; | |
29 }; | |
30 | |
31 } | |
32 | |
33 #endif // WebImageLayerImpl_h | |
OLD | NEW |