| Index: core/testing/Internals.idl
|
| diff --git a/core/testing/Internals.idl b/core/testing/Internals.idl
|
| index 457f3067352b61f08ae90e94ae86190818a70a08..e91ad019f8cd3a5730dbbdeff6e312a35e907695 100644
|
| --- a/core/testing/Internals.idl
|
| +++ b/core/testing/Internals.idl
|
| @@ -25,6 +25,7 @@
|
| */
|
|
|
| [
|
| + DoNotCheckConstants
|
| ] interface Internals {
|
| DOMString address(Node node);
|
|
|
| @@ -76,9 +77,9 @@
|
| [RaisesException] boolean attached(Node node);
|
|
|
| DOMString visiblePlaceholder(Element element);
|
| -#if defined(ENABLE_INPUT_TYPE_COLOR) && ENABLE_INPUT_TYPE_COLOR
|
| +
|
| void selectColorInColorChooser(Element element, DOMString colorValue);
|
| -#endif
|
| +
|
| [RaisesException] DOMString[] formControlStateOfPreviousHistoryItem();
|
| [RaisesException] void setFormControlStateOfPreviousHistoryItem(sequence<DOMString> values);
|
| [RaisesException] void setEnableMockPagePopup(boolean enabled);
|
| @@ -122,9 +123,9 @@
|
| [RaisesException] unsigned long lengthFromRange(Element scope, Range range);
|
| [RaisesException] DOMString rangeAsText(Range range);
|
|
|
| - [RaisesException] DOMPoint touchPositionAdjustedToBestClickableNode(long x, long y, long width, long height, Document document);
|
| + [RaisesException] WebKitPoint touchPositionAdjustedToBestClickableNode(long x, long y, long width, long height, Document document);
|
| [RaisesException] Node touchNodeAdjustedToBestClickableNode(long x, long y, long width, long height, Document document);
|
| - [RaisesException] DOMPoint touchPositionAdjustedToBestContextMenuNode(long x, long y, long width, long height, Document document);
|
| + [RaisesException] WebKitPoint touchPositionAdjustedToBestContextMenuNode(long x, long y, long width, long height, Document document);
|
| [RaisesException] Node touchNodeAdjustedToBestContextMenuNode(long x, long y, long width, long height, Document document);
|
| [RaisesException] ClientRect bestZoomableAreaForTouchPoint(long x, long y, long width, long height, Document document);
|
|
|
| @@ -161,19 +162,19 @@
|
| readonly attribute unsigned long workerThreadCount;
|
|
|
| // Flags for layerTreeAsText.
|
| - const unsigned short LAYER_TREE_INCLUDES_VISIBLE_RECTS = 1;
|
| - const unsigned short LAYER_TREE_INCLUDES_TILE_CACHES = 2;
|
| - const unsigned short LAYER_TREE_INCLUDES_REPAINT_RECTS = 4;
|
| - const unsigned short LAYER_TREE_INCLUDES_PAINTING_PHASES = 8;
|
| + // The values of these constants must be kept in sync with the values of LayerTreeAsTextBehaviorFlags in GraphicsLayerClient.h.
|
| + const unsigned short LAYER_TREE_INCLUDES_REPAINT_RECTS = 2;
|
| + const unsigned short LAYER_TREE_INCLUDES_PAINTING_PHASES = 4;
|
| [RaisesException] DOMString layerTreeAsText(Document document, optional unsigned short flags);
|
| + [RaisesException] DOMString elementLayerTreeAsText(Element element, optional unsigned short flags);
|
|
|
| [RaisesException] NodeList paintOrderListBeforePromote(Element element);
|
| [RaisesException] NodeList paintOrderListAfterPromote(Element element);
|
|
|
| // The values of these constants must be kept in sync with those in RenderLayer.
|
| - const unsigned short DoNotForceCompositedScrolling = 0;
|
| - const unsigned short CompositedScrollingAlwaysOn = 1;
|
| - const unsigned short CompositedScrollingAlwaysOff = 2;
|
| + const unsigned short DO_NOT_FORCE_COMPOSITED_SCROLLING = 0;
|
| + const unsigned short COMPOSITED_SCROLLING_ALWAYS_ON = 1;
|
| + const unsigned short COMPOSITED_SCROLLING_ALWAYS_OFF = 2;
|
| [RaisesException] void setNeedsCompositedScrolling(Element element, unsigned short value);
|
|
|
| [RaisesException] DOMString scrollingStateTreeAsText(Document document);
|
| @@ -189,14 +190,10 @@
|
| void insertAuthorCSS(Document document, DOMString css);
|
| void insertUserCSS(Document document, DOMString css);
|
|
|
| -#if defined(ENABLE_BATTERY_STATUS) && ENABLE_BATTERY_STATUS
|
| - [RaisesException] void setBatteryStatus(Document document, DOMString eventType, boolean charging, double chargingTime, double dischargingTime, double level);
|
| -#endif
|
| -
|
| unsigned long numberOfLiveNodes();
|
| unsigned long numberOfLiveDocuments();
|
| sequence<DOMString> consoleMessageArgumentCounts(Document document);
|
| - DOMWindow openDummyInspectorFrontend(DOMString url);
|
| + Window openDummyInspectorFrontend(DOMString url);
|
| void closeDummyInspectorFrontend();
|
| [RaisesException] void setInspectorResourcesDataSizeLimits(long maximumResourcesContentSize, long maximumSingleResourceContentSize);
|
|
|
| @@ -243,11 +240,11 @@
|
|
|
| void forceReload(boolean endToEnd);
|
|
|
| - [Conditional=ENCRYPTED_MEDIA_V2] void initializeMockCDM();
|
| -
|
| void enableMockSpeechSynthesizer();
|
|
|
| [RaisesException] DOMString getImageSourceURL(Element element);
|
|
|
| boolean isSelectPopupVisible(Node node);
|
| +
|
| + [RaisesException] ClientRect selectionBounds();
|
| };
|
|
|