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

Unified Diff: sdk/lib/html/dart2js/html_dart2js.dart

Issue 11415076: Removing Window.blur() and Window.focus(). This time for real. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Testing. 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 | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/dart2js/html_dart2js.dart
diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart
index 5c158bf3673d86b8332664bf69aafa1588b10736..c4ae9cf5c67d91e7d94e743cb9decfd4c3c7aace 100644
--- a/sdk/lib/html/dart2js/html_dart2js.dart
+++ b/sdk/lib/html/dart2js/html_dart2js.dart
@@ -12175,9 +12175,6 @@ class LocalWindow extends EventTarget implements Window native "@*DOMWindow" {
/** @domName Window.atob */
String atob(String string) native;
- /** @domName Window.blur */
- void blur() native;
-
/** @domName Window.btoa */
String btoa(String string) native;
@@ -12202,9 +12199,6 @@ class LocalWindow extends EventTarget implements Window native "@*DOMWindow" {
/** @domName Window.find */
bool find(String string, bool caseSensitive, bool backwards, bool wrap, bool wholeWord, bool searchInFrames, bool showDialog) native;
- /** @domName Window.focus */
- void focus() native;
-
/** @domName Window.getComputedStyle */
CSSStyleDeclaration $dom_getComputedStyle(Element element, String pseudoElement) native "getComputedStyle";
@@ -22264,8 +22258,6 @@ abstract class Window {
Window get top;
// Methods.
- void focus();
- void blur();
void close();
void postMessage(var message, String targetOrigin, [List messagePorts = null]);
}
@@ -24608,10 +24600,6 @@ class _DOMWindowCrossFrame implements Window {
Window get top => _createSafe(JS('Window', '#.top', _window));
// Methods.
- void focus() => JS('void', '#.focus()', _window);
-
- void blur() => JS('void', '#.blur()', _window);
-
void close() => JS('void', '#.close()', _window);
void postMessage(var message, String targetOrigin, [List messagePorts = null]) {
« no previous file with comments | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698