summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/WebKit/Source/core/html/canvas/EXTBlendMinMax.h
blob: 4c6421760ded73956982c12ca9e6e853a21fc0c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// 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 EXTBlendMinMax_h
#define EXTBlendMinMax_h

#include "bindings/v8/ScriptWrappable.h"
#include "core/html/canvas/WebGLExtension.h"
#include "wtf/PassRefPtr.h"

namespace WebCore {

class EXTBlendMinMax FINAL : public WebGLExtension, public ScriptWrappable {
public:
    static PassRefPtr<EXTBlendMinMax> create(WebGLRenderingContextBase*);
    static bool supported(WebGLRenderingContextBase*);
    static const char* extensionName();

    virtual ~EXTBlendMinMax();
    virtual WebGLExtensionName name() const OVERRIDE;

private:
    EXTBlendMinMax(WebGLRenderingContextBase*);
};

} // namespace WebCore

#endif // EXTBlendMinMax_h