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

Unified Diff: third_party/mojo/src/mojo/public/tools/bindings/generators/mojom_js_generator.py

Issue 1019173002: Update mojo sdk to rev 7214b7ec7d27563b2666afad86cf1c5895c56c18 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Keep permission service alive if embedder drops requests Created 5 years, 9 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
Index: third_party/mojo/src/mojo/public/tools/bindings/generators/mojom_js_generator.py
diff --git a/third_party/mojo/src/mojo/public/tools/bindings/generators/mojom_js_generator.py b/third_party/mojo/src/mojo/public/tools/bindings/generators/mojom_js_generator.py
index fd1407e6ee1b9d4cb98075d6b543a613c16d9c79..6b11d7a992cda0db869481a6e1c81164080205a3 100644
--- a/third_party/mojo/src/mojo/public/tools/bindings/generators/mojom_js_generator.py
+++ b/third_party/mojo/src/mojo/public/tools/bindings/generators/mojom_js_generator.py
@@ -342,15 +342,9 @@ class Generator(generator.Generator):
def GenerateAMDModule(self):
return self.GetParameters()
- @UseJinja("js_templates/module.sky.tmpl", filters=js_filters)
- def GenerateHTMLModule(self):
- return self.GetParameters()
-
def GenerateFiles(self, args):
self.Write(self.GenerateAMDModule(),
self.MatchMojomFilePath("%s.js" % self.module.name))
- self.Write(self.GenerateHTMLModule(),
- self.MatchMojomFilePath("%s.sky" % self.module.name))
def GetImports(self):
used_names = set()

Powered by Google App Engine
This is Rietveld 408576698