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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 // Flags for layerTreeAsText. | 170 // Flags for layerTreeAsText. |
171 const unsigned short LAYER_TREE_INCLUDES_VISIBLE_RECTS = 1; | 171 const unsigned short LAYER_TREE_INCLUDES_VISIBLE_RECTS = 1; |
172 const unsigned short LAYER_TREE_INCLUDES_TILE_CACHES = 2; | 172 const unsigned short LAYER_TREE_INCLUDES_TILE_CACHES = 2; |
173 const unsigned short LAYER_TREE_INCLUDES_REPAINT_RECTS = 4; | 173 const unsigned short LAYER_TREE_INCLUDES_REPAINT_RECTS = 4; |
174 const unsigned short LAYER_TREE_INCLUDES_PAINTING_PHASES = 8; | 174 const unsigned short LAYER_TREE_INCLUDES_PAINTING_PHASES = 8; |
175 [RaisesException] DOMString layerTreeAsText(Document document, optional unsi
gned short flags); | 175 [RaisesException] DOMString layerTreeAsText(Document document, optional unsi
gned short flags); |
176 | 176 |
177 [RaisesException] NodeList paintOrderListBeforePromote(Element element); | 177 [RaisesException] NodeList paintOrderListBeforePromote(Element element); |
178 [RaisesException] NodeList paintOrderListAfterPromote(Element element); | 178 [RaisesException] NodeList paintOrderListAfterPromote(Element element); |
179 | 179 |
| 180 // PATCH 1 |
| 181 const unsigned short DoNotForceCompositedScrolling = 0; |
| 182 const unsigned short ForceCompositedScrollingOn = 1; |
| 183 const unsigned short ForceCompositedScrollingOff = 2; |
| 184 [RaisesException] void setNeedsCompositedScrolling(Element element, unsigned
short value); |
| 185 |
180 [RaisesException] DOMString scrollingStateTreeAsText(Document document); | 186 [RaisesException] DOMString scrollingStateTreeAsText(Document document); |
181 [RaisesException] DOMString mainThreadScrollingReasons(Document document); | 187 [RaisesException] DOMString mainThreadScrollingReasons(Document document); |
182 [RaisesException] ClientRectList nonFastScrollableRects(Document document); | 188 [RaisesException] ClientRectList nonFastScrollableRects(Document document); |
183 | 189 |
184 [RaisesException] DOMString repaintRectsAsText(Document document); | 190 [RaisesException] DOMString repaintRectsAsText(Document document); |
185 | 191 |
186 [RaisesException] void garbageCollectDocumentResources(Document document); | 192 [RaisesException] void garbageCollectDocumentResources(Document document); |
187 | 193 |
188 void allowRoundingHacks(); | 194 void allowRoundingHacks(); |
189 | 195 |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
243 void forceReload(boolean endToEnd); | 249 void forceReload(boolean endToEnd); |
244 | 250 |
245 [Conditional=ENCRYPTED_MEDIA_V2] void initializeMockCDM(); | 251 [Conditional=ENCRYPTED_MEDIA_V2] void initializeMockCDM(); |
246 | 252 |
247 [Conditional=SPEECH_SYNTHESIS] void enableMockSpeechSynthesizer(); | 253 [Conditional=SPEECH_SYNTHESIS] void enableMockSpeechSynthesizer(); |
248 | 254 |
249 [RaisesException] DOMString getImageSourceURL(Element element); | 255 [RaisesException] DOMString getImageSourceURL(Element element); |
250 | 256 |
251 boolean isSelectPopupVisible(Node node); | 257 boolean isSelectPopupVisible(Node node); |
252 }; | 258 }; |
OLD | NEW |