| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2011 Google Inc. All rights reserved. | 3 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 [Replaceable] readonly attribute double scrollY; | 94 [Replaceable] readonly attribute double scrollY; |
| 95 readonly attribute double pageXOffset; | 95 readonly attribute double pageXOffset; |
| 96 readonly attribute double pageYOffset; | 96 readonly attribute double pageYOffset; |
| 97 | 97 |
| 98 void scrollBy(double x, double y); | 98 void scrollBy(double x, double y); |
| 99 [RuntimeEnabled=CSSOMSmoothScroll] void scrollBy([Default=Undefined] optiona
l ScrollToOptions scrollToOptions); | 99 [RuntimeEnabled=CSSOMSmoothScroll] void scrollBy([Default=Undefined] optiona
l ScrollToOptions scrollToOptions); |
| 100 void scrollTo(double x, double y); | 100 void scrollTo(double x, double y); |
| 101 [RuntimeEnabled=CSSOMSmoothScroll] void scrollTo([Default=Undefined] optiona
l ScrollToOptions scrollToOptions); | 101 [RuntimeEnabled=CSSOMSmoothScroll] void scrollTo([Default=Undefined] optiona
l ScrollToOptions scrollToOptions); |
| 102 void scroll(double x, double y); | 102 void scroll(double x, double y); |
| 103 [RuntimeEnabled=CSSOMSmoothScroll] void scroll([Default=Undefined] optional
ScrollToOptions scrollOptions); | 103 [RuntimeEnabled=CSSOMSmoothScroll] void scroll([Default=Undefined] optional
ScrollToOptions scrollOptions); |
| 104 void moveBy(optional long x = 0, optional long y = 0); | 104 void moveBy(long x, long y); |
| 105 void moveTo(optional long x, optional long y); // FIXME: Arguments should no
t be optional, or should have defaults. | 105 void moveTo(long x, long y); |
| 106 void resizeBy(optional long x = 0, optional long y = 0); | 106 void resizeBy(long x, long y); |
| 107 void resizeTo(optional long width, optional long height); // FIXME: Argument
s should not be optional, or should have defaults. | 107 void resizeTo(long width, long height); |
| 108 | 108 |
| 109 [DoNotCheckSecurity] readonly attribute boolean closed; | 109 [DoNotCheckSecurity] readonly attribute boolean closed; |
| 110 | 110 |
| 111 [Replaceable, DoNotCheckSecurity] readonly attribute unsigned long length; | 111 [Replaceable, DoNotCheckSecurity] readonly attribute unsigned long length; |
| 112 | 112 |
| 113 attribute DOMString name; | 113 attribute DOMString name; |
| 114 | 114 |
| 115 attribute DOMString status; | 115 attribute DOMString status; |
| 116 [MeasureAs=WindowDefaultStatus] attribute DOMString defaultStatus; | 116 [MeasureAs=WindowDefaultStatus] attribute DOMString defaultStatus; |
| 117 // This attribute is an alias of defaultStatus and is necessary for legacy u
ses. | 117 // This attribute is an alias of defaultStatus and is necessary for legacy u
ses. |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 211 // FIXME: make this typedef accurate once enough of http://crbug.com/240176 | 211 // FIXME: make this typedef accurate once enough of http://crbug.com/240176 |
| 212 // is in place. | 212 // is in place. |
| 213 // FIXME: consider putting this typedef in an .idl file containing spec-wide | 213 // FIXME: consider putting this typedef in an .idl file containing spec-wide |
| 214 // utility type definitions. | 214 // utility type definitions. |
| 215 typedef MessagePort Transferable; | 215 typedef MessagePort Transferable; |
| 216 | 216 |
| 217 Window implements GlobalEventHandlers; | 217 Window implements GlobalEventHandlers; |
| 218 Window implements WindowBase64; | 218 Window implements WindowBase64; |
| 219 Window implements WindowEventHandlers; | 219 Window implements WindowEventHandlers; |
| 220 Window implements WindowTimers; | 220 Window implements WindowTimers; |
| OLD | NEW |