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