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

Unified Diff: Source/bindings/v8/BlinkInJavaScriptController.js

Issue 138223002: WIP: Implement binding layer for Blink-in-JavaScript Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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 | « Source/bindings/scripts/code_generator_v8.pm ('k') | Source/bindings/v8/DOMWrapperWorld.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/v8/BlinkInJavaScriptController.js
diff --git a/Source/bindings/tests/idls/TestInterfaceDocument.idl b/Source/bindings/v8/BlinkInJavaScriptController.js
similarity index 90%
copy from Source/bindings/tests/idls/TestInterfaceDocument.idl
copy to Source/bindings/v8/BlinkInJavaScriptController.js
index 378d20f6139de33ae5beafaeddfc4a1a93acd548..dcc20645917a9311d35ba2c3bae87512eedebed2 100644
--- a/Source/bindings/tests/idls/TestInterfaceDocument.idl
+++ b/Source/bindings/v8/BlinkInJavaScriptController.js
@@ -28,7 +28,12 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-[
- DependentLifetime, // FIXME: should inherit from Node
-] interface TestInterfaceDocument : Document {
-};
+"use strict";
+
+var installedClasses = {};
+
+function installClass(className, implementation) {
+ installedClasses[className] = implementation();
+}
+
+(installedClasses);
« no previous file with comments | « Source/bindings/scripts/code_generator_v8.pm ('k') | Source/bindings/v8/DOMWrapperWorld.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698