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

Unified Diff: sky/engine/core/animation/AnimationTestHelper.cpp

Issue 922893002: Merge the Sky Engine changes from the SkyDart branch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/engine/core/animation/AnimationTestHelper.h ('k') | sky/engine/core/animation/AnimationTimeline.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/animation/AnimationTestHelper.cpp
diff --git a/sky/engine/core/animation/AnimationTestHelper.cpp b/sky/engine/core/animation/AnimationTestHelper.cpp
deleted file mode 100644
index 778b6eeb28f7b33aac0284fe20394a74c77b5bc9..0000000000000000000000000000000000000000
--- a/sky/engine/core/animation/AnimationTestHelper.cpp
+++ /dev/null
@@ -1,32 +0,0 @@
-// 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.
-
-#include "sky/engine/config.h"
-#include "sky/engine/core/animation/AnimationTestHelper.h"
-
-#include "sky/engine/bindings/core/v8/V8Binding.h"
-
-namespace blink {
-
-v8::Handle<v8::Value> stringToV8Value(String string)
-{
- return v8::Handle<v8::Value>::Cast(v8String(v8::Isolate::GetCurrent(), string));
-}
-
-v8::Handle<v8::Value> doubleToV8Value(double number)
-{
- return v8::Handle<v8::Value>::Cast(v8::Number::New(v8::Isolate::GetCurrent(), number));
-}
-
-void setV8ObjectPropertyAsString(v8::Handle<v8::Object> object, String name, String value)
-{
- object->Set(stringToV8Value(name), stringToV8Value(value));
-}
-
-void setV8ObjectPropertyAsNumber(v8::Handle<v8::Object> object, String name, double value)
-{
- object->Set(stringToV8Value(name), doubleToV8Value(value));
-}
-
-} // namespace blink
« no previous file with comments | « sky/engine/core/animation/AnimationTestHelper.h ('k') | sky/engine/core/animation/AnimationTimeline.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698