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 WebScrollbarLayerImpl_h | |
6 #define WebScrollbarLayerImpl_h | |
7 | |
8 #include <public/WebScrollbarLayer.h> | |
9 #include <wtf/OwnPtr.h> | |
10 | |
11 namespace WebKit { | |
12 class WebLayerImpl; | |
13 | |
14 class WebScrollbarLayerImpl : public WebScrollbarLayer { | |
15 public: | |
16 WebScrollbarLayerImpl(WebScrollbar*, WebScrollbarThemePainter, WebScrollbarT
hemeGeometry*); | |
17 virtual ~WebScrollbarLayerImpl(); | |
18 | |
19 // WebScrollbarLayer implementation. | |
20 virtual WebLayer* layer() OVERRIDE; | |
21 virtual void setScrollLayer(WebLayer*) OVERRIDE; | |
22 | |
23 private: | |
24 OwnPtr<WebLayerImpl> m_layer; | |
25 }; | |
26 | |
27 } | |
28 | |
29 #endif // WebScrollbarLayerImpl_h | |
OLD | NEW |