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 3 // found in the LICENSE file. 4 5 #ifndef AnimationTestHelper_h 6 #define AnimationTestHelper_h 7 8 #include "wtf/text/WTFString.h" 9 #include <v8.h> 10 11 namespace blink { 12 13 v8::Handle<v8::Value> stringToV8Value(String); 14 15 v8::Handle<v8::Value> doubleToV8Value(double); 16 17 void setV8ObjectPropertyAsString(v8::Handle<v8::Object>, String, String); 18 19 void setV8ObjectPropertyAsNumber(v8::Handle<v8::Object>, String, double); 20 21 } // namespace blink 22 23 #endif // AnimationTestHelper_h 24