Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / testing / Internals.idl
index c41b359..1535447 100644 (file)
@@ -26,7 +26,8 @@
 
 [
     DoNotCheckConstants,
-    WillBeGarbageCollected,
+    GarbageCollected,
+    Iterable,
 ] interface Internals {
     DOMString address(Node node);
 
     boolean isPreloaded(DOMString url);
     boolean isLoadingFromMemoryCache(DOMString url);
 
-    void crash();
-
-    void setStyleResolverStatsEnabled(boolean enabled);
-    [RaisesException] DOMString styleResolverStatsReport();
-    [RaisesException] DOMString styleResolverStatsTotalsReport();
-
     [TypeChecking=Interface] boolean isSharingStyle(Element element1, Element element2);
 
     [TypeChecking=Interface] CSSStyleDeclaration computedStyleIncludingVisitedInfo(Node node);
 
-    [TypeChecking=Interface] ShadowRoot createUserAgentShadowRoot(Element host);
-
     [TypeChecking=Interface] ShadowRoot shadowRoot(Element host);
     [TypeChecking=Interface] ShadowRoot youngestShadowRoot(Element host);
     [TypeChecking=Interface] ShadowRoot oldestShadowRoot(Element host);
@@ -58,7 +51,6 @@
     [RaisesException] boolean hasContentElement(Node root);
     [RaisesException, TypeChecking=Interface] unsigned long countElementShadow(Node Root);
     [TypeChecking=Interface] DOMString shadowPseudoId(Element element);
-    [TypeChecking=Interface] void setShadowPseudoId(Element element, DOMString id);
     [RaisesException, TypeChecking=Interface] boolean isValidContentSelect(Element contentElement);
     [TypeChecking=Interface] Node treeScopeRootNode(Node node);
     [TypeChecking=Interface] Node parentTreeScope(Node node);
@@ -83,6 +75,7 @@
     DOMString visiblePlaceholder(Element element);
 
     [TypeChecking=Interface] void selectColorInColorChooser(Element element, DOMString colorValue);
+    [TypeChecking=Interface] void endColorChooser(Element element);
 
     // If the argument is omitted, the top-level document is used.
     boolean hasAutofocusRequest(optional Document document);
@@ -91,8 +84,6 @@
     [RaisesException] void setEnableMockPagePopup(boolean enabled);
     readonly attribute PagePopupController pagePopupController;
 
-    [RaisesException] ClientRect unscaledViewportRect();
-
     [RaisesException] ClientRect absoluteCaretBounds();
 
     [TypeChecking=Interface] ClientRect boundingBox(Element element);
     [TypeChecking=Interface] unsigned long lengthFromRange(Element scope, Range range);
     [TypeChecking=Interface] DOMString rangeAsText(Range range);
 
-    [RaisesException, TypeChecking=Interface] WebKitPoint touchPositionAdjustedToBestClickableNode(long x, long y, long width, long height, Document document);
+    [RaisesException, TypeChecking=Interface] DOMPoint touchPositionAdjustedToBestClickableNode(long x, long y, long width, long height, Document document);
     [RaisesException, TypeChecking=Interface] Node touchNodeAdjustedToBestClickableNode(long x, long y, long width, long height, Document document);
-    [RaisesException, TypeChecking=Interface] WebKitPoint touchPositionAdjustedToBestContextMenuNode(long x, long y, long width, long height, Document document);
+    [RaisesException, TypeChecking=Interface] DOMPoint touchPositionAdjustedToBestContextMenuNode(long x, long y, long width, long height, Document document);
     [RaisesException, TypeChecking=Interface] Node touchNodeAdjustedToBestContextMenuNode(long x, long y, long width, long height, Document document);
     [RaisesException, TypeChecking=Interface] ClientRect bestZoomableAreaForTouchPoint(long x, long y, long width, long height, Document document);
 
         unsigned long topPadding, unsigned long rightPadding, unsigned long bottomPadding, unsigned long leftPadding,
         boolean ignoreClipping, boolean allowChildFrameContent);
 
-    void emitInspectorDidBeginFrame(optional long frameId);
-    void emitInspectorDidCancelFrame();
-
     [TypeChecking=Interface] boolean hasSpellingMarker(Document document, long from, long length);
     [TypeChecking=Interface] boolean hasGrammarMarker(Document document, long from, long length);
     void setContinuousSpellCheckingEnabled(boolean enabled);
 
     void mediaPlayerRequestFullscreen(HTMLMediaElement mediaElement);
     double effectiveMediaVolume(HTMLMediaElement mediaElement);
+    void mediaPlayerRemoteRouteAvailabilityChanged(HTMLMediaElement mediaElement, boolean available);
 
     void registerURLSchemeAsBypassingContentSecurityPolicy(DOMString scheme);
     void removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(DOMString scheme);
 
     [TypeChecking=Interface] DOMString markerTextForListItem(Element element);
 
-    [TypeChecking=Interface] DOMString baseURL(Document document);
-
     SerializedScriptValue deserializeBuffer(ArrayBuffer buffer);
     ArrayBuffer serializeObject(SerializedScriptValue obj);
 
 
     DOMString serializeNavigationMarkup();
     void hideAllTransitionElements();
+
+    [RaisesException, TypeChecking=Interface] void forcePluginPlaceholder(HTMLElement plugin, DOMString htmlSource);
+    [RaisesException, TypeChecking=Interface] void forcePluginPlaceholder(HTMLElement plugin, Dictionary options);
+
+    DictionaryTest dictionaryTest();
 };