blob: 58a236f48ff4a9f7e1225d921524fa8b27157af3 [file] [log] [blame]
// 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