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

Side by Side Diff: Source/bindings/core/v8/PrivateScriptRunner.h

Issue 362993004: Implement Blink-in-JS for DOM attributes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
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 PrivateScriptRunner_h 5 #ifndef PrivateScriptRunner_h
6 #define PrivateScriptRunner_h 6 #define PrivateScriptRunner_h
7 7
8 #include "wtf/text/WTFString.h" 8 #include "wtf/text/WTFString.h"
9 #include <v8.h> 9 #include <v8.h>
10 10
11 namespace WebCore { 11 namespace WebCore {
12 12
13 class ScriptState; 13 class ScriptState;
14 14
15 class PrivateScriptRunner { 15 class PrivateScriptRunner {
16 public: 16 public:
17 static v8::Handle<v8::Value> runDOMMethod(ScriptState*, String className, St ring operationName, v8::Handle<v8::Value> holder, int argc, v8::Handle<v8::Value > argv[]); 17 static v8::Handle<v8::Value> runDOMAttributeGetter(ScriptState*, String clas sName, String attributeName, v8::Handle<v8::Value> holder);
18 static void runDOMAttributeSetter(ScriptState*, String className, String att ributeName, v8::Handle<v8::Value> holder, v8::Handle<v8::Value> v8Value);
19 static v8::Handle<v8::Value> runDOMMethod(ScriptState*, String className, St ring methodName, v8::Handle<v8::Value> holder, int argc, v8::Handle<v8::Value> a rgv[]);
18 }; 20 };
19 21
20 } // namespace WebCore 22 } // namespace WebCore
21 23
22 #endif // V8PrivateScriptRunner_h 24 #endif // V8PrivateScriptRunner_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698