| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 interface [ | 27 interface [ |
| 28 OmitConstructor | 28 OmitConstructor |
| 29 ] Internals { | 29 ] Internals { |
| 30 DOMString address(in Node node); | 30 DOMString address(in Node node); |
| 31 | 31 |
| 32 DOMString elementRenderTreeAsText(in Element element) raises(DOMExceptio
n); | 32 DOMString elementRenderTreeAsText(in Element element) raises(DOMExceptio
n); |
| 33 boolean isPreloaded(in Document document, in DOMString url); | 33 boolean isPreloaded(in Document document, in DOMString url); |
| 34 | 34 |
| 35 unsigned long numberOfScopedHTMLStyleChildren(in Node scope) raises(DOME
xception); | 35 unsigned long numberOfScopedHTMLStyleChildren(in Node scope) raises(DOME
xception); |
| 36 | 36 |
| 37 #if defined(ENABLE_SHADOW_DOM) | 37 #if defined(ENABLE_SHADOW_DOM) && ENABLE_SHADOW_DOM |
| 38 ShadowRoot ensureShadowRoot(in Element host) raises (DOMException); | 38 ShadowRoot ensureShadowRoot(in Element host) raises (DOMException); |
| 39 ShadowRoot shadowRoot(in Element host) raises (DOMException); | 39 ShadowRoot shadowRoot(in Element host) raises (DOMException); |
| 40 ShadowRoot youngestShadowRoot(in Element host) raises (DOMException); | 40 ShadowRoot youngestShadowRoot(in Element host) raises (DOMException); |
| 41 ShadowRoot oldestShadowRoot(in Element host) raises (DOMException); | 41 ShadowRoot oldestShadowRoot(in Element host) raises (DOMException); |
| 42 ShadowRoot youngerShadowRoot(in Node root) raises (DOMException); | 42 ShadowRoot youngerShadowRoot(in Node root) raises (DOMException); |
| 43 ShadowRoot olderShadowRoot(in Node root) raises (DOMException); | 43 ShadowRoot olderShadowRoot(in Node root) raises (DOMException); |
| 44 #else | 44 #else |
| 45 Node ensureShadowRoot(in Element host) raises (DOMException); | 45 Node ensureShadowRoot(in Element host) raises (DOMException); |
| 46 Node shadowRoot(in Element host) raises (DOMException); | 46 Node shadowRoot(in Element host) raises (DOMException); |
| 47 Node youngestShadowRoot(in Element host) raises (DOMException); | 47 Node youngestShadowRoot(in Element host) raises (DOMException); |
| 48 Node oldestShadowRoot(in Element host) raises (DOMException); | 48 Node oldestShadowRoot(in Element host) raises (DOMException); |
| 49 Node youngerShadowRoot(in Node root) raises (DOMException); | 49 Node youngerShadowRoot(in Node root) raises (DOMException); |
| 50 #endif | 50 #endif |
| 51 Element includerFor(in Node node) raises (DOMException); | 51 Element includerFor(in Node node) raises (DOMException); |
| 52 DOMString shadowPseudoId(in Element element) raises (DOMException); | 52 DOMString shadowPseudoId(in Element element) raises (DOMException); |
| 53 void setShadowPseudoId(in Element element, in DOMString id) raises (DOME
xception); |
| 53 Element createContentElement(in Document document) raises(DOMException); | 54 Element createContentElement(in Document document) raises(DOMException); |
| 54 Element getElementByIdInShadowRoot(in Node shadowRoot, in DOMString id)
raises(DOMException); | 55 Element getElementByIdInShadowRoot(in Node shadowRoot, in DOMString id)
raises(DOMException); |
| 55 boolean isValidContentSelect(in Element contentElement) raises(DOMExcept
ion); | 56 boolean isValidContentSelect(in Element contentElement) raises(DOMExcept
ion); |
| 56 Node treeScopeRootNode(in Node node) raises (DOMException); | 57 Node treeScopeRootNode(in Node node) raises (DOMException); |
| 57 | 58 |
| 58 Node nextSiblingByWalker(in Node node) raises(DOMException); | 59 Node nextSiblingByWalker(in Node node) raises(DOMException); |
| 59 Node firstChildByWalker(in Node node) raises(DOMException); | 60 Node firstChildByWalker(in Node node) raises(DOMException); |
| 60 Node lastChildByWalker(in Node node) raises(DOMException); | 61 Node lastChildByWalker(in Node node) raises(DOMException); |
| 61 Node nextNodeByWalker(in Node node) raises(DOMException); | 62 Node nextNodeByWalker(in Node node) raises(DOMException); |
| 62 Node previousNodeByWalker(in Node node) raises(DOMException); | 63 Node previousNodeByWalker(in Node node) raises(DOMException); |
| 63 | 64 |
| 64 boolean attached(in Node node) raises(DOMException); | 65 boolean attached(in Node node) raises(DOMException); |
| 65 | 66 |
| 66 DOMString visiblePlaceholder(in Element element); | 67 DOMString visiblePlaceholder(in Element element); |
| 67 #if defined(ENABLE_INPUT_TYPE_COLOR) && ENABLE_INPUT_TYPE_COLOR | 68 #if defined(ENABLE_INPUT_TYPE_COLOR) && ENABLE_INPUT_TYPE_COLOR |
| 68 void selectColorInColorChooser(in Element element, in DOMString colorVal
ue); | 69 void selectColorInColorChooser(in Element element, in DOMString colorVal
ue); |
| 69 #endif | 70 #endif |
| 71 DOMString[] formControlStateOfPreviousHistoryItem() raises(DOMException)
; |
| 72 void setFormControlStateOfPreviousHistoryItem(in DOMString[] values) rai
ses(DOMException); |
| 70 | 73 |
| 71 ClientRect absoluteCaretBounds(in Document document) raises(DOMException
); | 74 ClientRect absoluteCaretBounds(in Document document) raises(DOMException
); |
| 72 | 75 |
| 73 ClientRect boundingBox(in Element element) raises(DOMException); | 76 ClientRect boundingBox(in Element element) raises(DOMException); |
| 74 | 77 |
| 75 ClientRectList inspectorHighlightRects(in Document document) raises (DOM
Exception); | 78 ClientRectList inspectorHighlightRects(in Document document) raises (DOM
Exception); |
| 76 | 79 |
| 77 void setBackgroundBlurOnNode(in Node node, in long blurLength) raises(DO
MException); | 80 void setBackgroundBlurOnNode(in Node node, in long blurLength) raises(DO
MException); |
| 78 | 81 |
| 79 unsigned long markerCountForNode(in Node node, in DOMString markerType)
raises(DOMException); | 82 unsigned long markerCountForNode(in Node node, in DOMString markerType)
raises(DOMException); |
| (...skipping 26 matching lines...) Expand all Loading... |
| 106 #endif | 109 #endif |
| 107 | 110 |
| 108 long lastSpellCheckRequestSequence(in Document document) raises (DOMExce
ption); | 111 long lastSpellCheckRequestSequence(in Document document) raises (DOMExce
ption); |
| 109 long lastSpellCheckProcessedSequence(in Document document) raises (DOMEx
ception); | 112 long lastSpellCheckProcessedSequence(in Document document) raises (DOMEx
ception); |
| 110 | 113 |
| 111 #if defined(ENABLE_VIDEO_TRACK) && ENABLE_VIDEO_TRACK | 114 #if defined(ENABLE_VIDEO_TRACK) && ENABLE_VIDEO_TRACK |
| 112 void setShouldDisplayTrackKind(in Document document, in DOMString kind,
in boolean enabled) raises (DOMException); | 115 void setShouldDisplayTrackKind(in Document document, in DOMString kind,
in boolean enabled) raises (DOMException); |
| 113 boolean shouldDisplayTrackKind(in Document document, in DOMString trackK
ind) raises (DOMException); | 116 boolean shouldDisplayTrackKind(in Document document, in DOMString trackK
ind) raises (DOMException); |
| 114 #endif | 117 #endif |
| 115 | 118 |
| 116 attribute sequence<String> userPreferredLanguages; | 119 sequence<String> userPreferredLanguages(); |
| 120 void setUserPreferredLanguages(in sequence<String> languages); |
| 117 | 121 |
| 118 unsigned long wheelEventHandlerCount(in Document document) raises (DOMEx
ception); | 122 unsigned long wheelEventHandlerCount(in Document document) raises (DOMEx
ception); |
| 119 unsigned long touchEventHandlerCount(in Document document) raises (DOMEx
ception); | 123 unsigned long touchEventHandlerCount(in Document document) raises (DOMEx
ception); |
| 120 | 124 |
| 121 NodeList nodesFromRect(in Document document, in long x, in long y, | 125 NodeList nodesFromRect(in Document document, in long x, in long y, |
| 122 in unsigned long topPadding, in unsigned long rightPadding, in unsig
ned long bottomPadding, in unsigned long leftPadding, | 126 in unsigned long topPadding, in unsigned long rightPadding, in unsig
ned long bottomPadding, in unsigned long leftPadding, |
| 123 in boolean ignoreClipping, in boolean allowShadowContent) raises (DO
MException); | 127 in boolean ignoreClipping, in boolean allowShadowContent) raises (DO
MException); |
| 124 | 128 |
| 125 void emitInspectorDidBeginFrame(); | 129 void emitInspectorDidBeginFrame(); |
| 126 void emitInspectorDidCancelFrame(); | 130 void emitInspectorDidCancelFrame(); |
| (...skipping 17 matching lines...) Expand all Loading... |
| 144 #endif | 148 #endif |
| 145 | 149 |
| 146 #if defined(ENABLE_NETWORK_INFO) && ENABLE_NETWORK_INFO | 150 #if defined(ENABLE_NETWORK_INFO) && ENABLE_NETWORK_INFO |
| 147 void setNetworkInformation(in Document document, in DOMString eventType,
in long bandwidth, in boolean metered) raises (DOMException); | 151 void setNetworkInformation(in Document document, in DOMString eventType,
in long bandwidth, in boolean metered) raises (DOMException); |
| 148 #endif | 152 #endif |
| 149 | 153 |
| 150 [Conditional=INSPECTOR] unsigned long numberOfLiveNodes(); | 154 [Conditional=INSPECTOR] unsigned long numberOfLiveNodes(); |
| 151 [Conditional=INSPECTOR] unsigned long numberOfLiveDocuments(); | 155 [Conditional=INSPECTOR] unsigned long numberOfLiveDocuments(); |
| 152 [Conditional=INSPECTOR] sequence<String> consoleMessageArgumentCounts(in
Document document); | 156 [Conditional=INSPECTOR] sequence<String> consoleMessageArgumentCounts(in
Document document); |
| 153 | 157 |
| 158 DOMString counterValue(in Element element); |
| 159 |
| 154 #if defined(ENABLE_FULLSCREEN_API) && ENABLE_FULLSCREEN_API | 160 #if defined(ENABLE_FULLSCREEN_API) && ENABLE_FULLSCREEN_API |
| 155 void webkitWillEnterFullScreenForElement(in Document document, in Elemen
t element); | 161 void webkitWillEnterFullScreenForElement(in Document document, in Elemen
t element); |
| 156 void webkitDidEnterFullScreenForElement(in Document document, in Element
element); | 162 void webkitDidEnterFullScreenForElement(in Document document, in Element
element); |
| 157 void webkitWillExitFullScreenForElement(in Document document, in Element
element); | 163 void webkitWillExitFullScreenForElement(in Document document, in Element
element); |
| 158 void webkitDidExitFullScreenForElement(in Document document, in Element
element); | 164 void webkitDidExitFullScreenForElement(in Document document, in Element
element); |
| 159 #endif | 165 #endif |
| 160 }; | 166 }; |
| 161 } | 167 } |
| 162 | 168 |
| OLD | NEW |