summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/WebKit/Source/core/animation/AnimationTestHelper.h
blob: 5d20c7c71528e18a8759ad63123a8b676d7bb75e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright 2014 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 AnimationTestHelper_h
#define AnimationTestHelper_h

#include "wtf/text/WTFString.h"
#include <v8.h>

namespace WebCore {

v8::Handle<v8::Value> stringToV8Value(String);

v8::Handle<v8::Value> doubleToV8Value(double);

void setV8ObjectPropertyAsString(v8::Handle<v8::Object>, String, String);

void setV8ObjectPropertyAsNumber(v8::Handle<v8::Object>, String, double);

} // namespace WebCore

#endif // AnimationTestHelper_h