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 [Custom] void scrollBy(long x, long y, Dictionary scrollOptions); |
97 void scrollTo(long x, long y); | 97 [Custom] void scrollTo(long x, long y, Dictionary scrollOptions); |
98 void scroll(long x, long y); | 98 [Custom] void scroll(long x, long y, Dictionary scrollOptions); |
99 void moveBy([Default=Undefined] optional float x, [Default=Undefined] option
al float y); // FIXME: this should take longs not floats. | 99 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. | 100 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. | 101 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. | 102 void resizeTo([Default=Undefined] optional float width, [Default=Undefined]
optional float height); // FIXME: this should take longs not floats. |
103 | 103 |
104 [DoNotCheckSecurity] readonly attribute boolean closed; | 104 [DoNotCheckSecurity] readonly attribute boolean closed; |
105 | 105 |
106 [Replaceable, DoNotCheckSecurity] readonly attribute unsigned long length; | 106 [Replaceable, DoNotCheckSecurity] readonly attribute unsigned long length; |
107 | 107 |
108 attribute DOMString name; | 108 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); | 232 [ImplementedAs=anonymousIndexedGetter, NotEnumerable] getter Window(unsigned
long index); |
233 [Custom, NotEnumerable] getter Window (DOMString name); | 233 [Custom, NotEnumerable] getter Window (DOMString name); |
234 }; | 234 }; |
235 | 235 |
236 Window implements GlobalEventHandlers; | 236 Window implements GlobalEventHandlers; |
237 Window implements ImageBitmapFactories; | 237 Window implements ImageBitmapFactories; |
238 Window implements WindowBase64; | 238 Window implements WindowBase64; |
239 Window implements WindowEventHandlers; | 239 Window implements WindowEventHandlers; |
240 Window implements WindowTimers; | 240 Window implements WindowTimers; |
241 | 241 |
OLD | NEW |