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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 [Replaceable] readonly attribute long innerWidth; | 86 [Replaceable] readonly attribute long innerWidth; |
87 [Replaceable] readonly attribute long screenX; | 87 [Replaceable] readonly attribute long screenX; |
88 [Replaceable] readonly attribute long screenY; | 88 [Replaceable] readonly attribute long screenY; |
89 [Replaceable] readonly attribute long screenLeft; | 89 [Replaceable] readonly attribute long screenLeft; |
90 [Replaceable] readonly attribute long screenTop; | 90 [Replaceable] readonly attribute long screenTop; |
91 [Replaceable] readonly attribute long scrollX; | 91 [Replaceable] readonly attribute long scrollX; |
92 [Replaceable] readonly attribute long scrollY; | 92 [Replaceable] readonly attribute long scrollY; |
93 readonly attribute long pageXOffset; | 93 readonly attribute long pageXOffset; |
94 readonly attribute long pageYOffset; | 94 readonly attribute long pageYOffset; |
95 | 95 |
96 void scrollBy(long x, long y); | 96 // FIXME: should be: |
97 void scrollTo(long x, long y); | 97 // void scrollBy(long x, long y); |
98 void scroll(long x, long y); | 98 // [RuntimeEnabled=CSSOMSmoothScroll, RaisesException] void scrollBy(long x,
long y, optional Dictionary scrollOptions); |
| 99 // void scrollTo(long x, long y); |
| 100 // [RuntimeEnabled=CSSOMSmoothScroll, RaisesException] void scrollTo(long x,
long y, optional Dictionary scrollOptions); |
| 101 // void scroll(long x, long y); |
| 102 // [RuntimeEnabled=CSSOMSmoothScroll, RaisesException] void scroll(long x, l
ong y, optional Dictionary scrollOptions); |
| 103 // http://crbug.com/339000 |
| 104 [RaisesException] void scrollBy(long x, long y, optional Dictionary scrollOp
tions); |
| 105 [RaisesException] void scrollTo(long x, long y, optional Dictionary scrollOp
tions); |
| 106 [RaisesException] void scroll(long x, long y, optional Dictionary scrollOpti
ons); |
99 void moveBy([Default=Undefined] optional float x, [Default=Undefined] option
al float y); // FIXME: this should take longs not floats. | 107 void moveBy([Default=Undefined] optional float x, [Default=Undefined] option
al float y); // FIXME: this should take longs not floats. |
100 void moveTo([Default=Undefined] optional float x, [Default=Undefined] option
al float y); // FIXME: this should take longs not floats. | 108 void moveTo([Default=Undefined] optional float x, [Default=Undefined] option
al float y); // FIXME: this should take longs not floats. |
101 void resizeBy([Default=Undefined] optional float x, [Default=Undefined] opti
onal float y); // FIXME: this should take longs not floats. | 109 void resizeBy([Default=Undefined] optional float x, [Default=Undefined] opti
onal float y); // FIXME: this should take longs not floats. |
102 void resizeTo([Default=Undefined] optional float width, [Default=Undefined]
optional float height); // FIXME: this should take longs not floats. | 110 void resizeTo([Default=Undefined] optional float width, [Default=Undefined]
optional float height); // FIXME: this should take longs not floats. |
103 | 111 |
104 [DoNotCheckSecurity] readonly attribute boolean closed; | 112 [DoNotCheckSecurity] readonly attribute boolean closed; |
105 | 113 |
106 [Replaceable, DoNotCheckSecurity] readonly attribute unsigned long length; | 114 [Replaceable, DoNotCheckSecurity] readonly attribute unsigned long length; |
107 | 115 |
108 attribute DOMString name; | 116 attribute DOMString name; |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 [ImplementedAs=anonymousIndexedGetter, NotEnumerable] getter Window(unsigned
long index); | 240 [ImplementedAs=anonymousIndexedGetter, NotEnumerable] getter Window(unsigned
long index); |
233 [Custom, NotEnumerable] getter Window (DOMString name); | 241 [Custom, NotEnumerable] getter Window (DOMString name); |
234 }; | 242 }; |
235 | 243 |
236 Window implements GlobalEventHandlers; | 244 Window implements GlobalEventHandlers; |
237 Window implements ImageBitmapFactories; | 245 Window implements ImageBitmapFactories; |
238 Window implements WindowBase64; | 246 Window implements WindowBase64; |
239 Window implements WindowEventHandlers; | 247 Window implements WindowEventHandlers; |
240 Window implements WindowTimers; | 248 Window implements WindowTimers; |
241 | 249 |
OLD | NEW |