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

Unified Diff: sky/viewer/script/script_runner.h

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/viewer/script/core.sky ('k') | sky/viewer/script/script_runner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/viewer/script/script_runner.h
diff --git a/sky/viewer/script/script_runner.h b/sky/viewer/script/script_runner.h
deleted file mode 100644
index 395ce392b815486afea574383ea70a38483ae7f6..0000000000000000000000000000000000000000
--- a/sky/viewer/script/script_runner.h
+++ /dev/null
@@ -1,38 +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.
-
-#ifndef SKY_VIEWER_SCRIPT_SCRIPT_RUNNER_H_
-#define SKY_VIEWER_SCRIPT_SCRIPT_RUNNER_H_
-
-#include "gin/runner.h"
-
-namespace blink {
-class WebFrame;
-}
-
-namespace sky {
-
-class ScriptRunner : public gin::Runner {
- public:
- ScriptRunner(blink::WebFrame*, v8::Handle<v8::Context> context);
- ~ScriptRunner();
-
- virtual void Run(const std::string& source,
- const std::string& resource_name) override;
- virtual v8::Handle<v8::Value> Call(v8::Handle<v8::Function> function,
- v8::Handle<v8::Value> receiver,
- int argc,
- v8::Handle<v8::Value> argv[]) override;
- virtual gin::ContextHolder* GetContextHolder() override;
-
- private:
- blink::WebFrame* frame_;
- gin::ContextHolder* context_holder_;
-
- DISALLOW_COPY_AND_ASSIGN(ScriptRunner);
-};
-
-} // namespace sky
-
-#endif // SKY_VIEWER_SCRIPT_SCRIPT_RUNNER_H_
« no previous file with comments | « sky/viewer/script/core.sky ('k') | sky/viewer/script/script_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698