| Index: third_party/WebKit/Source/core/html/canvas/OffScreenCanvas.h
|
| diff --git a/third_party/WebKit/Source/core/html/canvas/OffScreenCanvas.h b/third_party/WebKit/Source/core/html/canvas/OffScreenCanvas.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..2518c9d0612862e094dd8512c5f615a4c79c715e
|
| --- /dev/null
|
| +++ b/third_party/WebKit/Source/core/html/canvas/OffScreenCanvas.h
|
| @@ -0,0 +1,32 @@
|
| +// Copyright 2015 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 OffScreenCanvas_h
|
| +#define OffScreenCanvas_h
|
| +
|
| +#include "bindings/core/v8/ScriptPromise.h"
|
| +#include "bindings/core/v8/ScriptState.h"
|
| +#include "bindings/core/v8/ScriptWrappable.h"
|
| +#include "core/CoreExport.h"
|
| +#include "platform/geometry/IntSize.h"
|
| +#include "platform/heap/Handle.h"
|
| +
|
| +namespace blink {
|
| +
|
| +class CORE_EXPORT OffScreenCanvas final : public GarbageCollectedFinalized<OffScreenCanvas>, public ScriptWrappable {
|
| + DEFINE_WRAPPERTYPEINFO();
|
| +public:
|
| + static OffScreenCanvas* create(unsigned long width, unsigned long height);
|
| +
|
| + DECLARE_VIRTUAL_TRACE();
|
| +
|
| +private:
|
| + OffScreenCanvas(const IntSize&);
|
| +
|
| + IntSize m_size;
|
| +};
|
| +
|
| +} // namespace blink
|
| +
|
| +#endif // OffScreenCanvas_h
|
|
|