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: sdk/lib/html/src/dart2js_DOMImplementation.dart

Issue 11365019: Merging dart:html interfaces and implementations (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixing merged classes in dartium not compiling under dartc. Created 8 years, 1 month 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 | « sdk/lib/html/src/dart2js_Conversions.dart ('k') | sdk/lib/html/src/dart2js_IDBKeyRangeFactoryProvider.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/src/dart2js_DOMImplementation.dart
diff --git a/sdk/lib/html/src/dart2js_DOMImplementation.dart b/sdk/lib/html/src/dart2js_DOMImplementation.dart
index ca3896f03a1f8f34843a72ccb89207a63cc95695..aca07581c6d68a9c5c3c4269c2a199edf950342d 100644
--- a/sdk/lib/html/src/dart2js_DOMImplementation.dart
+++ b/sdk/lib/html/src/dart2js_DOMImplementation.dart
@@ -3,7 +3,7 @@
// BSD-style license that can be found in the LICENSE file.
// TODO(vsm): Unify with Dartium version.
-class _DOMWindowCrossFrameImpl implements Window {
+class _DOMWindowCrossFrame implements Window {
// Private window. Note, this is a window in another frame, so it
// cannot be typed as "Window" as its prototype is not patched
// properly. Its fields and methods can only be accessed via JavaScript.
@@ -11,9 +11,9 @@ class _DOMWindowCrossFrameImpl implements Window {
// Fields.
History get history =>
- _HistoryCrossFrameImpl._createSafe(JS('History', '#.history', _window));
+ _HistoryCrossFrame._createSafe(JS('History', '#.history', _window));
Location get location =>
- _LocationCrossFrameImpl._createSafe(JS('Location', '#.location', _window));
+ _LocationCrossFrame._createSafe(JS('Location', '#.location', _window));
// TODO(vsm): Add frames to navigate subframes. See 2312.
@@ -41,19 +41,19 @@ class _DOMWindowCrossFrameImpl implements Window {
}
// Implementation support.
- _DOMWindowCrossFrameImpl(this._window);
+ _DOMWindowCrossFrame(this._window);
static Window _createSafe(w) {
if (identical(w, window)) {
return w;
} else {
// TODO(vsm): Cache or implement equality.
- return new _DOMWindowCrossFrameImpl(w);
+ return new _DOMWindowCrossFrame(w);
}
}
}
-class _LocationCrossFrameImpl implements Location {
+class _LocationCrossFrame implements Location {
// Private location. Note, this is a location object in another frame, so it
// cannot be typed as "Location" as its prototype is not patched
// properly. Its fields and methods can only be accessed via JavaScript.
@@ -65,19 +65,19 @@ class _LocationCrossFrameImpl implements Location {
}
// Implementation support.
- _LocationCrossFrameImpl(this._location);
+ _LocationCrossFrame(this._location);
static Location _createSafe(location) {
if (identical(location, window.location)) {
return location;
} else {
// TODO(vsm): Cache or implement equality.
- return new _LocationCrossFrameImpl(location);
+ return new _LocationCrossFrame(location);
}
}
}
-class _HistoryCrossFrameImpl implements History {
+class _HistoryCrossFrame implements History {
// Private history. Note, this is a history object in another frame, so it
// cannot be typed as "History" as its prototype is not patched
// properly. Its fields and methods can only be accessed via JavaScript.
@@ -90,14 +90,14 @@ class _HistoryCrossFrameImpl implements History {
void go(int distance) => JS('void', '#.go(#)', _history, distance);
// Implementation support.
- _HistoryCrossFrameImpl(this._history);
+ _HistoryCrossFrame(this._history);
static History _createSafe(h) {
if (identical(h, window.history)) {
return h;
} else {
// TODO(vsm): Cache or implement equality.
- return new _HistoryCrossFrameImpl(h);
+ return new _HistoryCrossFrame(h);
}
}
}
« no previous file with comments | « sdk/lib/html/src/dart2js_Conversions.dart ('k') | sdk/lib/html/src/dart2js_IDBKeyRangeFactoryProvider.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698