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

Side by Side Diff: Source/bindings/v8/BlinkInJSController.js

Issue 345893002: Implement an infrastructure of Blink-in-JS Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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.
abarth-chromium 2014/06/20 15:17:43 PrivateScriptController.js ?
haraken 2014/06/23 01:32:55 Renamed all "BlinkInJS" to "PrivateScript".
4 4
5 #include "config.h" 5 "use strict";
6 #include "core/css/Pair.h"
7 6
8 namespace WebCore { 7 var installedClasses = {};
9 8
10 void Pair::trace(Visitor* visitor) 9 function installClass(className, implementation) {
11 { 10 installedClasses[className] = implementation();
12 visitor->trace(m_first);
13 visitor->trace(m_second);
14 } 11 }
15 12
16 } 13 (installedClasses);
arv (Not doing code reviews) 2014/06/20 15:06:22 useless parens... This could use a comment that y
haraken 2014/06/23 01:32:55 Done.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698