Chromium Code Reviews| Index: Source/core/html/canvas/WebGLFenceSync.h |
| diff --git a/Source/core/html/canvas/WebGLFenceSync.h b/Source/core/html/canvas/WebGLFenceSync.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..882d333a619ab90dfe361852a1fd2980a78ba27b |
| --- /dev/null |
| +++ b/Source/core/html/canvas/WebGLFenceSync.h |
| @@ -0,0 +1,27 @@ |
| +// 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 WebGLFenceSync_h |
| +#define WebGLFenceSync_h |
| + |
| +#include "core/html/canvas/WebGLSync.h" |
| +#include "wtf/PassRefPtr.h" |
| + |
| +namespace blink { |
| + |
| +class WebGL2RenderingContextBase; |
| + |
| +class WebGLFenceSync : public WebGLSync { |
| +public: |
| + virtual ~WebGLFenceSync(); |
|
dshwang
2015/02/04 14:05:22
after c++11, the code style is changed to "~WebGLF
|
| + |
| + static PassRefPtrWillBeRawPtr<WebGLSync> create(WebGL2RenderingContextBase*, GLenum condition, GLbitfield flags); |
| + |
| +protected: |
| + WebGLFenceSync(WebGL2RenderingContextBase*, GLenum condition, GLbitfield flags); |
| +}; |
| + |
| +} // namespace blink |
| + |
| +#endif // WebGLFenceSync_h |