Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Side by Side Diff: third_party/WebKit/Source/core/animation/AnimationTestHelper.h

Issue 2290523005: Simplify AnimationTestHelper.h (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/animation/AnimationTestHelper.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "wtf/text/StringView.h"
8 #include "wtf/text/WTFString.h" 9 #include "wtf/text/WTFString.h"
9 #include <v8.h> 10 #include <v8.h>
10 11
11 namespace blink { 12 namespace blink {
12 13
13 v8::Local<v8::Value> stringToV8Value(String); 14 void setV8ObjectPropertyAsString(v8::Isolate*, v8::Local<v8::Object>, const Stri ngView& name, const StringView& value);
14 15 void setV8ObjectPropertyAsNumber(v8::Isolate*, v8::Local<v8::Object>, const Stri ngView& name, double value);
15 v8::Local<v8::Value> doubleToV8Value(double);
16
17 void setV8ObjectPropertyAsString(v8::Isolate*, v8::Local<v8::Object>, String, St ring);
18
19 void setV8ObjectPropertyAsNumber(v8::Isolate*, v8::Local<v8::Object>, String, do uble);
20 16
21 } // namespace blink 17 } // namespace blink
22 18
23 #endif // AnimationTestHelper_h 19 #endif // AnimationTestHelper_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/animation/AnimationTestHelper.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698