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

Unified Diff: tools/dom/templates/html/dart2js/chrome_dart2js.darttemplate

Issue 12209045: Initial commit of generated dart:chrome app_window and app_runtime (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Ensuring latest copy is uploaded Created 7 years, 10 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 | « tools/dom/src/chrome/custom_dart/app_window.current.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/templates/html/dart2js/chrome_dart2js.darttemplate
diff --git a/tools/dom/templates/html/dart2js/chrome_dart2js.darttemplate b/tools/dom/templates/html/dart2js/chrome_dart2js.darttemplate
index 56dec809050182bcf114b05a695045042c32597d..1752434f387cb37040c12de4a8f99f693b6f4a79 100644
--- a/tools/dom/templates/html/dart2js/chrome_dart2js.darttemplate
+++ b/tools/dom/templates/html/dart2js/chrome_dart2js.darttemplate
@@ -1,3 +1,4 @@
+
// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
@@ -5,14 +6,24 @@
// DO NOT EDIT
// Auto-generated dart:chrome library.
+/// Native wrappers for the Chrome Packaged App APIs.
+///
+/// These functions allow direct access to the Packaged App APIs, allowing
+/// Chrome Packaged Apps to be written using Dart.
+///
+/// For more information on these APIs, see the Chrome.* APIs Documentation:
+/// http://developer.chrome.com/extensions/api_index.html
library chrome;
import 'dart:_foreign_helper' show JS;
+/* TODO(sashab): Add "show convertDartClosureToJS" once 'show' works. */
+import 'dart:_js_helper';
import 'dart:html_common';
import 'dart:html';
part "$AUXILIARY_DIR/chrome/utils.dart";
part "$AUXILIARY_DIR/chrome/chrome.dart";
-part "$AUXILIARY_DIR/chrome/app.runtime.dart";
-part "$AUXILIARY_DIR/chrome/app.window.dart";
+// Generated files below this line.
+part "$AUXILIARY_DIR/chrome/app_window.dart";
+part "$AUXILIARY_DIR/chrome/app_runtime.dart";
« no previous file with comments | « tools/dom/src/chrome/custom_dart/app_window.current.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698