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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 // Flags for layerTreeAsText. | 162 // Flags for layerTreeAsText. |
163 const unsigned short LAYER_TREE_INCLUDES_VISIBLE_RECTS = 1; | 163 const unsigned short LAYER_TREE_INCLUDES_VISIBLE_RECTS = 1; |
164 const unsigned short LAYER_TREE_INCLUDES_TILE_CACHES = 2; | 164 const unsigned short LAYER_TREE_INCLUDES_TILE_CACHES = 2; |
165 const unsigned short LAYER_TREE_INCLUDES_REPAINT_RECTS = 4; | 165 const unsigned short LAYER_TREE_INCLUDES_REPAINT_RECTS = 4; |
166 const unsigned short LAYER_TREE_INCLUDES_PAINTING_PHASES = 8; | 166 const unsigned short LAYER_TREE_INCLUDES_PAINTING_PHASES = 8; |
167 [RaisesException] DOMString layerTreeAsText(Document document, optional unsi
gned short flags); | 167 [RaisesException] DOMString layerTreeAsText(Document document, optional unsi
gned short flags); |
168 | 168 |
169 [RaisesException] NodeList paintOrderListBeforePromote(Element element); | 169 [RaisesException] NodeList paintOrderListBeforePromote(Element element); |
170 [RaisesException] NodeList paintOrderListAfterPromote(Element element); | 170 [RaisesException] NodeList paintOrderListAfterPromote(Element element); |
171 | 171 |
| 172 // The values of these constants must be kept in sync with those in RenderLa
yer. |
| 173 const unsigned short DoNotForceCompositedScrolling = 0; |
| 174 const unsigned short CompositedScrollingAlwaysOn = 1; |
| 175 const unsigned short CompositedScrollingAlwaysOff = 2; |
| 176 [RaisesException] void setNeedsCompositedScrolling(Element element, unsigned
short value); |
| 177 |
172 [RaisesException] DOMString scrollingStateTreeAsText(Document document); | 178 [RaisesException] DOMString scrollingStateTreeAsText(Document document); |
173 [RaisesException] DOMString mainThreadScrollingReasons(Document document); | 179 [RaisesException] DOMString mainThreadScrollingReasons(Document document); |
174 [RaisesException] ClientRectList nonFastScrollableRects(Document document); | 180 [RaisesException] ClientRectList nonFastScrollableRects(Document document); |
175 | 181 |
176 [RaisesException] DOMString repaintRectsAsText(Document document); | 182 [RaisesException] DOMString repaintRectsAsText(Document document); |
177 | 183 |
178 [RaisesException] void garbageCollectDocumentResources(Document document); | 184 [RaisesException] void garbageCollectDocumentResources(Document document); |
179 | 185 |
180 void allowRoundingHacks(); | 186 void allowRoundingHacks(); |
181 | 187 |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
237 void forceReload(boolean endToEnd); | 243 void forceReload(boolean endToEnd); |
238 | 244 |
239 [Conditional=ENCRYPTED_MEDIA_V2] void initializeMockCDM(); | 245 [Conditional=ENCRYPTED_MEDIA_V2] void initializeMockCDM(); |
240 | 246 |
241 void enableMockSpeechSynthesizer(); | 247 void enableMockSpeechSynthesizer(); |
242 | 248 |
243 [RaisesException] DOMString getImageSourceURL(Element element); | 249 [RaisesException] DOMString getImageSourceURL(Element element); |
244 | 250 |
245 boolean isSelectPopupVisible(Node node); | 251 boolean isSelectPopupVisible(Node node); |
246 }; | 252 }; |
OLD | NEW |