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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 [Replaceable] readonly attribute double pageYOffset; | 124 [Replaceable] readonly attribute double pageYOffset; |
125 [RuntimeEnabled=CSSOMSmoothScroll] void scroll(optional ScrollToOptions opti
ons); | 125 [RuntimeEnabled=CSSOMSmoothScroll] void scroll(optional ScrollToOptions opti
ons); |
126 void scroll(unrestricted double x, unrestricted double y); | 126 void scroll(unrestricted double x, unrestricted double y); |
127 [RuntimeEnabled=CSSOMSmoothScroll] void scrollTo(optional ScrollToOptions op
tions); | 127 [RuntimeEnabled=CSSOMSmoothScroll] void scrollTo(optional ScrollToOptions op
tions); |
128 void scrollTo(unrestricted double x, unrestricted double y); | 128 void scrollTo(unrestricted double x, unrestricted double y); |
129 [RuntimeEnabled=CSSOMSmoothScroll] void scrollBy(optional ScrollToOptions op
tions); | 129 [RuntimeEnabled=CSSOMSmoothScroll] void scrollBy(optional ScrollToOptions op
tions); |
130 void scrollBy(unrestricted double x, unrestricted double y); | 130 void scrollBy(unrestricted double x, unrestricted double y); |
131 | 131 |
132 // Visual Viewport API | 132 // Visual Viewport API |
133 // https://github.com/WICG/ViewportAPI | 133 // https://github.com/WICG/ViewportAPI |
134 [RuntimeEnabled=VisualViewportAPI] readonly attribute VisualViewport? visual
Viewport; | 134 [RuntimeEnabled=VisualViewportAPI, Replaceable, SameObject] readonly attribu
te VisualViewport? visualViewport; |
135 | 135 |
136 // client | 136 // client |
137 [Replaceable] readonly attribute long screenX; | 137 [Replaceable] readonly attribute long screenX; |
138 [Replaceable] readonly attribute long screenY; | 138 [Replaceable] readonly attribute long screenY; |
139 [Replaceable] readonly attribute long outerWidth; | 139 [Replaceable] readonly attribute long outerWidth; |
140 [Replaceable] readonly attribute long outerHeight; | 140 [Replaceable] readonly attribute long outerHeight; |
141 [Replaceable] readonly attribute double devicePixelRatio; | 141 [Replaceable] readonly attribute double devicePixelRatio; |
142 | 142 |
143 // Selection API | 143 // Selection API |
144 // http://w3c.github.io/selection-api/#extensions-to-window-interface | 144 // http://w3c.github.io/selection-api/#extensions-to-window-interface |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 // FIXME: make this typedef accurate once enough of http://crbug.com/240176 | 209 // FIXME: make this typedef accurate once enough of http://crbug.com/240176 |
210 // is in place. | 210 // is in place. |
211 // FIXME: consider putting this typedef in an .idl file containing spec-wide | 211 // FIXME: consider putting this typedef in an .idl file containing spec-wide |
212 // utility type definitions. | 212 // utility type definitions. |
213 typedef MessagePort Transferable; | 213 typedef MessagePort Transferable; |
214 | 214 |
215 Window implements GlobalEventHandlers; | 215 Window implements GlobalEventHandlers; |
216 Window implements WindowBase64; | 216 Window implements WindowBase64; |
217 Window implements WindowEventHandlers; | 217 Window implements WindowEventHandlers; |
218 Window implements WindowTimers; | 218 Window implements WindowTimers; |
OLD | NEW |