blob: 361ce5386c1f0e0dd100a80a1e11b52a8a41fe46 [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 WebSolidColorLayerImpl_h
#define WebSolidColorLayerImpl_h
#include "base/memory/scoped_ptr.h"
#include "third_party/WebKit/Source/Platform/chromium/public/WebSolidColorLayer.h"
namespace WebKit {
class WebLayerImpl;
class WebSolidColorLayerImpl : public WebSolidColorLayer {
public:
WebSolidColorLayerImpl();
virtual ~WebSolidColorLayerImpl();
// WebSolidColorLayer implementation.
virtual WebLayer* layer() OVERRIDE;
virtual void setBackgroundColor(WebColor) OVERRIDE;
private:
scoped_ptr<WebLayerImpl> m_layer;
};
} // namespace WebKit
#endif // WebSolidColorLayerImpl_h