// Copyright (c) 2011, 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.

interface Window extends EventTarget {

  DOMApplicationCache get applicationCache();

  Navigator get clientInformation();

  void set clientInformation(Navigator value);

  bool get closed();

  Console get console();

  void set console(Console value);

  Crypto get crypto();

  String get defaultStatus();

  void set defaultStatus(String value);

  num get devicePixelRatio();

  void set devicePixelRatio(num value);

  Document get document();

  Event get event();

  void set event(Event value);

  Element get frameElement();

  DOMWindow get frames();

  void set frames(DOMWindow value);

  History get history();

  void set history(History value);

  int get innerHeight();

  void set innerHeight(int value);

  int get innerWidth();

  void set innerWidth(int value);

  int get length();

  void set length(int value);

  Storage get localStorage();

  Location get location();

  void set location(Location value);

  BarInfo get locationbar();

  void set locationbar(BarInfo value);

  BarInfo get menubar();

  void set menubar(BarInfo value);

  String get name();

  void set name(String value);

  Navigator get navigator();

  void set navigator(Navigator value);

  bool get offscreenBuffering();

  void set offscreenBuffering(bool value);

  EventListener get onabort();

  void set onabort(EventListener value);

  EventListener get onbeforeunload();

  void set onbeforeunload(EventListener value);

  EventListener get onblur();

  void set onblur(EventListener value);

  EventListener get oncanplay();

  void set oncanplay(EventListener value);

  EventListener get oncanplaythrough();

  void set oncanplaythrough(EventListener value);

  EventListener get onchange();

  void set onchange(EventListener value);

  EventListener get onclick();

  void set onclick(EventListener value);

  EventListener get oncontextmenu();

  void set oncontextmenu(EventListener value);

  EventListener get ondblclick();

  void set ondblclick(EventListener value);

  EventListener get ondevicemotion();

  void set ondevicemotion(EventListener value);

  EventListener get ondeviceorientation();

  void set ondeviceorientation(EventListener value);

  EventListener get ondrag();

  void set ondrag(EventListener value);

  EventListener get ondragend();

  void set ondragend(EventListener value);

  EventListener get ondragenter();

  void set ondragenter(EventListener value);

  EventListener get ondragleave();

  void set ondragleave(EventListener value);

  EventListener get ondragover();

  void set ondragover(EventListener value);

  EventListener get ondragstart();

  void set ondragstart(EventListener value);

  EventListener get ondrop();

  void set ondrop(EventListener value);

  EventListener get ondurationchange();

  void set ondurationchange(EventListener value);

  EventListener get onemptied();

  void set onemptied(EventListener value);

  EventListener get onended();

  void set onended(EventListener value);

  EventListener get onerror();

  void set onerror(EventListener value);

  EventListener get onfocus();

  void set onfocus(EventListener value);

  EventListener get onhashchange();

  void set onhashchange(EventListener value);

  EventListener get oninput();

  void set oninput(EventListener value);

  EventListener get oninvalid();

  void set oninvalid(EventListener value);

  EventListener get onkeydown();

  void set onkeydown(EventListener value);

  EventListener get onkeypress();

  void set onkeypress(EventListener value);

  EventListener get onkeyup();

  void set onkeyup(EventListener value);

  EventListener get onload();

  void set onload(EventListener value);

  EventListener get onloadeddata();

  void set onloadeddata(EventListener value);

  EventListener get onloadedmetadata();

  void set onloadedmetadata(EventListener value);

  EventListener get onloadstart();

  void set onloadstart(EventListener value);

  EventListener get onmessage();

  void set onmessage(EventListener value);

  EventListener get onmousedown();

  void set onmousedown(EventListener value);

  EventListener get onmousemove();

  void set onmousemove(EventListener value);

  EventListener get onmouseout();

  void set onmouseout(EventListener value);

  EventListener get onmouseover();

  void set onmouseover(EventListener value);

  EventListener get onmouseup();

  void set onmouseup(EventListener value);

  EventListener get onmousewheel();

  void set onmousewheel(EventListener value);

  EventListener get onoffline();

  void set onoffline(EventListener value);

  EventListener get ononline();

  void set ononline(EventListener value);

  EventListener get onpagehide();

  void set onpagehide(EventListener value);

  EventListener get onpageshow();

  void set onpageshow(EventListener value);

  EventListener get onpause();

  void set onpause(EventListener value);

  EventListener get onplay();

  void set onplay(EventListener value);

  EventListener get onplaying();

  void set onplaying(EventListener value);

  EventListener get onpopstate();

  void set onpopstate(EventListener value);

  EventListener get onprogress();

  void set onprogress(EventListener value);

  EventListener get onratechange();

  void set onratechange(EventListener value);

  EventListener get onreset();

  void set onreset(EventListener value);

  EventListener get onresize();

  void set onresize(EventListener value);

  EventListener get onscroll();

  void set onscroll(EventListener value);

  EventListener get onsearch();

  void set onsearch(EventListener value);

