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

Unified Diff: lib/html/doc/interface/Location.dart

Issue 10544064: Add dummy dart:html library for documentation. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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 side-by-side diff with in-line comments
Download patch
Index: lib/html/doc/interface/Location.dart
diff --git a/lib/html/doc/interface/Location.dart b/lib/html/doc/interface/Location.dart
new file mode 100644
index 0000000000000000000000000000000000000000..d723e370c8f660922195d17fcc782bef40341429
--- /dev/null
+++ b/lib/html/doc/interface/Location.dart
@@ -0,0 +1,51 @@
+// Copyright (c) 2012, 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.
+
+// WARNING: Do not edit - generated code.
+
+/// @domName Location
+interface Location {
+
+ /** @domName Location.ancestorOrigins */
+ final List<String> ancestorOrigins;
+
+ /** @domName Location.hash */
+ String hash;
+
+ /** @domName Location.host */
+ String host;
+
+ /** @domName Location.hostname */
+ String hostname;
+
+ /** @domName Location.href */
+ String href;
+
+ /** @domName Location.origin */
+ final String origin;
+
+ /** @domName Location.pathname */
+ String pathname;
+
+ /** @domName Location.port */
+ String port;
+
+ /** @domName Location.protocol */
+ String protocol;
+
+ /** @domName Location.search */
+ String search;
+
+ /** @domName Location.assign */
+ void assign(String url);
+
+ /** @domName Location.reload */
+ void reload();
+
+ /** @domName Location.replace */
+ void replace(String url);
+
+ /** @domName Location.toString */
+ String toString();
+}

Powered by Google App Engine
This is Rietveld 408576698