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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 [Replaceable, MeasureAs=WindowOffscreenBuffering] readonly attribute boolean
offscreenBuffering; | 84 [Replaceable, MeasureAs=WindowOffscreenBuffering] readonly attribute boolean
offscreenBuffering; |
85 | 85 |
86 [Replaceable] readonly attribute long outerHeight; | 86 [Replaceable] readonly attribute long outerHeight; |
87 [Replaceable] readonly attribute long outerWidth; | 87 [Replaceable] readonly attribute long outerWidth; |
88 [Replaceable] readonly attribute long innerHeight; | 88 [Replaceable] readonly attribute long innerHeight; |
89 [Replaceable] readonly attribute long innerWidth; | 89 [Replaceable] readonly attribute long innerWidth; |
90 [Replaceable] readonly attribute long screenX; | 90 [Replaceable] readonly attribute long screenX; |
91 [Replaceable] readonly attribute long screenY; | 91 [Replaceable] readonly attribute long screenY; |
92 [Replaceable] readonly attribute long screenLeft; | 92 [Replaceable] readonly attribute long screenLeft; |
93 [Replaceable] readonly attribute long screenTop; | 93 [Replaceable] readonly attribute long screenTop; |
94 [Replaceable] readonly attribute long scrollX; | 94 [Replaceable] readonly attribute double scrollX; |
95 [Replaceable] readonly attribute long scrollY; | 95 [Replaceable] readonly attribute double scrollY; |
96 readonly attribute long pageXOffset; | 96 readonly attribute double pageXOffset; |
97 readonly attribute long pageYOffset; | 97 readonly attribute double pageYOffset; |
98 | 98 |
99 // Overloading can be replaced by optional if RuntimeEnabled is removed, by | 99 // Overloading can be replaced by optional if RuntimeEnabled is removed, by |
100 // changing the third argument to *optional* Dictionary scrollOptions | 100 // changing the third argument to *optional* Dictionary scrollOptions |
101 void scrollBy(long x, long y); | 101 void scrollBy(long x, long y); |
102 [RuntimeEnabled=CSSOMSmoothScroll, RaisesException] void scrollBy(long x, lo
ng y, Dictionary scrollOptions); | 102 [RuntimeEnabled=CSSOMSmoothScroll, RaisesException] void scrollBy(long x, lo
ng y, Dictionary scrollOptions); |
103 void scrollTo(long x, long y); | 103 void scrollTo(long x, long y); |
104 [RuntimeEnabled=CSSOMSmoothScroll, RaisesException] void scrollTo(long x, lo
ng y, Dictionary scrollOptions); | 104 [RuntimeEnabled=CSSOMSmoothScroll, RaisesException] void scrollTo(long x, lo
ng y, Dictionary scrollOptions); |
105 void scroll(long x, long y); | 105 void scroll(long x, long y); |
106 [RuntimeEnabled=CSSOMSmoothScroll, RaisesException] void scroll(long x, long
y, Dictionary scrollOptions); | 106 [RuntimeEnabled=CSSOMSmoothScroll, RaisesException] void scroll(long x, long
y, Dictionary scrollOptions); |
107 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. |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 // FIXME: make this typedef accurate once enough of http://crbug.com/240176 | 218 // FIXME: make this typedef accurate once enough of http://crbug.com/240176 |
219 // is in place. | 219 // is in place. |
220 // FIXME: consider putting this typedef in an .idl file containing spec-wide | 220 // FIXME: consider putting this typedef in an .idl file containing spec-wide |
221 // utility type definitions. | 221 // utility type definitions. |
222 typedef MessagePort Transferable; | 222 typedef MessagePort Transferable; |
223 | 223 |
224 Window implements GlobalEventHandlers; | 224 Window implements GlobalEventHandlers; |
225 Window implements WindowBase64; | 225 Window implements WindowBase64; |
226 Window implements WindowEventHandlers; | 226 Window implements WindowEventHandlers; |
227 Window implements WindowTimers; | 227 Window implements WindowTimers; |
OLD | NEW |