| 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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 [Replaceable] readonly attribute double pageYOffset; | 131 [Replaceable] readonly attribute double pageYOffset; |
| 132 [RuntimeEnabled=CSSOMSmoothScroll] void scroll(optional ScrollToOptions opti
ons); | 132 [RuntimeEnabled=CSSOMSmoothScroll] void scroll(optional ScrollToOptions opti
ons); |
| 133 void scroll(unrestricted double x, unrestricted double y); | 133 void scroll(unrestricted double x, unrestricted double y); |
| 134 [RuntimeEnabled=CSSOMSmoothScroll] void scrollTo(optional ScrollToOptions op
tions); | 134 [RuntimeEnabled=CSSOMSmoothScroll] void scrollTo(optional ScrollToOptions op
tions); |
| 135 void scrollTo(unrestricted double x, unrestricted double y); | 135 void scrollTo(unrestricted double x, unrestricted double y); |
| 136 [RuntimeEnabled=CSSOMSmoothScroll] void scrollBy(optional ScrollToOptions op
tions); | 136 [RuntimeEnabled=CSSOMSmoothScroll] void scrollBy(optional ScrollToOptions op
tions); |
| 137 void scrollBy(unrestricted double x, unrestricted double y); | 137 void scrollBy(unrestricted double x, unrestricted double y); |
| 138 | 138 |
| 139 // Visual Viewport API | 139 // Visual Viewport API |
| 140 // https://github.com/WICG/ViewportAPI | 140 // https://github.com/WICG/ViewportAPI |
| 141 [RuntimeEnabled=VisualViewportAPI, Replaceable, SameObject] readonly attribu
te VisualViewport? visualViewport; | 141 [RuntimeEnabled=VisualViewportAPI, Replaceable, SameObject] readonly attribu
te VisualViewport? view; |
| 142 | 142 |
| 143 // client | 143 // client |
| 144 [Replaceable] readonly attribute long screenX; | 144 [Replaceable] readonly attribute long screenX; |
| 145 [Replaceable] readonly attribute long screenY; | 145 [Replaceable] readonly attribute long screenY; |
| 146 [Replaceable] readonly attribute long outerWidth; | 146 [Replaceable] readonly attribute long outerWidth; |
| 147 [Replaceable] readonly attribute long outerHeight; | 147 [Replaceable] readonly attribute long outerHeight; |
| 148 [Replaceable] readonly attribute double devicePixelRatio; | 148 [Replaceable] readonly attribute double devicePixelRatio; |
| 149 | 149 |
| 150 // Selection API | 150 // Selection API |
| 151 // https://w3c.github.io/selection-api/#extensions-to-window-interface | 151 // https://w3c.github.io/selection-api/#extensions-to-window-interface |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 218 // FIXME: make this typedef accurate once enough of https://crbug.com/240176 | 218 // FIXME: make this typedef accurate once enough of https://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 |