OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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 AnimationTestHelper_h | 5 #ifndef AnimationTestHelper_h |
6 #define AnimationTestHelper_h | 6 #define AnimationTestHelper_h |
7 | 7 |
| 8 #include <v8.h> |
8 #include "wtf/text/StringView.h" | 9 #include "wtf/text/StringView.h" |
9 #include "wtf/text/WTFString.h" | 10 #include "wtf/text/WTFString.h" |
10 #include <v8.h> | |
11 | 11 |
12 namespace blink { | 12 namespace blink { |
13 | 13 |
14 void setV8ObjectPropertyAsString(v8::Isolate*, | 14 void setV8ObjectPropertyAsString(v8::Isolate*, |
15 v8::Local<v8::Object>, | 15 v8::Local<v8::Object>, |
16 const StringView& name, | 16 const StringView& name, |
17 const StringView& value); | 17 const StringView& value); |
18 void setV8ObjectPropertyAsNumber(v8::Isolate*, | 18 void setV8ObjectPropertyAsNumber(v8::Isolate*, |
19 v8::Local<v8::Object>, | 19 v8::Local<v8::Object>, |
20 const StringView& name, | 20 const StringView& name, |
21 double value); | 21 double value); |
22 | 22 |
23 } // namespace blink | 23 } // namespace blink |
24 | 24 |
25 #endif // AnimationTestHelper_h | 25 #endif // AnimationTestHelper_h |
OLD | NEW |