summaryrefslogtreecommitdiffstats
path: root/webkit/compositor_bindings/web_scrollbar_layer_impl.h
blob: 58a236f48ff4a9f7e1225d921524fa8b27157af3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Copyright 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef WebScrollbarLayerImpl_h
#define WebScrollbarLayerImpl_h

#include "base/memory/scoped_ptr.h"
#include "third_party/WebKit/Source/Platform/chromium/public/WebScrollbarLayer.h"

namespace WebKit {
class WebLayerImpl;

class WebScrollbarLayerImpl : public WebScrollbarLayer {
public:
    WebScrollbarLayerImpl(WebScrollbar*, WebScrollbarThemePainter, WebScrollbarThemeGeometry*);
    virtual ~WebScrollbarLayerImpl();

    // WebScrollbarLayer implementation.
    virtual WebLayer* layer() OVERRIDE;
    virtual void setScrollLayer(WebLayer*) OVERRIDE;

private:
    scoped_ptr<WebLayerImpl> m_layer;
};

}

#endif // WebScrollbarLayerImpl_h