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

Unified Diff: lib/dom/scripts/systemwrapping.py

Issue 10334003: Rework static method support. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Introducing AddStaticOperation Created 8 years, 8 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 | « lib/dom/scripts/systemnative.py ('k') | lib/dom/src/native_FactoryProvidersImplementation.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/dom/scripts/systemwrapping.py
diff --git a/lib/dom/scripts/systemwrapping.py b/lib/dom/scripts/systemwrapping.py
index 1ba56d567dadd40d9586cef73d08bfe7d156c277..7ec5be45685609c2f15a5e088d801a535b49a3d5 100644
--- a/lib/dom/scripts/systemwrapping.py
+++ b/lib/dom/scripts/systemwrapping.py
@@ -376,7 +376,10 @@ class WrappingInterfaceGenerator(object):
if fallthrough:
body.Emit(' throw "Incorrect number or type of arguments";\n');
- def GenerateSingleOperation(self, emitter, info, indent, operation):
+ def AddStaticOperation(self, info):
+ pass
+
+ def GenerateSingleOperation(self, emitter, info, indent, operation):
"""Generates a call to a single operation.
Arguments:
« no previous file with comments | « lib/dom/scripts/systemnative.py ('k') | lib/dom/src/native_FactoryProvidersImplementation.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698