Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1077)

Side by Side Diff: testing/Internals.idl

Issue 12893011: Update idl files in third_party/WebCore (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 #if defined(ENABLE_PAGE_POPUP) && ENABLE_PAGE_POPUP 97 #if defined(ENABLE_PAGE_POPUP) && ENABLE_PAGE_POPUP
98 readonly attribute PagePopupController pagePopupController; 98 readonly attribute PagePopupController pagePopupController;
99 #endif 99 #endif
100 100
101 ClientRect absoluteCaretBounds() raises(DOMException); 101 ClientRect absoluteCaretBounds() raises(DOMException);
102 102
103 ClientRect boundingBox(in Element element) raises(DOMException); 103 ClientRect boundingBox(in Element element) raises(DOMException);
104 104
105 ClientRectList inspectorHighlightRects(in Document document) raises (DOMExce ption); 105 ClientRectList inspectorHighlightRects(in Document document) raises (DOMExce ption);
106 106
107 void setBackgroundBlurOnNode(in Node node, in long blurLength) raises(DOMExc eption);
108
109 unsigned long markerCountForNode(in Node node, in DOMString markerType) rais es(DOMException); 107 unsigned long markerCountForNode(in Node node, in DOMString markerType) rais es(DOMException);
110 Range markerRangeForNode(in Node node, in DOMString markerType, in unsigned long index) raises(DOMException); 108 Range markerRangeForNode(in Node node, in DOMString markerType, in unsigned long index) raises(DOMException);
111 DOMString markerDescriptionForNode(in Node node, in DOMString markerType, in unsigned long index) raises(DOMException); 109 DOMString markerDescriptionForNode(in Node node, in DOMString markerType, in unsigned long index) raises(DOMException);
112 void addTextMatchMarker(in Range range, in boolean isActive); 110 void addTextMatchMarker(in Range range, in boolean isActive);
113 111
114 void setScrollViewPosition(in Document document, in long x, in long y) raise s(DOMException); 112 void setScrollViewPosition(in Document document, in long x, in long y) raise s(DOMException);
115 113
116 void setPagination(in Document document, in DOMString mode, in long gap, in [Optional] long pageLength) raises(DOMException); 114 void setPagination(in Document document, in DOMString mode, in long gap, in [Optional] long pageLength) raises(DOMException);
117 115
118 DOMString configurationForViewport(in Document document, 116 DOMString configurationForViewport(in Document document,
119 in float devicePixelRatio, 117 in float devicePixelRatio,
120 in long deviceWidth, 118 in long deviceWidth,
121 in long deviceHeight, 119 in long deviceHeight,
122 in long availableWidth, 120 in long availableWidth,
123 in long availableHeight) raises(DOMExcept ion); 121 in long availableHeight) raises(DOMExcept ion);
124 122
125 boolean wasLastChangeUserEdit(in Element textField) raises (DOMException); 123 boolean wasLastChangeUserEdit(in Element textField) raises (DOMException);
124 boolean elementShouldAutoComplete(in Element inputElement) raises (DOMExcept ion);
126 DOMString suggestedValue(in Element inputElement) raises (DOMException); 125 DOMString suggestedValue(in Element inputElement) raises (DOMException);
127 void setSuggestedValue(in Element inputElement, in DOMString value) raises ( DOMException); 126 void setSuggestedValue(in Element inputElement, in DOMString value) raises ( DOMException);
128 void setEditingValue(in Element inputElement, in DOMString value) raises (DO MException); 127 void setEditingValue(in Element inputElement, in DOMString value) raises (DO MException);
129 void setAutofilled(in Element inputElement, in boolean enabled) raises(DOMEx ception); 128 void setAutofilled(in Element inputElement, in boolean enabled) raises(DOMEx ception);
130 129
131 void paintControlTints(in Document document) raises (DOMException); 130 void paintControlTints(in Document document) raises (DOMException);
132 131
133 void scrollElementToRect(in Element element, in long x, in long y, in long w , in long h) raises (DOMException); 132 void scrollElementToRect(in Element element, in long x, in long y, in long w , in long h) raises (DOMException);
134 133
135 Range rangeFromLocationAndLength(in Element scope, in long rangeLocation, in long rangeLength) raises (DOMException); 134 Range rangeFromLocationAndLength(in Element scope, in long rangeLocation, in long rangeLength) raises (DOMException);
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 172
174 boolean isPageBoxVisible(in Document document, in long pageNumber) raises (D OMException); 173 boolean isPageBoxVisible(in Document document, in long pageNumber) raises (D OMException);
175 174
176 readonly attribute InternalSettings settings; 175 readonly attribute InternalSettings settings;
177 readonly attribute unsigned long workerThreadCount; 176 readonly attribute unsigned long workerThreadCount;
178 177
179 // Flags for layerTreeAsText. 178 // Flags for layerTreeAsText.
180 const unsigned short LAYER_TREE_INCLUDES_VISIBLE_RECTS = 1; 179 const unsigned short LAYER_TREE_INCLUDES_VISIBLE_RECTS = 1;
181 const unsigned short LAYER_TREE_INCLUDES_TILE_CACHES = 2; 180 const unsigned short LAYER_TREE_INCLUDES_TILE_CACHES = 2;
182 const unsigned short LAYER_TREE_INCLUDES_REPAINT_RECTS = 4; 181 const unsigned short LAYER_TREE_INCLUDES_REPAINT_RECTS = 4;
182 const unsigned short LAYER_TREE_INCLUDES_PAINTING_PHASES = 8;
183 DOMString layerTreeAsText(in Document document, in [Optional] unsigned short flags) raises (DOMException); 183 DOMString layerTreeAsText(in Document document, in [Optional] unsigned short flags) raises (DOMException);
184 184
185 DOMString scrollingStateTreeAsText(in Document document) raises (DOMExceptio n); 185 DOMString scrollingStateTreeAsText(in Document document) raises (DOMExceptio n);
186 DOMString mainThreadScrollingReasons(in Document document) raises (DOMExcept ion); 186 DOMString mainThreadScrollingReasons(in Document document) raises (DOMExcept ion);
187 ClientRectList nonFastScrollableRects(in Document document) raises (DOMExcep tion); 187 ClientRectList nonFastScrollableRects(in Document document) raises (DOMExcep tion);
188 188
189 DOMString repaintRectsAsText(in Document document) raises (DOMException); 189 DOMString repaintRectsAsText(in Document document) raises (DOMException);
190 190
191 void garbageCollectDocumentResources(in Document document) raises (DOMExcept ion); 191 void garbageCollectDocumentResources(in Document document) raises (DOMExcept ion);
192 192
(...skipping 17 matching lines...) Expand all
210 [Conditional=INSPECTOR] unsigned long numberOfLiveNodes(); 210 [Conditional=INSPECTOR] unsigned long numberOfLiveNodes();
211 [Conditional=INSPECTOR] unsigned long numberOfLiveDocuments(); 211 [Conditional=INSPECTOR] unsigned long numberOfLiveDocuments();
212 [Conditional=INSPECTOR] sequence<DOMString> consoleMessageArgumentCounts(in Document document); 212 [Conditional=INSPECTOR] sequence<DOMString> consoleMessageArgumentCounts(in Document document);
213 [Conditional=INSPECTOR] DOMWindow openDummyInspectorFrontend(in DOMString ur l); 213 [Conditional=INSPECTOR] DOMWindow openDummyInspectorFrontend(in DOMString ur l);
214 [Conditional=INSPECTOR] void closeDummyInspectorFrontend(); 214 [Conditional=INSPECTOR] void closeDummyInspectorFrontend();
215 [Conditional=INSPECTOR] void setInspectorResourcesDataSizeLimits(in long max imumResourcesContentSize, in long maximumSingleResourceContentSize) raises(DOMEx ception); 215 [Conditional=INSPECTOR] void setInspectorResourcesDataSizeLimits(in long max imumResourcesContentSize, in long maximumSingleResourceContentSize) raises(DOMEx ception);
216 [Conditional=INSPECTOR] void setJavaScriptProfilingEnabled(in boolean create s) raises(DOMException); 216 [Conditional=INSPECTOR] void setJavaScriptProfilingEnabled(in boolean create s) raises(DOMException);
217 217
218 DOMString counterValue(in Element element); 218 DOMString counterValue(in Element element);
219 long pageNumber(in Element element, in [Optional] float pageWidth, in [Optio nal] float pageHeight); 219 long pageNumber(in Element element, in [Optional] float pageWidth, in [Optio nal] float pageHeight);
220 DOMString[] iconURLs(in Document document); 220 DOMString[] shortcutIconURLs(in Document document);
221 DOMString[] allIconURLs(in Document document);
221 long numberOfPages(in [Optional] double pageWidthInPixels, in [Optional] dou ble pageHeightInPixels); 222 long numberOfPages(in [Optional] double pageWidthInPixels, in [Optional] dou ble pageHeightInPixels);
222 DOMString pageProperty(in DOMString propertyName, in long pageNumber) raises (DOMException); 223 DOMString pageProperty(in DOMString propertyName, in long pageNumber) raises (DOMException);
223 DOMString pageSizeAndMarginsInPixels(in long pageIndex, in long width, in lo ng height, in long marginTop, in long marginRight, in long marginBottom, in long marginLeft) raises (DOMException); 224 DOMString pageSizeAndMarginsInPixels(in long pageIndex, in long width, in lo ng height, in long marginTop, in long marginRight, in long marginBottom, in long marginLeft) raises (DOMException);
224 225
225 void setPageScaleFactor(in float scaleFactor, in long x, in long y) raises(D OMException); 226 void setPageScaleFactor(in float scaleFactor, in long x, in long y) raises(D OMException);
226 227
227 #if defined(ENABLE_FULLSCREEN_API) && ENABLE_FULLSCREEN_API 228 #if defined(ENABLE_FULLSCREEN_API) && ENABLE_FULLSCREEN_API
228 void webkitWillEnterFullScreenForElement(in Document document, in Element el ement); 229 void webkitWillEnterFullScreenForElement(in Document document, in Element el ement);
229 void webkitDidEnterFullScreenForElement(in Document document, in Element ele ment); 230 void webkitDidEnterFullScreenForElement(in Document document, in Element ele ment);
230 void webkitWillExitFullScreenForElement(in Document document, in Element ele ment); 231 void webkitWillExitFullScreenForElement(in Document document, in Element ele ment);
(...skipping 16 matching lines...) Expand all
247 // Returns a string with information about the mouse cursor used at the spec ified client location. 248 // Returns a string with information about the mouse cursor used at the spec ified client location.
248 DOMString getCurrentCursorInfo(in Document document) raises (DOMException); 249 DOMString getCurrentCursorInfo(in Document document) raises (DOMException);
249 250
250 DOMString markerTextForListItem(in Element element) raises (DOMException); 251 DOMString markerTextForListItem(in Element element) raises (DOMException);
251 252
252 SerializedScriptValue deserializeBuffer(in ArrayBuffer buffer); 253 SerializedScriptValue deserializeBuffer(in ArrayBuffer buffer);
253 ArrayBuffer serializeObject(in SerializedScriptValue obj); 254 ArrayBuffer serializeObject(in SerializedScriptValue obj);
254 255
255 void setUsesOverlayScrollbars(in boolean enabled); 256 void setUsesOverlayScrollbars(in boolean enabled);
256 257
258 void forceReload(in boolean endToEnd);
259
260 [Conditional=VIDEO] void simulateAudioInterruption(in Node node);
261
257 [Conditional=ENCRYPTED_MEDIA_V2] void initializeMockCDM(); 262 [Conditional=ENCRYPTED_MEDIA_V2] void initializeMockCDM();
258 263
259 [Conditional=SPEECH_SYNTHESIS] void enableMockSpeechSynthesizer(); 264 [Conditional=SPEECH_SYNTHESIS] void enableMockSpeechSynthesizer();
265
266 DOMString getImageSourceURL(in Element element) raises(DOMException);
260 }; 267 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698