| Index: Source/bindings/core/v8/WrapCanvasContext.h
|
| diff --git a/Source/bindings/core/v8/WrapCanvasContext.h b/Source/bindings/core/v8/WrapCanvasContext.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..614e82476bf209721fbff561f9fdbba55c47c46e
|
| --- /dev/null
|
| +++ b/Source/bindings/core/v8/WrapCanvasContext.h
|
| @@ -0,0 +1,22 @@
|
| +// Copyright 2014 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 WrapCanvasContext_h
|
| +#define WrapCanvasContext_h
|
| +
|
| +#include "bindings/core/v8/ScriptValue.h"
|
| +#include "wtf/PassRefPtr.h"
|
| +
|
| +namespace blink {
|
| +
|
| +class CanvasRenderingContext2D;
|
| +class HTMLCanvasElement;
|
| +class WebGLRenderingContext;
|
| +
|
| +ScriptValue wrapCanvasContext(ScriptState*, HTMLCanvasElement*, PassRefPtrWillBeRawPtr<CanvasRenderingContext2D> value);
|
| +ScriptValue wrapCanvasContext(ScriptState*, HTMLCanvasElement*, PassRefPtrWillBeRawPtr<WebGLRenderingContext> value);
|
| +
|
| +} // namespace blink
|
| +
|
| +#endif // WebGLAny_h
|
|
|