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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/PrivateScriptRunner.h

Issue 2571063002: Remove Blink-in-JS (Closed)
Patch Set: Created 4 years 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
Index: third_party/WebKit/Source/bindings/core/v8/PrivateScriptRunner.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/PrivateScriptRunner.h b/third_party/WebKit/Source/bindings/core/v8/PrivateScriptRunner.h
deleted file mode 100644
index a93a873a73a38e6a5eb449907a9d4ca59310cea8..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/bindings/core/v8/PrivateScriptRunner.h
+++ /dev/null
@@ -1,46 +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 PrivateScriptRunner_h
-#define PrivateScriptRunner_h
-
-#include "bindings/core/v8/ExceptionState.h"
-#include "core/CoreExport.h"
-#include "wtf/text/WTFString.h"
-#include <v8.h>
-
-namespace blink {
-
-class Document;
-class ScriptState;
-
-class CORE_EXPORT PrivateScriptRunner {
- STATIC_ONLY(PrivateScriptRunner);
-
- public:
- static v8::Local<v8::Value> installClassIfNeeded(Document*, String className);
- static v8::Local<v8::Value> runDOMAttributeGetter(
- ScriptState*,
- ScriptState* scriptStateInUserScript,
- const char* className,
- const char* attributeName,
- v8::Local<v8::Value> holder);
- static bool runDOMAttributeSetter(ScriptState*,
- ScriptState* scriptStateInUserScript,
- const char* className,
- const char* attributeName,
- v8::Local<v8::Value> holder,
- v8::Local<v8::Value> v8Value);
- static v8::Local<v8::Value> runDOMMethod(ScriptState*,
- ScriptState* scriptStateInUserScript,
- const char* className,
- const char* methodName,
- v8::Local<v8::Value> holder,
- int argc,
- v8::Local<v8::Value> argv[]);
-};
-
-} // namespace blink
-
-#endif // V8PrivateScriptRunner_h

Powered by Google App Engine
This is Rietveld 408576698