  EventListener get onseeked();

  void set onseeked(EventListener value);

  EventListener get onseeking();

  void set onseeking(EventListener value);

  EventListener get onselect();

  void set onselect(EventListener value);

  EventListener get onstalled();

  void set onstalled(EventListener value);

  EventListener get onstorage();

  void set onstorage(EventListener value);

  EventListener get onsubmit();

  void set onsubmit(EventListener value);

  EventListener get onsuspend();

  void set onsuspend(EventListener value);

  EventListener get ontimeupdate();

  void set ontimeupdate(EventListener value);

  EventListener get ontouchcancel();

  void set ontouchcancel(EventListener value);

  EventListener get ontouchend();

  void set ontouchend(EventListener value);

  EventListener get ontouchmove();

  void set ontouchmove(EventListener value);

  EventListener get ontouchstart();

  void set ontouchstart(EventListener value);

  EventListener get onunload();

  void set onunload(EventListener value);

  EventListener get onvolumechange();

  void set onvolumechange(EventListener value);

  EventListener get onwaiting();

  void set onwaiting(EventListener value);

  EventListener get onwebkitanimationend();

  void set onwebkitanimationend(EventListener value);

  EventListener get onwebkitanimationiteration();

  void set onwebkitanimationiteration(EventListener value);

  EventListener get onwebkitanimationstart();

  void set onwebkitanimationstart(EventListener value);

  EventListener get onwebkittransitionend();

  void set onwebkittransitionend(EventListener value);

  DOMWindow get opener();

  void set opener(DOMWindow value);

  int get outerHeight();

  void set outerHeight(int value);

  int get outerWidth();

  void set outerWidth(int value);

  int get pageXOffset();

  int get pageYOffset();

  DOMWindow get parent();

  void set parent(DOMWindow value);

  Performance get performance();

  void set performance(Performance value);

  BarInfo get personalbar();

  void set personalbar(BarInfo value);

  Screen get screen();

  void set screen(Screen value);

  int get screenLeft();

  void set screenLeft(int value);

  int get screenTop();

  void set screenTop(int value);

  int get screenX();

  void set screenX(int value);

  int get screenY();

  void set screenY(int value);

  int get scrollX();

  void set scrollX(int value);

  int get scrollY();

  void set scrollY(int value);

  BarInfo get scrollbars();

  void set scrollbars(BarInfo value);

  DOMWindow get self();

  void set self(DOMWindow value);

  Storage get sessionStorage();

  String get status();

  void set status(String value);

  BarInfo get statusbar();

  void set statusbar(BarInfo value);

  StyleMedia get styleMedia();

  BarInfo get toolbar();

  void set toolbar(BarInfo value);

  DOMWindow get top();

  void set top(DOMWindow value);

  NotificationCenter get webkitNotifications();

  DOMWindow get window();

  void addEventListener(String type, EventListener listener, bool useCapture = null);

  void alert(String message = null);

  String atob(String string = null);

  void blur();

  String btoa(String string = null);

  void captureEvents();

  void clearInterval(int handle = null);

  void clearTimeout(int handle = null);

  void close();

  bool confirm(String message = null);

  FileReader createFileReader();

  WebKitCSSMatrix createWebKitCSSMatrix(String cssValue = null);

  WebKitPoint createWebKitPoint(num x, num y);

  XMLHttpRequest createXMLHttpRequest();

  bool dispatchEvent(Event evt);

  bool find(String string = null, bool caseSensitive = null, bool backwards = null, bool wrap = null, bool wholeWord = null, bool searchInFrames = null, bool showDialog = null);

  void focus();

  CSSStyleDeclaration getComputedStyle(Element element = null, String pseudoElement = null);

  DOMSelection getSelection();

  MediaQueryList matchMedia(String query);

  void moveBy(num x, num y);

  void moveTo(num x, num y);

  DOMWindow open(String url, String name, String options = null);

  void postMessage(String message, var messagePort_OR_targetOrigin, String targetOrigin = null);

  void print();

  String prompt(String message = null, String defaultValue = null);

  void releaseEvents();

  void removeEventListener(String type, EventListener listener, bool useCapture = null);

  void resizeBy(num x, num y);

  void resizeTo(num width, num height);

  void scroll(int x, int y);

  void scrollBy(int x, int y);

  void scrollTo(int x, int y);

  int setInterval(TimeoutHandler handler, int timeout);

  int setTimeout(TimeoutHandler handler = null, int timeout = null);

  Object showModalDialog(String url, Object dialogArgs = null, String featureArgs = null);

  void stop();

  void webkitCancelRequestAnimationFrame(int id);

  WebKitPoint webkitConvertPointFromNodeToPage(Node node = null, WebKitPoint p = null);

  WebKitPoint webkitConvertPointFromPageToNode(Node node = null, WebKitPoint p = null);

  int webkitRequestAnimationFrame(RequestAnimationFrameCallback callback, Element element = null);
}

interface DOMWindow extends Window {
}
