| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef EXTBlendMinMax_h | 5 #ifndef EXTBlendMinMax_h |
| 6 #define EXTBlendMinMax_h | 6 #define EXTBlendMinMax_h |
| 7 | 7 |
| 8 #include "modules/webgl/WebGLExtension.h" | 8 #include "modules/webgl/WebGLExtension.h" |
| 9 #include "wtf/PassRefPtr.h" |
| 9 | 10 |
| 10 namespace blink { | 11 namespace blink { |
| 11 | 12 |
| 12 class EXTBlendMinMax final : public WebGLExtension { | 13 class EXTBlendMinMax final : public WebGLExtension { |
| 13 DEFINE_WRAPPERTYPEINFO(); | 14 DEFINE_WRAPPERTYPEINFO(); |
| 14 public: | 15 public: |
| 15 static EXTBlendMinMax* create(WebGLRenderingContextBase*); | 16 static PassRefPtrWillBeRawPtr<EXTBlendMinMax> create(WebGLRenderingContextBa
se*); |
| 16 static bool supported(WebGLRenderingContextBase*); | 17 static bool supported(WebGLRenderingContextBase*); |
| 17 static const char* extensionName(); | 18 static const char* extensionName(); |
| 18 | 19 |
| 19 ~EXTBlendMinMax() override; | 20 ~EXTBlendMinMax() override; |
| 20 WebGLExtensionName name() const override; | 21 WebGLExtensionName name() const override; |
| 21 | 22 |
| 22 private: | 23 private: |
| 23 explicit EXTBlendMinMax(WebGLRenderingContextBase*); | 24 explicit EXTBlendMinMax(WebGLRenderingContextBase*); |
| 24 }; | 25 }; |
| 25 | 26 |
| 26 } // namespace blink | 27 } // namespace blink |
| 27 | 28 |
| 28 #endif // EXTBlendMinMax_h | 29 #endif // EXTBlendMinMax_h |
| OLD | NEW |