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

Side by Side Diff: Source/bindings/dart/custom/DartDOMStringMapCustom.cpp

Issue 23895004: Keep a persistent handle for the bindings classes to avoid repeated lookups that involve performing… (Closed) Base URL: svn://svn.chromium.org/multivm/trunk/webkit
Patch Set: . Created 7 years, 3 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 (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "config.h" 5 #include "config.h"
6 #include "DartDOMStringMap.h" 6 #include "DartDOMStringMap.h"
7 7
8 namespace WebCore { 8 namespace WebCore {
9 9
10 namespace DartDOMStringMapInternal { 10 namespace DartDOMStringMapInternal {
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 if (argumentCount == 2 && name == "DOMStringMap_remove_Callback") 144 if (argumentCount == 2 && name == "DOMStringMap_remove_Callback")
145 return DartDOMStringMapInternal::removeCallback; 145 return DartDOMStringMapInternal::removeCallback;
146 if (argumentCount == 1 && name == "DOMStringMap_getKeys_Callback") 146 if (argumentCount == 1 && name == "DOMStringMap_getKeys_Callback")
147 return DartDOMStringMapInternal::getKeysCallback; 147 return DartDOMStringMapInternal::getKeysCallback;
148 148
149 return 0; 149 return 0;
150 } 150 }
151 151
152 const char* const DartDOMStringMap::dartImplementationClassName = "_DOMStringMap "; 152 const char* const DartDOMStringMap::dartImplementationClassName = "_DOMStringMap ";
153 const char* const DartDOMStringMap::dartImplementationLibraryName = "dart:html"; 153 const char* const DartDOMStringMap::dartImplementationLibraryName = "dart:html";
154 const int DartDOMStringMap::dartClassId = DOMStringMapClassId;
154 } 155 }
OLDNEW
« no previous file with comments | « Source/bindings/dart/custom/DartDOMStringMap.h ('k') | Source/bindings/dart/custom/DartWindowCustom.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698