Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef GeometryInterfaces_h | |
| 6 #define GeometryInterfaces_h | |
| 7 | |
| 8 #include "bindings/core/v8/ScriptValue.h" | |
|
haraken
2016/02/25 11:21:10
Forward declaration would be enough.
| |
| 9 #include <v8.h> | |
| 10 | |
| 11 namespace blink { | |
| 12 | |
| 13 class ExceptionState; | |
| 14 class ScriptState; | |
| 15 | |
| 16 class CORE_EXPORT GeometryInterfaces { | |
| 17 STATIC_ONLY(GeometryInterfaces); | |
| 18 public: | |
| 19 static ScriptValue createDOMPoint(double x = 0, double y = 0, double z = 0, double w = 1); | |
| 20 static void updateDOMPoint(ScriptValue&, double x = 0, double y = 0, double z = 0, double w = 1); | |
| 21 }; | |
| 22 | |
| 23 } // namespace blink | |
| 24 | |
| 25 #endif // GeometryInterfaces_h | |
| OLD | NEW |