| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 EXTDisjointTimerQuery_h | 5 #ifndef EXTDisjointTimerQuery_h |
| 6 #define EXTDisjointTimerQuery_h | 6 #define EXTDisjointTimerQuery_h |
| 7 | 7 |
| 8 #include "bindings/core/v8/ScriptValue.h" | 8 #include "bindings/core/v8/ScriptValue.h" |
| 9 #include "modules/webgl/WebGLExtension.h" | 9 #include "modules/webgl/WebGLExtension.h" |
| 10 #include "wtf/HashMap.h" | 10 #include "platform/wtf/HashMap.h" |
| 11 | 11 |
| 12 namespace blink { | 12 namespace blink { |
| 13 | 13 |
| 14 class WebGLRenderingContextBase; | 14 class WebGLRenderingContextBase; |
| 15 class WebGLTimerQueryEXT; | 15 class WebGLTimerQueryEXT; |
| 16 | 16 |
| 17 class EXTDisjointTimerQuery final : public WebGLExtension { | 17 class EXTDisjointTimerQuery final : public WebGLExtension { |
| 18 DEFINE_WRAPPERTYPEINFO(); | 18 DEFINE_WRAPPERTYPEINFO(); |
| 19 | 19 |
| 20 public: | 20 public: |
| (...skipping 17 matching lines...) Expand all Loading... |
| 38 private: | 38 private: |
| 39 friend class WebGLTimerQueryEXT; | 39 friend class WebGLTimerQueryEXT; |
| 40 explicit EXTDisjointTimerQuery(WebGLRenderingContextBase*); | 40 explicit EXTDisjointTimerQuery(WebGLRenderingContextBase*); |
| 41 | 41 |
| 42 Member<WebGLTimerQueryEXT> current_elapsed_query_; | 42 Member<WebGLTimerQueryEXT> current_elapsed_query_; |
| 43 }; | 43 }; |
| 44 | 44 |
| 45 } // namespace blink | 45 } // namespace blink |
| 46 | 46 |
| 47 #endif // EXTDisjointTimerQuery_h | 47 #endif // EXTDisjointTimerQuery_h |
| OLD | NEW |