OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
3 * Copyright (C) 2013 Apple Inc. All rights reserved. | 3 * Copyright (C) 2013 Apple 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 * | 8 * |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 [RaisesException] NodeList paintOrderListAfterPromote(Element element); | 179 [RaisesException] NodeList paintOrderListAfterPromote(Element element); |
180 | 180 |
181 [RaisesException] boolean scrollsWithRespectTo(Element element1, Element ele
ment2); | 181 [RaisesException] boolean scrollsWithRespectTo(Element element1, Element ele
ment2); |
182 | 182 |
183 // The values of these constants must be kept in sync with those in RenderLa
yer. | 183 // The values of these constants must be kept in sync with those in RenderLa
yer. |
184 const unsigned short DO_NOT_FORCE_COMPOSITED_SCROLLING = 0; | 184 const unsigned short DO_NOT_FORCE_COMPOSITED_SCROLLING = 0; |
185 const unsigned short COMPOSITED_SCROLLING_ALWAYS_ON = 1; | 185 const unsigned short COMPOSITED_SCROLLING_ALWAYS_ON = 1; |
186 const unsigned short COMPOSITED_SCROLLING_ALWAYS_OFF = 2; | 186 const unsigned short COMPOSITED_SCROLLING_ALWAYS_OFF = 2; |
187 [RaisesException] void setNeedsCompositedScrolling(Element element, unsigned
short value); | 187 [RaisesException] void setNeedsCompositedScrolling(Element element, unsigned
short value); |
188 | 188 |
| 189 [RaisesException] boolean isScrollParent(Element child, Element parent); |
| 190 [RaisesException] boolean isClipParent(Element child, Element parent); |
| 191 |
| 192 [RaisesException] ClientRect scrollClip(Element element); |
| 193 [RaisesException] ClientRect ancestorScrollClip(Element element); |
| 194 |
189 [RaisesException] DOMString scrollingStateTreeAsText(Document document); | 195 [RaisesException] DOMString scrollingStateTreeAsText(Document document); |
190 [RaisesException] DOMString mainThreadScrollingReasons(Document document); | 196 [RaisesException] DOMString mainThreadScrollingReasons(Document document); |
191 [RaisesException] ClientRectList nonFastScrollableRects(Document document); | 197 [RaisesException] ClientRectList nonFastScrollableRects(Document document); |
192 | 198 |
193 [RaisesException] DOMString repaintRectsAsText(Document document); | 199 [RaisesException] DOMString repaintRectsAsText(Document document); |
194 | 200 |
195 [RaisesException] void garbageCollectDocumentResources(Document document); | 201 [RaisesException] void garbageCollectDocumentResources(Document document); |
196 void evictAllResources(); | 202 void evictAllResources(); |
197 | 203 |
198 void allowRoundingHacks(); | 204 void allowRoundingHacks(); |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
255 void enableMockSpeechSynthesizer(); | 261 void enableMockSpeechSynthesizer(); |
256 | 262 |
257 [RaisesException] DOMString getImageSourceURL(Element element); | 263 [RaisesException] DOMString getImageSourceURL(Element element); |
258 | 264 |
259 boolean isSelectPopupVisible(Node node); | 265 boolean isSelectPopupVisible(Node node); |
260 | 266 |
261 [RaisesException] ClientRect selectionBounds(); | 267 [RaisesException] ClientRect selectionBounds(); |
262 | 268 |
263 boolean loseSharedGraphicsContext3D(); | 269 boolean loseSharedGraphicsContext3D(); |
264 }; | 270 }; |
OLD | NEW |