Index: Source/bindings/core/dart/DartInjectedScriptHostHelper.h |
diff --git a/LICENSE b/Source/bindings/core/dart/DartInjectedScriptHostHelper.h |
similarity index 78% |
copy from LICENSE |
copy to Source/bindings/core/dart/DartInjectedScriptHostHelper.h |
index 70bcb8ad118978579fa055f7ecc99604930900ce..5b2d152e76b9889703af7b545734705517836bc4 100644 |
--- a/LICENSE |
+++ b/Source/bindings/core/dart/DartInjectedScriptHostHelper.h |
@@ -1,7 +1,5 @@ |
-// Copyright 2014 The Chromium Authors. All rights reserved. |
-// |
-// The Chromium Authors can be found at |
-// http://src.chromium.org/svn/trunk/src/AUTHORS |
+// Copyright 2013, Google Inc. |
+// All rights reserved. |
// |
// Redistribution and use in source and binary forms, with or without |
// modification, are permitted provided that the following conditions are |
@@ -28,3 +26,19 @@ |
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
+ |
+#ifndef DartInjectedScriptHostHelper_h |
+#define DartInjectedScriptHostHelper_h |
+ |
+#include <v8.h> |
+ |
+namespace blink { |
+ |
+class DartInjectedScriptHostHelper { |
+public: |
+ static v8::Handle<v8::Value> evaluateIfDartContext(v8::Handle<v8::Object> v8InjectedScriptHost, v8::Handle<v8::String> expression); |
+}; |
+ |
+} |
+ |
+#endif // DartInjectedScriptHostHelper_h |