| Index: third_party/WebKit/Source/bindings/core/v8/CSSPaintBinding.h
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/CSSPaintBinding.h b/third_party/WebKit/Source/bindings/core/v8/CSSPaintBinding.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..4186f95513d5b84d5b119ee84d79d63a41dbb5aa
|
| --- /dev/null
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/CSSPaintBinding.h
|
| @@ -0,0 +1,31 @@
|
| +// Copyright 2016 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 CSSPaintBinding_h
|
| +#define CSSPaintBinding_h
|
| +
|
| +#include "bindings/core/v8/ScopedPersistent.h"
|
| +#include "core/CoreExport.h"
|
| +#include "wtf/Allocator.h"
|
| +#include "wtf/PassOwnPtr.h"
|
| +#include <v8.h>
|
| +
|
| +namespace blink {
|
| +
|
| +class CORE_EXPORT CSSPaintBinding {
|
| + USING_FAST_MALLOC(CSSPaintBinding);
|
| +public:
|
| + static PassOwnPtr<CSSPaintBinding> create(v8::Isolate*, v8::Local<v8::Function> constructor, v8::Local<v8::Function> paint);
|
| + ~CSSPaintBinding();
|
| +
|
| +private:
|
| + CSSPaintBinding(v8::Isolate*, v8::Local<v8::Function> constructor, v8::Local<v8::Function> paint);
|
| +
|
| + ScopedPersistent<v8::Function> m_constructor;
|
| + ScopedPersistent<v8::Function> m_paint;
|
| +};
|
| +
|
| +} // namespace blink
|
| +
|
| +#endif // CSSPaintBinding_h
|
|
|