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 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 // These functions both reset the tracked repaint rects. They are inteded to
be used in the following order: | 227 // These functions both reset the tracked repaint rects. They are inteded to
be used in the following order: |
228 // startTrackingRepaints, repaintRectsAsText, stopTrackingRepaints. | 228 // startTrackingRepaints, repaintRectsAsText, stopTrackingRepaints. |
229 [RaisesException] void startTrackingRepaints(Document document); | 229 [RaisesException] void startTrackingRepaints(Document document); |
230 [RaisesException] void stopTrackingRepaints(Document document); | 230 [RaisesException] void stopTrackingRepaints(Document document); |
231 | 231 |
232 // |node| should be Document, HTMLIFrameElement, or unspecified. | 232 // |node| should be Document, HTMLIFrameElement, or unspecified. |
233 // If |node| is an HTMLIFrameElement, it assumes node.contentDocument is | 233 // If |node| is an HTMLIFrameElement, it assumes node.contentDocument is |
234 // specified without security checks. Unspecified means this document. | 234 // specified without security checks. Unspecified means this document. |
235 [RaisesException] void updateLayoutIgnorePendingStylesheetsAndRunPostLayoutT
asks(optional Node node); | 235 [RaisesException] void updateLayoutIgnorePendingStylesheetsAndRunPostLayoutT
asks(optional Node node); |
236 | 236 |
| 237 [RaisesException] void forceFullRepaint(Document document); |
| 238 |
237 // Returns a list of draggable/non-draggable regions in the document. | 239 // Returns a list of draggable/non-draggable regions in the document. |
238 [RaisesException] ClientRectList draggableRegions(Document document); | 240 [RaisesException] ClientRectList draggableRegions(Document document); |
239 [RaisesException] ClientRectList nonDraggableRegions(Document document); | 241 [RaisesException] ClientRectList nonDraggableRegions(Document document); |
240 | 242 |
241 // Returns a string with information about the mouse cursor used at the spec
ified client location. | 243 // Returns a string with information about the mouse cursor used at the spec
ified client location. |
242 [RaisesException] DOMString getCurrentCursorInfo(Document document); | 244 [RaisesException] DOMString getCurrentCursorInfo(Document document); |
243 | 245 |
244 [RaisesException] DOMString markerTextForListItem(Element element); | 246 [RaisesException] DOMString markerTextForListItem(Element element); |
245 | 247 |
246 [RaisesException] DOMString baseURL(Document document); | 248 [RaisesException] DOMString baseURL(Document document); |
(...skipping 26 matching lines...) Expand all Loading... |
273 | 275 |
274 DOMString textSurroundingNode(Node node, long x, long y, unsigned long maxLe
ngth); | 276 DOMString textSurroundingNode(Node node, long x, long y, unsigned long maxLe
ngth); |
275 | 277 |
276 void setFocused(boolean focused); | 278 void setFocused(boolean focused); |
277 | 279 |
278 // These functions are for testing NetInfo. You must call setNetworkStateNot
ifierTestOnly(true) | 280 // These functions are for testing NetInfo. You must call setNetworkStateNot
ifierTestOnly(true) |
279 // before calling setNetworkConnectionInfo. | 281 // before calling setNetworkConnectionInfo. |
280 void setNetworkStateNotifierTestOnly(boolean testOnly); | 282 void setNetworkStateNotifierTestOnly(boolean testOnly); |
281 [RaisesException] void setNetworkConnectionInfo(DOMString type); | 283 [RaisesException] void setNetworkConnectionInfo(DOMString type); |
282 }; | 284 }; |
OLD | NEW |