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