| 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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 const unsigned short LAYER_TREE_INCLUDES_REPAINT_RECTS = 2; | 172 const unsigned short LAYER_TREE_INCLUDES_REPAINT_RECTS = 2; |
| 173 const unsigned short LAYER_TREE_INCLUDES_PAINTING_PHASES = 4; | 173 const unsigned short LAYER_TREE_INCLUDES_PAINTING_PHASES = 4; |
| 174 const unsigned short LAYER_TREE_INCLUDES_ROOT_LAYER = 8; | 174 const unsigned short LAYER_TREE_INCLUDES_ROOT_LAYER = 8; |
| 175 [RaisesException] DOMString layerTreeAsText(Document document, optional unsi
gned short flags); | 175 [RaisesException] DOMString layerTreeAsText(Document document, optional unsi
gned short flags); |
| 176 [RaisesException] DOMString elementLayerTreeAsText(Element element, optional
unsigned short flags); | 176 [RaisesException] DOMString elementLayerTreeAsText(Element element, optional
unsigned short flags); |
| 177 | 177 |
| 178 [RaisesException] NodeList paintOrderListBeforePromote(Element element); | 178 [RaisesException] NodeList paintOrderListBeforePromote(Element element); |
| 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 [RaisesException] boolean isUnclippedDescendant(Element element); |
| 182 | 183 |
| 183 // The values of these constants must be kept in sync with those in RenderLa
yer. | 184 // 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; | 185 const unsigned short DO_NOT_FORCE_COMPOSITED_SCROLLING = 0; |
| 185 const unsigned short COMPOSITED_SCROLLING_ALWAYS_ON = 1; | 186 const unsigned short COMPOSITED_SCROLLING_ALWAYS_ON = 1; |
| 186 const unsigned short COMPOSITED_SCROLLING_ALWAYS_OFF = 2; | 187 const unsigned short COMPOSITED_SCROLLING_ALWAYS_OFF = 2; |
| 187 [RaisesException] void setNeedsCompositedScrolling(Element element, unsigned
short value); | 188 [RaisesException] void setNeedsCompositedScrolling(Element element, unsigned
short value); |
| 188 | 189 |
| 189 [RaisesException] DOMString scrollingStateTreeAsText(Document document); | 190 [RaisesException] DOMString scrollingStateTreeAsText(Document document); |
| 190 [RaisesException] DOMString mainThreadScrollingReasons(Document document); | 191 [RaisesException] DOMString mainThreadScrollingReasons(Document document); |
| 191 [RaisesException] ClientRectList nonFastScrollableRects(Document document); | 192 [RaisesException] ClientRectList nonFastScrollableRects(Document document); |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 // Returns a string with information about the mouse cursor used at the spec
ified client location. | 242 // Returns a string with information about the mouse cursor used at the spec
ified client location. |
| 242 [RaisesException] DOMString getCurrentCursorInfo(Document document); | 243 [RaisesException] DOMString getCurrentCursorInfo(Document document); |
| 243 | 244 |
| 244 [RaisesException] DOMString markerTextForListItem(Element element); | 245 [RaisesException] DOMString markerTextForListItem(Element element); |
| 245 | 246 |
| 246 [RaisesException] DOMString baseURL(Document document); | 247 [RaisesException] DOMString baseURL(Document document); |
| 247 | 248 |
| 248 SerializedScriptValue deserializeBuffer(ArrayBuffer buffer); | 249 SerializedScriptValue deserializeBuffer(ArrayBuffer buffer); |
| 249 ArrayBuffer serializeObject(SerializedScriptValue obj); | 250 ArrayBuffer serializeObject(SerializedScriptValue obj); |
| 250 | 251 |
| 251 void setUsesOverlayScrollbars(boolean enabled); | |
| 252 | |
| 253 void forceReload(boolean endToEnd); | 252 void forceReload(boolean endToEnd); |
| 254 | 253 |
| 255 void enableMockSpeechSynthesizer(); | 254 void enableMockSpeechSynthesizer(); |
| 256 | 255 |
| 257 [RaisesException] DOMString getImageSourceURL(Element element); | 256 [RaisesException] DOMString getImageSourceURL(Element element); |
| 258 | 257 |
| 259 boolean isSelectPopupVisible(Node node); | 258 boolean isSelectPopupVisible(Node node); |
| 260 | 259 |
| 261 [RaisesException] ClientRect selectionBounds(); | 260 [RaisesException] ClientRect selectionBounds(); |
| 262 | 261 |
| 263 boolean loseSharedGraphicsContext3D(); | 262 boolean loseSharedGraphicsContext3D(); |
| 264 }; | 263 }; |
| OLD | NEW |