| Index: webkit/compositor_bindings/web_nine_patch_layer_impl.h
|
| diff --git a/webkit/compositor_bindings/web_nine_patch_layer_impl.h b/webkit/compositor_bindings/web_nine_patch_layer_impl.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..02605d8175a3797066f87e2720bdcac2f932cf86
|
| --- /dev/null
|
| +++ b/webkit/compositor_bindings/web_nine_patch_layer_impl.h
|
| @@ -0,0 +1,31 @@
|
| +// 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 WebNinePatchLayerImpl_h
|
| +#define WebNinePatchLayerImpl_h
|
| +
|
| +#include "web_layer_impl.h"
|
| +#include "base/memory/scoped_ptr.h"
|
| +#include "SkBitmap.h"
|
| +
|
| +namespace WebKit {
|
| +
|
| +class WebLayerImpl;
|
| +
|
| +class WebNinePatchLayerImpl {
|
| +public:
|
| + WebNinePatchLayerImpl();
|
| + virtual ~WebNinePatchLayerImpl();
|
| +
|
| + WebLayer* layer();
|
| +
|
| + void setBitmap(const SkBitmap& bitmap, const WebRect& aperture);
|
| +
|
| +private:
|
| + scoped_ptr<WebLayerImpl> m_layer;
|
| +};
|
| +
|
| +} // namespace WebKit
|
| +
|
| +#endif
|
|
|