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 18 matching lines...) Expand all Loading... |
29 WillBeGarbageCollected, | 29 WillBeGarbageCollected, |
30 ] interface Internals { | 30 ] interface Internals { |
31 DOMString address(Node node); | 31 DOMString address(Node node); |
32 | 32 |
33 GCObservation observeGC(any observed); | 33 GCObservation observeGC(any observed); |
34 | 34 |
35 [RaisesException, TypeChecking=Interface] DOMString elementRenderTreeAsText(
Element element); | 35 [RaisesException, TypeChecking=Interface] DOMString elementRenderTreeAsText(
Element element); |
36 boolean isPreloaded(DOMString url); | 36 boolean isPreloaded(DOMString url); |
37 boolean isLoadingFromMemoryCache(DOMString url); | 37 boolean isLoadingFromMemoryCache(DOMString url); |
38 | 38 |
39 void crash(); | |
40 | |
41 void setStyleResolverStatsEnabled(boolean enabled); | |
42 [RaisesException] DOMString styleResolverStatsReport(); | |
43 [RaisesException] DOMString styleResolverStatsTotalsReport(); | |
44 | |
45 [TypeChecking=Interface] boolean isSharingStyle(Element element1, Element el
ement2); | 39 [TypeChecking=Interface] boolean isSharingStyle(Element element1, Element el
ement2); |
46 | 40 |
47 [TypeChecking=Interface] CSSStyleDeclaration computedStyleIncludingVisitedIn
fo(Node node); | 41 [TypeChecking=Interface] CSSStyleDeclaration computedStyleIncludingVisitedIn
fo(Node node); |
48 | 42 |
49 [TypeChecking=Interface] ShadowRoot shadowRoot(Element host); | 43 [TypeChecking=Interface] ShadowRoot shadowRoot(Element host); |
50 [TypeChecking=Interface] ShadowRoot youngestShadowRoot(Element host); | 44 [TypeChecking=Interface] ShadowRoot youngestShadowRoot(Element host); |
51 [TypeChecking=Interface] ShadowRoot oldestShadowRoot(Element host); | 45 [TypeChecking=Interface] ShadowRoot oldestShadowRoot(Element host); |
52 [RaisesException, TypeChecking=Interface] ShadowRoot youngerShadowRoot(Node
root); | 46 [RaisesException, TypeChecking=Interface] ShadowRoot youngerShadowRoot(Node
root); |
53 | 47 |
54 [RaisesException, TypeChecking=Interface] DOMString shadowRootType(Node root
); | 48 [RaisesException, TypeChecking=Interface] DOMString shadowRootType(Node root
); |
(...skipping 27 matching lines...) Expand all Loading... |
82 | 76 |
83 [TypeChecking=Interface] void selectColorInColorChooser(Element element, DOM
String colorValue); | 77 [TypeChecking=Interface] void selectColorInColorChooser(Element element, DOM
String colorValue); |
84 | 78 |
85 // If the argument is omitted, the top-level document is used. | 79 // If the argument is omitted, the top-level document is used. |
86 boolean hasAutofocusRequest(optional Document document); | 80 boolean hasAutofocusRequest(optional Document document); |
87 [RaisesException] DOMString[] formControlStateOfHistoryItem(); | 81 [RaisesException] DOMString[] formControlStateOfHistoryItem(); |
88 [RaisesException] void setFormControlStateOfHistoryItem(sequence<DOMString>
values); | 82 [RaisesException] void setFormControlStateOfHistoryItem(sequence<DOMString>
values); |
89 [RaisesException] void setEnableMockPagePopup(boolean enabled); | 83 [RaisesException] void setEnableMockPagePopup(boolean enabled); |
90 readonly attribute PagePopupController pagePopupController; | 84 readonly attribute PagePopupController pagePopupController; |
91 | 85 |
92 [RaisesException] ClientRect unscaledViewportRect(); | |
93 | |
94 [RaisesException] ClientRect absoluteCaretBounds(); | 86 [RaisesException] ClientRect absoluteCaretBounds(); |
95 | 87 |
96 [TypeChecking=Interface] ClientRect boundingBox(Element element); | 88 [TypeChecking=Interface] ClientRect boundingBox(Element element); |
97 | 89 |
98 [RaisesException, TypeChecking=Interface] unsigned long markerCountForNode(N
ode node, DOMString markerType); | 90 [RaisesException, TypeChecking=Interface] unsigned long markerCountForNode(N
ode node, DOMString markerType); |
99 [TypeChecking=Interface] unsigned long activeMarkerCountForNode(Node node); | 91 [TypeChecking=Interface] unsigned long activeMarkerCountForNode(Node node); |
100 [RaisesException, TypeChecking=Interface] Range markerRangeForNode(Node node
, DOMString markerType, unsigned long index); | 92 [RaisesException, TypeChecking=Interface] Range markerRangeForNode(Node node
, DOMString markerType, unsigned long index); |
101 [RaisesException, TypeChecking=Interface] DOMString markerDescriptionForNode
(Node node, DOMString markerType, unsigned long index); | 93 [RaisesException, TypeChecking=Interface] DOMString markerDescriptionForNode
(Node node, DOMString markerType, unsigned long index); |
102 [TypeChecking=Interface] void addTextMatchMarker(Range range, boolean isActi
ve); | 94 [TypeChecking=Interface] void addTextMatchMarker(Range range, boolean isActi
ve); |
103 [TypeChecking=Interface] void setMarkersActive(Node node, unsigned long star
tOffset, unsigned long endOffset, boolean active); | 95 [TypeChecking=Interface] void setMarkersActive(Node node, unsigned long star
tOffset, unsigned long endOffset, boolean active); |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
233 | 225 |
234 // Returns a list of draggable/non-draggable regions in the document. | 226 // Returns a list of draggable/non-draggable regions in the document. |
235 [RaisesException, TypeChecking=Interface] ClientRectList draggableRegions(Do
cument document); | 227 [RaisesException, TypeChecking=Interface] ClientRectList draggableRegions(Do
cument document); |
236 [RaisesException, TypeChecking=Interface] ClientRectList nonDraggableRegions
(Document document); | 228 [RaisesException, TypeChecking=Interface] ClientRectList nonDraggableRegions
(Document document); |
237 | 229 |
238 // Returns a string with information about the mouse cursor used at the spec
ified client location. | 230 // Returns a string with information about the mouse cursor used at the spec
ified client location. |
239 [RaisesException, TypeChecking=Interface] DOMString getCurrentCursorInfo(Doc
ument document); | 231 [RaisesException, TypeChecking=Interface] DOMString getCurrentCursorInfo(Doc
ument document); |
240 | 232 |
241 [TypeChecking=Interface] DOMString markerTextForListItem(Element element); | 233 [TypeChecking=Interface] DOMString markerTextForListItem(Element element); |
242 | 234 |
243 [TypeChecking=Interface] DOMString baseURL(Document document); | |
244 | |
245 SerializedScriptValue deserializeBuffer(ArrayBuffer buffer); | 235 SerializedScriptValue deserializeBuffer(ArrayBuffer buffer); |
246 ArrayBuffer serializeObject(SerializedScriptValue obj); | 236 ArrayBuffer serializeObject(SerializedScriptValue obj); |
247 | 237 |
248 void forceReload(boolean endToEnd); | 238 void forceReload(boolean endToEnd); |
249 | 239 |
250 [TypeChecking=Interface] DOMString getImageSourceURL(Element element); | 240 [TypeChecking=Interface] DOMString getImageSourceURL(Element element); |
251 | 241 |
252 [TypeChecking=Interface] boolean isSelectPopupVisible(Node node); | 242 [TypeChecking=Interface] boolean isSelectPopupVisible(Node node); |
253 boolean selectPopupItemStyleIsRtl(Node select, long itemIndex); | 243 boolean selectPopupItemStyleIsRtl(Node select, long itemIndex); |
254 long selectPopupItemStyleFontHeight(Node select, long itemIndex); | 244 long selectPopupItemStyleFontHeight(Node select, long itemIndex); |
(...skipping 26 matching lines...) Expand all Loading... |
281 // These functions are for testing NetInfo. You must call setNetworkStateNot
ifierTestOnly(true) | 271 // These functions are for testing NetInfo. You must call setNetworkStateNot
ifierTestOnly(true) |
282 // before calling setNetworkConnectionInfo. | 272 // before calling setNetworkConnectionInfo. |
283 void setNetworkStateNotifierTestOnly(boolean testOnly); | 273 void setNetworkStateNotifierTestOnly(boolean testOnly); |
284 [RaisesException] void setNetworkConnectionInfo(DOMString type); | 274 [RaisesException] void setNetworkConnectionInfo(DOMString type); |
285 | 275 |
286 // This function is for testing HitRegions on Canvas2D. | 276 // This function is for testing HitRegions on Canvas2D. |
287 unsigned long countHitRegions(CanvasRenderingContext2D context); | 277 unsigned long countHitRegions(CanvasRenderingContext2D context); |
288 | 278 |
289 DOMString serializeNavigationMarkup(Document document); | 279 DOMString serializeNavigationMarkup(Document document); |
290 }; | 280 }; |
OLD | NEW |