#define ENABLE_OVERLOADING (MIN_VERSION_haskell_gi_overloading(1,0,0) \
&& !defined(__HADDOCK_VERSION__))
module GI.WebKit2WebExtension.Objects.DOMDocument
(
DOMDocument(..) ,
IsDOMDocument ,
toDOMDocument ,
noDOMDocument ,
#if ENABLE_OVERLOADING
DOMDocumentAdoptNodeMethodInfo ,
#endif
dOMDocumentAdoptNode ,
#if ENABLE_OVERLOADING
DOMDocumentCaretRangeFromPointMethodInfo,
#endif
dOMDocumentCaretRangeFromPoint ,
#if ENABLE_OVERLOADING
DOMDocumentCreateAttributeMethodInfo ,
#endif
dOMDocumentCreateAttribute ,
#if ENABLE_OVERLOADING
DOMDocumentCreateAttributeNsMethodInfo ,
#endif
dOMDocumentCreateAttributeNs ,
#if ENABLE_OVERLOADING
DOMDocumentCreateCdataSectionMethodInfo ,
#endif
dOMDocumentCreateCdataSection ,
#if ENABLE_OVERLOADING
DOMDocumentCreateCommentMethodInfo ,
#endif
dOMDocumentCreateComment ,
#if ENABLE_OVERLOADING
DOMDocumentCreateCssStyleDeclarationMethodInfo,
#endif
dOMDocumentCreateCssStyleDeclaration ,
#if ENABLE_OVERLOADING
DOMDocumentCreateDocumentFragmentMethodInfo,
#endif
dOMDocumentCreateDocumentFragment ,
#if ENABLE_OVERLOADING
DOMDocumentCreateElementMethodInfo ,
#endif
dOMDocumentCreateElement ,
#if ENABLE_OVERLOADING
DOMDocumentCreateElementNsMethodInfo ,
#endif
dOMDocumentCreateElementNs ,
#if ENABLE_OVERLOADING
DOMDocumentCreateEntityReferenceMethodInfo,
#endif
dOMDocumentCreateEntityReference ,
#if ENABLE_OVERLOADING
DOMDocumentCreateEventMethodInfo ,
#endif
dOMDocumentCreateEvent ,
#if ENABLE_OVERLOADING
DOMDocumentCreateExpressionMethodInfo ,
#endif
dOMDocumentCreateExpression ,
#if ENABLE_OVERLOADING
DOMDocumentCreateNodeIteratorMethodInfo ,
#endif
dOMDocumentCreateNodeIterator ,
#if ENABLE_OVERLOADING
DOMDocumentCreateNsResolverMethodInfo ,
#endif
dOMDocumentCreateNsResolver ,
#if ENABLE_OVERLOADING
DOMDocumentCreateProcessingInstructionMethodInfo,
#endif
dOMDocumentCreateProcessingInstruction ,
#if ENABLE_OVERLOADING
DOMDocumentCreateRangeMethodInfo ,
#endif
dOMDocumentCreateRange ,
#if ENABLE_OVERLOADING
DOMDocumentCreateTextNodeMethodInfo ,
#endif
dOMDocumentCreateTextNode ,
#if ENABLE_OVERLOADING
DOMDocumentCreateTreeWalkerMethodInfo ,
#endif
dOMDocumentCreateTreeWalker ,
#if ENABLE_OVERLOADING
DOMDocumentElementFromPointMethodInfo ,
#endif
dOMDocumentElementFromPoint ,
#if ENABLE_OVERLOADING
DOMDocumentEvaluateMethodInfo ,
#endif
dOMDocumentEvaluate ,
#if ENABLE_OVERLOADING
DOMDocumentExecCommandMethodInfo ,
#endif
dOMDocumentExecCommand ,
#if ENABLE_OVERLOADING
DOMDocumentExitPointerLockMethodInfo ,
#endif
dOMDocumentExitPointerLock ,
#if ENABLE_OVERLOADING
DOMDocumentGetActiveElementMethodInfo ,
#endif
dOMDocumentGetActiveElement ,
#if ENABLE_OVERLOADING
DOMDocumentGetAnchorsMethodInfo ,
#endif
dOMDocumentGetAnchors ,
#if ENABLE_OVERLOADING
DOMDocumentGetAppletsMethodInfo ,
#endif
dOMDocumentGetApplets ,
#if ENABLE_OVERLOADING
DOMDocumentGetBodyMethodInfo ,
#endif
dOMDocumentGetBody ,
#if ENABLE_OVERLOADING
DOMDocumentGetCharacterSetMethodInfo ,
#endif
dOMDocumentGetCharacterSet ,
#if ENABLE_OVERLOADING
DOMDocumentGetCharsetMethodInfo ,
#endif
dOMDocumentGetCharset ,
#if ENABLE_OVERLOADING
DOMDocumentGetChildElementCountMethodInfo,
#endif
dOMDocumentGetChildElementCount ,
#if ENABLE_OVERLOADING
DOMDocumentGetChildrenMethodInfo ,
#endif
dOMDocumentGetChildren ,
#if ENABLE_OVERLOADING
DOMDocumentGetCompatModeMethodInfo ,
#endif
dOMDocumentGetCompatMode ,
#if ENABLE_OVERLOADING
DOMDocumentGetContentTypeMethodInfo ,
#endif
dOMDocumentGetContentType ,
#if ENABLE_OVERLOADING
DOMDocumentGetCookieMethodInfo ,
#endif
dOMDocumentGetCookie ,
#if ENABLE_OVERLOADING
DOMDocumentGetCurrentScriptMethodInfo ,
#endif
dOMDocumentGetCurrentScript ,
#if ENABLE_OVERLOADING
DOMDocumentGetDefaultCharsetMethodInfo ,
#endif
dOMDocumentGetDefaultCharset ,
#if ENABLE_OVERLOADING
DOMDocumentGetDefaultViewMethodInfo ,
#endif
dOMDocumentGetDefaultView ,
#if ENABLE_OVERLOADING
DOMDocumentGetDesignModeMethodInfo ,
#endif
dOMDocumentGetDesignMode ,
#if ENABLE_OVERLOADING
DOMDocumentGetDirMethodInfo ,
#endif
dOMDocumentGetDir ,
#if ENABLE_OVERLOADING
DOMDocumentGetDoctypeMethodInfo ,
#endif
dOMDocumentGetDoctype ,
#if ENABLE_OVERLOADING
DOMDocumentGetDocumentElementMethodInfo ,
#endif
dOMDocumentGetDocumentElement ,
#if ENABLE_OVERLOADING
DOMDocumentGetDocumentUriMethodInfo ,
#endif
dOMDocumentGetDocumentUri ,
#if ENABLE_OVERLOADING
DOMDocumentGetDomainMethodInfo ,
#endif
dOMDocumentGetDomain ,
#if ENABLE_OVERLOADING
DOMDocumentGetElementByIdMethodInfo ,
#endif
dOMDocumentGetElementById ,
#if ENABLE_OVERLOADING
DOMDocumentGetElementsByClassNameMethodInfo,
#endif
dOMDocumentGetElementsByClassName ,
#if ENABLE_OVERLOADING
DOMDocumentGetElementsByClassNameAsHtmlCollectionMethodInfo,
#endif
dOMDocumentGetElementsByClassNameAsHtmlCollection,
#if ENABLE_OVERLOADING
DOMDocumentGetElementsByNameMethodInfo ,
#endif
dOMDocumentGetElementsByName ,
#if ENABLE_OVERLOADING
DOMDocumentGetElementsByTagNameMethodInfo,
#endif
dOMDocumentGetElementsByTagName ,
#if ENABLE_OVERLOADING
DOMDocumentGetElementsByTagNameAsHtmlCollectionMethodInfo,
#endif
dOMDocumentGetElementsByTagNameAsHtmlCollection,
#if ENABLE_OVERLOADING
DOMDocumentGetElementsByTagNameNsMethodInfo,
#endif
dOMDocumentGetElementsByTagNameNs ,
#if ENABLE_OVERLOADING
DOMDocumentGetElementsByTagNameNsAsHtmlCollectionMethodInfo,
#endif
dOMDocumentGetElementsByTagNameNsAsHtmlCollection,
#if ENABLE_OVERLOADING
DOMDocumentGetEmbedsMethodInfo ,
#endif
dOMDocumentGetEmbeds ,
#if ENABLE_OVERLOADING
DOMDocumentGetFirstElementChildMethodInfo,
#endif
dOMDocumentGetFirstElementChild ,
#if ENABLE_OVERLOADING
DOMDocumentGetFormsMethodInfo ,
#endif
dOMDocumentGetForms ,
#if ENABLE_OVERLOADING
DOMDocumentGetHeadMethodInfo ,
#endif
dOMDocumentGetHead ,
#if ENABLE_OVERLOADING
DOMDocumentGetHiddenMethodInfo ,
#endif
dOMDocumentGetHidden ,
#if ENABLE_OVERLOADING
DOMDocumentGetImagesMethodInfo ,
#endif
dOMDocumentGetImages ,
#if ENABLE_OVERLOADING
DOMDocumentGetImplementationMethodInfo ,
#endif
dOMDocumentGetImplementation ,
#if ENABLE_OVERLOADING
DOMDocumentGetInputEncodingMethodInfo ,
#endif
dOMDocumentGetInputEncoding ,
#if ENABLE_OVERLOADING
DOMDocumentGetLastElementChildMethodInfo,
#endif
dOMDocumentGetLastElementChild ,
#if ENABLE_OVERLOADING
DOMDocumentGetLastModifiedMethodInfo ,
#endif
dOMDocumentGetLastModified ,
#if ENABLE_OVERLOADING
DOMDocumentGetLinksMethodInfo ,
#endif
dOMDocumentGetLinks ,
#if ENABLE_OVERLOADING
DOMDocumentGetOriginMethodInfo ,
#endif
dOMDocumentGetOrigin ,
#if ENABLE_OVERLOADING
DOMDocumentGetOverrideStyleMethodInfo ,
#endif
dOMDocumentGetOverrideStyle ,
#if ENABLE_OVERLOADING
DOMDocumentGetPluginsMethodInfo ,
#endif
dOMDocumentGetPlugins ,
#if ENABLE_OVERLOADING
DOMDocumentGetPointerLockElementMethodInfo,
#endif
dOMDocumentGetPointerLockElement ,
#if ENABLE_OVERLOADING
DOMDocumentGetPreferredStylesheetSetMethodInfo,
#endif
dOMDocumentGetPreferredStylesheetSet ,
#if ENABLE_OVERLOADING
DOMDocumentGetReadyStateMethodInfo ,
#endif
dOMDocumentGetReadyState ,
#if ENABLE_OVERLOADING
DOMDocumentGetReferrerMethodInfo ,
#endif
dOMDocumentGetReferrer ,
#if ENABLE_OVERLOADING
DOMDocumentGetScriptsMethodInfo ,
#endif
dOMDocumentGetScripts ,
#if ENABLE_OVERLOADING
DOMDocumentGetScrollingElementMethodInfo,
#endif
dOMDocumentGetScrollingElement ,
#if ENABLE_OVERLOADING
DOMDocumentGetSelectedStylesheetSetMethodInfo,
#endif
dOMDocumentGetSelectedStylesheetSet ,
#if ENABLE_OVERLOADING
DOMDocumentGetStyleSheetsMethodInfo ,
#endif
dOMDocumentGetStyleSheets ,
#if ENABLE_OVERLOADING
DOMDocumentGetTitleMethodInfo ,
#endif
dOMDocumentGetTitle ,
#if ENABLE_OVERLOADING
DOMDocumentGetUrlMethodInfo ,
#endif
dOMDocumentGetUrl ,
#if ENABLE_OVERLOADING
DOMDocumentGetVisibilityStateMethodInfo ,
#endif
dOMDocumentGetVisibilityState ,
#if ENABLE_OVERLOADING
DOMDocumentGetWebkitCurrentFullscreenElementMethodInfo,
#endif
dOMDocumentGetWebkitCurrentFullscreenElement,
#if ENABLE_OVERLOADING
DOMDocumentGetWebkitFullscreenElementMethodInfo,
#endif
dOMDocumentGetWebkitFullscreenElement ,
#if ENABLE_OVERLOADING
DOMDocumentGetWebkitFullscreenEnabledMethodInfo,
#endif
dOMDocumentGetWebkitFullscreenEnabled ,
#if ENABLE_OVERLOADING
DOMDocumentGetWebkitFullscreenKeyboardInputAllowedMethodInfo,
#endif
dOMDocumentGetWebkitFullscreenKeyboardInputAllowed,
#if ENABLE_OVERLOADING
DOMDocumentGetWebkitIsFullscreenMethodInfo,
#endif
dOMDocumentGetWebkitIsFullscreen ,
#if ENABLE_OVERLOADING
DOMDocumentGetXmlEncodingMethodInfo ,
#endif
dOMDocumentGetXmlEncoding ,
#if ENABLE_OVERLOADING
DOMDocumentGetXmlStandaloneMethodInfo ,
#endif
dOMDocumentGetXmlStandalone ,
#if ENABLE_OVERLOADING
DOMDocumentGetXmlVersionMethodInfo ,
#endif
dOMDocumentGetXmlVersion ,
#if ENABLE_OVERLOADING
DOMDocumentHasFocusMethodInfo ,
#endif
dOMDocumentHasFocus ,
#if ENABLE_OVERLOADING
DOMDocumentImportNodeMethodInfo ,
#endif
dOMDocumentImportNode ,
#if ENABLE_OVERLOADING
DOMDocumentQueryCommandEnabledMethodInfo,
#endif
dOMDocumentQueryCommandEnabled ,
#if ENABLE_OVERLOADING
DOMDocumentQueryCommandIndetermMethodInfo,
#endif
dOMDocumentQueryCommandIndeterm ,
#if ENABLE_OVERLOADING
DOMDocumentQueryCommandStateMethodInfo ,
#endif
dOMDocumentQueryCommandState ,
#if ENABLE_OVERLOADING
DOMDocumentQueryCommandSupportedMethodInfo,
#endif
dOMDocumentQueryCommandSupported ,
#if ENABLE_OVERLOADING
DOMDocumentQueryCommandValueMethodInfo ,
#endif
dOMDocumentQueryCommandValue ,
#if ENABLE_OVERLOADING
DOMDocumentQuerySelectorMethodInfo ,
#endif
dOMDocumentQuerySelector ,
#if ENABLE_OVERLOADING
DOMDocumentQuerySelectorAllMethodInfo ,
#endif
dOMDocumentQuerySelectorAll ,
#if ENABLE_OVERLOADING
DOMDocumentSetBodyMethodInfo ,
#endif
dOMDocumentSetBody ,
#if ENABLE_OVERLOADING
DOMDocumentSetCharsetMethodInfo ,
#endif
dOMDocumentSetCharset ,
#if ENABLE_OVERLOADING
DOMDocumentSetCookieMethodInfo ,
#endif
dOMDocumentSetCookie ,
#if ENABLE_OVERLOADING
DOMDocumentSetDesignModeMethodInfo ,
#endif
dOMDocumentSetDesignMode ,
#if ENABLE_OVERLOADING
DOMDocumentSetDirMethodInfo ,
#endif
dOMDocumentSetDir ,
#if ENABLE_OVERLOADING
DOMDocumentSetDocumentUriMethodInfo ,
#endif
dOMDocumentSetDocumentUri ,
#if ENABLE_OVERLOADING
DOMDocumentSetSelectedStylesheetSetMethodInfo,
#endif
dOMDocumentSetSelectedStylesheetSet ,
#if ENABLE_OVERLOADING
DOMDocumentSetTitleMethodInfo ,
#endif
dOMDocumentSetTitle ,
#if ENABLE_OVERLOADING
DOMDocumentSetXmlStandaloneMethodInfo ,
#endif
dOMDocumentSetXmlStandalone ,
#if ENABLE_OVERLOADING
DOMDocumentSetXmlVersionMethodInfo ,
#endif
dOMDocumentSetXmlVersion ,
#if ENABLE_OVERLOADING
DOMDocumentWebkitCancelFullscreenMethodInfo,
#endif
dOMDocumentWebkitCancelFullscreen ,
#if ENABLE_OVERLOADING
DOMDocumentWebkitExitFullscreenMethodInfo,
#endif
dOMDocumentWebkitExitFullscreen ,
#if ENABLE_OVERLOADING
DOMDocumentActiveElementPropertyInfo ,
#endif
#if ENABLE_OVERLOADING
dOMDocumentActiveElement ,
#endif
getDOMDocumentActiveElement ,
#if ENABLE_OVERLOADING
DOMDocumentAnchorsPropertyInfo ,
#endif
#if ENABLE_OVERLOADING
dOMDocumentAnchors ,
#endif
getDOMDocumentAnchors ,
#if ENABLE_OVERLOADING
DOMDocumentAppletsPropertyInfo ,
#endif
#if ENABLE_OVERLOADING
dOMDocumentApplets ,
#endif
getDOMDocumentApplets ,
#if ENABLE_OVERLOADING
DOMDocumentBodyPropertyInfo ,
#endif
#if ENABLE_OVERLOADING
dOMDocumentBody ,
#endif
getDOMDocumentBody ,
#if ENABLE_OVERLOADING
DOMDocumentCharacterSetPropertyInfo ,
#endif
#if ENABLE_OVERLOADING
dOMDocumentCharacterSet ,
#endif
getDOMDocumentCharacterSet ,
#if ENABLE_OVERLOADING
DOMDocumentCharsetPropertyInfo ,
#endif
constructDOMDocumentCharset ,
#if ENABLE_OVERLOADING
dOMDocumentCharset ,
#endif
getDOMDocumentCharset ,
setDOMDocumentCharset ,
#if ENABLE_OVERLOADING
DOMDocumentChildElementCountPropertyInfo,
#endif
#if ENABLE_OVERLOADING
dOMDocumentChildElementCount ,
#endif
getDOMDocumentChildElementCount ,
#if ENABLE_OVERLOADING
DOMDocumentChildrenPropertyInfo ,
#endif
#if ENABLE_OVERLOADING
dOMDocumentChildren ,
#endif
getDOMDocumentChildren ,
#if ENABLE_OVERLOADING
DOMDocumentCompatModePropertyInfo ,
#endif
#if ENABLE_OVERLOADING
dOMDocumentCompatMode ,
#endif
getDOMDocumentCompatMode ,
#if ENABLE_OVERLOADING
DOMDocumentContentTypePropertyInfo ,
#endif
#if ENABLE_OVERLOADING
dOMDocumentContentType ,
#endif
getDOMDocumentContentType ,
#if ENABLE_OVERLOADING
DOMDocumentCookiePropertyInfo ,
#endif
clearDOMDocumentCookie ,
constructDOMDocumentCookie ,
#if ENABLE_OVERLOADING
dOMDocumentCookie ,
#endif
getDOMDocumentCookie ,
setDOMDocumentCookie ,
#if ENABLE_OVERLOADING
DOMDocumentCurrentScriptPropertyInfo ,
#endif
#if ENABLE_OVERLOADING
dOMDocumentCurrentScript ,
#endif
getDOMDocumentCurrentScript ,
#if ENABLE_OVERLOADING
DOMDocumentDefaultViewPropertyInfo ,
#endif
#if ENABLE_OVERLOADING
dOMDocumentDefaultView ,
#endif
getDOMDocumentDefaultView ,
#if ENABLE_OVERLOADING
DOMDocumentDesignModePropertyInfo ,
#endif
constructDOMDocumentDesignMode ,
#if ENABLE_OVERLOADING
dOMDocumentDesignMode ,
#endif
getDOMDocumentDesignMode ,
setDOMDocumentDesignMode ,
#if ENABLE_OVERLOADING
DOMDocumentDirPropertyInfo ,
#endif
constructDOMDocumentDir ,
#if ENABLE_OVERLOADING
dOMDocumentDir ,
#endif
getDOMDocumentDir ,
setDOMDocumentDir ,
#if ENABLE_OVERLOADING
DOMDocumentDoctypePropertyInfo ,
#endif
#if ENABLE_OVERLOADING
dOMDocumentDoctype ,
#endif
getDOMDocumentDoctype ,
#if ENABLE_OVERLOADING
DOMDocumentDocumentElementPropertyInfo ,
#endif
#if ENABLE_OVERLOADING
dOMDocumentDocumentElement ,
#endif
getDOMDocumentDocumentElement ,
#if ENABLE_OVERLOADING
DOMDocumentDocumentUriPropertyInfo ,
#endif
constructDOMDocumentDocumentUri ,
#if ENABLE_OVERLOADING
dOMDocumentDocumentUri ,
#endif
getDOMDocumentDocumentUri ,
setDOMDocumentDocumentUri ,
#if ENABLE_OVERLOADING
DOMDocumentDomainPropertyInfo ,
#endif
#if ENABLE_OVERLOADING
dOMDocumentDomain ,
#endif
getDOMDocumentDomain ,
#if ENABLE_OVERLOADING
DOMDocumentEmbedsPropertyInfo ,
#endif
#if ENABLE_OVERLOADING
dOMDocumentEmbeds ,
#endif
getDOMDocumentEmbeds ,
#if ENABLE_OVERLOADING
DOMDocumentFirstElementChildPropertyInfo,
#endif
#if ENABLE_OVERLOADING
dOMDocumentFirstElementChild ,
#endif
getDOMDocumentFirstElementChild ,
#if ENABLE_OVERLOADING
DOMDocumentFormsPropertyInfo ,
#endif
#if ENABLE_OVERLOADING
dOMDocumentForms ,
#endif
getDOMDocumentForms ,
#if ENABLE_OVERLOADING
DOMDocumentHeadPropertyInfo ,
#endif
#if ENABLE_OVERLOADING
dOMDocumentHead ,
#endif
getDOMDocumentHead ,
#if ENABLE_OVERLOADING
DOMDocumentHiddenPropertyInfo ,
#endif
#if ENABLE_OVERLOADING
dOMDocumentHidden ,
#endif
getDOMDocumentHidden ,
#if ENABLE_OVERLOADING
DOMDocumentImagesPropertyInfo ,
#endif
#if ENABLE_OVERLOADING
dOMDocumentImages ,
#endif
getDOMDocumentImages ,
#if ENABLE_OVERLOADING
DOMDocumentImplementationPropertyInfo ,
#endif
#if ENABLE_OVERLOADING
dOMDocumentImplementation ,
#endif
getDOMDocumentImplementation ,
#if ENABLE_OVERLOADING
DOMDocumentInputEncodingPropertyInfo ,
#endif
#if ENABLE_OVERLOADING
dOMDocumentInputEncoding ,
#endif
getDOMDocumentInputEncoding ,
#if ENABLE_OVERLOADING
DOMDocumentLastElementChildPropertyInfo ,
#endif
#if ENABLE_OVERLOADING
dOMDocumentLastElementChild ,
#endif
getDOMDocumentLastElementChild ,
#if ENABLE_OVERLOADING
DOMDocumentLastModifiedPropertyInfo ,
#endif
#if ENABLE_OVERLOADING
dOMDocumentLastModified ,
#endif
getDOMDocumentLastModified ,
#if ENABLE_OVERLOADING
DOMDocumentLinksPropertyInfo ,
#endif
#if ENABLE_OVERLOADING
dOMDocumentLinks ,
#endif
getDOMDocumentLinks ,
#if ENABLE_OVERLOADING
DOMDocumentOriginPropertyInfo ,
#endif
#if ENABLE_OVERLOADING
dOMDocumentOrigin ,
#endif
getDOMDocumentOrigin ,
#if ENABLE_OVERLOADING
DOMDocumentPluginsPropertyInfo ,
#endif
#if ENABLE_OVERLOADING
dOMDocumentPlugins ,
#endif
getDOMDocumentPlugins ,
#if ENABLE_OVERLOADING
DOMDocumentPointerLockElementPropertyInfo,
#endif
#if ENABLE_OVERLOADING
dOMDocumentPointerLockElement ,
#endif
getDOMDocumentPointerLockElement ,
#if ENABLE_OVERLOADING
DOMDocumentPreferredStylesheetSetPropertyInfo,
#endif
#if ENABLE_OVERLOADING
dOMDocumentPreferredStylesheetSet ,
#endif
getDOMDocumentPreferredStylesheetSet ,
#if ENABLE_OVERLOADING
DOMDocumentReadyStatePropertyInfo ,
#endif
#if ENABLE_OVERLOADING
dOMDocumentReadyState ,
#endif
getDOMDocumentReadyState ,
#if ENABLE_OVERLOADING
DOMDocumentReferrerPropertyInfo ,
#endif
#if ENABLE_OVERLOADING
dOMDocumentReferrer ,
#endif
getDOMDocumentReferrer ,
#if ENABLE_OVERLOADING
DOMDocumentScriptsPropertyInfo ,
#endif
#if ENABLE_OVERLOADING
dOMDocumentScripts ,
#endif
getDOMDocumentScripts ,
#if ENABLE_OVERLOADING
DOMDocumentScrollingElementPropertyInfo ,
#endif
#if ENABLE_OVERLOADING
dOMDocumentScrollingElement ,
#endif
getDOMDocumentScrollingElement ,
#if ENABLE_OVERLOADING
DOMDocumentSelectedStylesheetSetPropertyInfo,
#endif
constructDOMDocumentSelectedStylesheetSet,
#if ENABLE_OVERLOADING
dOMDocumentSelectedStylesheetSet ,
#endif
getDOMDocumentSelectedStylesheetSet ,
setDOMDocumentSelectedStylesheetSet ,
#if ENABLE_OVERLOADING
DOMDocumentStyleSheetsPropertyInfo ,
#endif
#if ENABLE_OVERLOADING
dOMDocumentStyleSheets ,
#endif
getDOMDocumentStyleSheets ,
#if ENABLE_OVERLOADING
DOMDocumentTitlePropertyInfo ,
#endif
constructDOMDocumentTitle ,
#if ENABLE_OVERLOADING
dOMDocumentTitle ,
#endif
getDOMDocumentTitle ,
setDOMDocumentTitle ,
#if ENABLE_OVERLOADING
DOMDocumentUrlPropertyInfo ,
#endif
#if ENABLE_OVERLOADING
dOMDocumentUrl ,
#endif
getDOMDocumentUrl ,
#if ENABLE_OVERLOADING
DOMDocumentVisibilityStatePropertyInfo ,
#endif
#if ENABLE_OVERLOADING
dOMDocumentVisibilityState ,
#endif
getDOMDocumentVisibilityState ,
#if ENABLE_OVERLOADING
DOMDocumentWebkitCurrentFullScreenElementPropertyInfo,
#endif
#if ENABLE_OVERLOADING
dOMDocumentWebkitCurrentFullScreenElement,
#endif
getDOMDocumentWebkitCurrentFullScreenElement,
#if ENABLE_OVERLOADING
DOMDocumentWebkitFullScreenKeyboardInputAllowedPropertyInfo,
#endif
#if ENABLE_OVERLOADING
dOMDocumentWebkitFullScreenKeyboardInputAllowed,
#endif
getDOMDocumentWebkitFullScreenKeyboardInputAllowed,
#if ENABLE_OVERLOADING
DOMDocumentWebkitFullscreenElementPropertyInfo,
#endif
#if ENABLE_OVERLOADING
dOMDocumentWebkitFullscreenElement ,
#endif
getDOMDocumentWebkitFullscreenElement ,
#if ENABLE_OVERLOADING
DOMDocumentWebkitFullscreenEnabledPropertyInfo,
#endif
#if ENABLE_OVERLOADING
dOMDocumentWebkitFullscreenEnabled ,
#endif
getDOMDocumentWebkitFullscreenEnabled ,
#if ENABLE_OVERLOADING
DOMDocumentWebkitIsFullScreenPropertyInfo,
#endif
#if ENABLE_OVERLOADING
dOMDocumentWebkitIsFullScreen ,
#endif
getDOMDocumentWebkitIsFullScreen ,
#if ENABLE_OVERLOADING
DOMDocumentXmlEncodingPropertyInfo ,
#endif
#if ENABLE_OVERLOADING
dOMDocumentXmlEncoding ,
#endif
getDOMDocumentXmlEncoding ,
#if ENABLE_OVERLOADING
DOMDocumentXmlStandalonePropertyInfo ,
#endif
constructDOMDocumentXmlStandalone ,
#if ENABLE_OVERLOADING
dOMDocumentXmlStandalone ,
#endif
getDOMDocumentXmlStandalone ,
setDOMDocumentXmlStandalone ,
#if ENABLE_OVERLOADING
DOMDocumentXmlVersionPropertyInfo ,
#endif
clearDOMDocumentXmlVersion ,
constructDOMDocumentXmlVersion ,
#if ENABLE_OVERLOADING
dOMDocumentXmlVersion ,
#endif
getDOMDocumentXmlVersion ,
setDOMDocumentXmlVersion ,
) where
import Data.GI.Base.ShortPrelude
import qualified Data.GI.Base.ShortPrelude as SP
import qualified Data.GI.Base.Overloading as O
import qualified Prelude as P
import qualified Data.GI.Base.Attributes as GI.Attributes
import qualified Data.GI.Base.ManagedPtr as B.ManagedPtr
import qualified Data.GI.Base.GClosure as B.GClosure
import qualified Data.GI.Base.GError as B.GError
import qualified Data.GI.Base.GVariant as B.GVariant
import qualified Data.GI.Base.GValue as B.GValue
import qualified Data.GI.Base.GParamSpec as B.GParamSpec
import qualified Data.GI.Base.CallStack as B.CallStack
import qualified Data.GI.Base.Properties as B.Properties
import qualified Data.Text as T
import qualified Data.ByteString.Char8 as B
import qualified Data.Map as Map
import qualified Foreign.Ptr as FP
import qualified GHC.OverloadedLabels as OL
import qualified GI.GObject.Objects.Object as GObject.Object
import {-# SOURCE #-} qualified GI.WebKit2WebExtension.Interfaces.DOMEventTarget as WebKit2WebExtension.DOMEventTarget
import {-# SOURCE #-} qualified GI.WebKit2WebExtension.Interfaces.DOMNodeFilter as WebKit2WebExtension.DOMNodeFilter
import {-# SOURCE #-} qualified GI.WebKit2WebExtension.Interfaces.DOMXPathNSResolver as WebKit2WebExtension.DOMXPathNSResolver
import {-# SOURCE #-} qualified GI.WebKit2WebExtension.Objects.DOMAttr as WebKit2WebExtension.DOMAttr
import {-# SOURCE #-} qualified GI.WebKit2WebExtension.Objects.DOMCDATASection as WebKit2WebExtension.DOMCDATASection
import {-# SOURCE #-} qualified GI.WebKit2WebExtension.Objects.DOMCSSStyleDeclaration as WebKit2WebExtension.DOMCSSStyleDeclaration
import {-# SOURCE #-} qualified GI.WebKit2WebExtension.Objects.DOMComment as WebKit2WebExtension.DOMComment
import {-# SOURCE #-} qualified GI.WebKit2WebExtension.Objects.DOMDOMImplementation as WebKit2WebExtension.DOMDOMImplementation
import {-# SOURCE #-} qualified GI.WebKit2WebExtension.Objects.DOMDOMWindow as WebKit2WebExtension.DOMDOMWindow
import {-# SOURCE #-} qualified GI.WebKit2WebExtension.Objects.DOMDocumentFragment as WebKit2WebExtension.DOMDocumentFragment
import {-# SOURCE #-} qualified GI.WebKit2WebExtension.Objects.DOMDocumentType as WebKit2WebExtension.DOMDocumentType
import {-# SOURCE #-} qualified GI.WebKit2WebExtension.Objects.DOMElement as WebKit2WebExtension.DOMElement
import {-# SOURCE #-} qualified GI.WebKit2WebExtension.Objects.DOMEntityReference as WebKit2WebExtension.DOMEntityReference
import {-# SOURCE #-} qualified GI.WebKit2WebExtension.Objects.DOMEvent as WebKit2WebExtension.DOMEvent
import {-# SOURCE #-} qualified GI.WebKit2WebExtension.Objects.DOMHTMLCollection as WebKit2WebExtension.DOMHTMLCollection
import {-# SOURCE #-} qualified GI.WebKit2WebExtension.Objects.DOMHTMLElement as WebKit2WebExtension.DOMHTMLElement
import {-# SOURCE #-} qualified GI.WebKit2WebExtension.Objects.DOMHTMLHeadElement as WebKit2WebExtension.DOMHTMLHeadElement
import {-# SOURCE #-} qualified GI.WebKit2WebExtension.Objects.DOMHTMLScriptElement as WebKit2WebExtension.DOMHTMLScriptElement
import {-# SOURCE #-} qualified GI.WebKit2WebExtension.Objects.DOMNode as WebKit2WebExtension.DOMNode
import {-# SOURCE #-} qualified GI.WebKit2WebExtension.Objects.DOMNodeIterator as WebKit2WebExtension.DOMNodeIterator
import {-# SOURCE #-} qualified GI.WebKit2WebExtension.Objects.DOMNodeList as WebKit2WebExtension.DOMNodeList
import {-# SOURCE #-} qualified GI.WebKit2WebExtension.Objects.DOMObject as WebKit2WebExtension.DOMObject
import {-# SOURCE #-} qualified GI.WebKit2WebExtension.Objects.DOMProcessingInstruction as WebKit2WebExtension.DOMProcessingInstruction
import {-# SOURCE #-} qualified GI.WebKit2WebExtension.Objects.DOMRange as WebKit2WebExtension.DOMRange
import {-# SOURCE #-} qualified GI.WebKit2WebExtension.Objects.DOMStyleSheetList as WebKit2WebExtension.DOMStyleSheetList
import {-# SOURCE #-} qualified GI.WebKit2WebExtension.Objects.DOMText as WebKit2WebExtension.DOMText
import {-# SOURCE #-} qualified GI.WebKit2WebExtension.Objects.DOMTreeWalker as WebKit2WebExtension.DOMTreeWalker
import {-# SOURCE #-} qualified GI.WebKit2WebExtension.Objects.DOMXPathExpression as WebKit2WebExtension.DOMXPathExpression
import {-# SOURCE #-} qualified GI.WebKit2WebExtension.Objects.DOMXPathResult as WebKit2WebExtension.DOMXPathResult
newtype DOMDocument = DOMDocument (ManagedPtr DOMDocument)
foreign import ccall "webkit_dom_document_get_type"
c_webkit_dom_document_get_type :: IO GType
instance GObject DOMDocument where
gobjectType = c_webkit_dom_document_get_type
class (GObject o, O.IsDescendantOf DOMDocument o) => IsDOMDocument o
instance (GObject o, O.IsDescendantOf DOMDocument o) => IsDOMDocument o
instance O.HasParentTypes DOMDocument
type instance O.ParentTypes DOMDocument = '[WebKit2WebExtension.DOMNode.DOMNode, WebKit2WebExtension.DOMObject.DOMObject, GObject.Object.Object, WebKit2WebExtension.DOMEventTarget.DOMEventTarget]
toDOMDocument :: (MonadIO m, IsDOMDocument o) => o -> m DOMDocument
toDOMDocument = liftIO . unsafeCastTo DOMDocument
noDOMDocument :: Maybe DOMDocument
noDOMDocument = Nothing
#if ENABLE_OVERLOADING
type family ResolveDOMDocumentMethod (t :: Symbol) (o :: *) :: * where
ResolveDOMDocumentMethod "addEventListener" o = WebKit2WebExtension.DOMEventTarget.DOMEventTargetAddEventListenerMethodInfo
ResolveDOMDocumentMethod "adoptNode" o = DOMDocumentAdoptNodeMethodInfo
ResolveDOMDocumentMethod "appendChild" o = WebKit2WebExtension.DOMNode.DOMNodeAppendChildMethodInfo
ResolveDOMDocumentMethod "bindProperty" o = GObject.Object.ObjectBindPropertyMethodInfo
ResolveDOMDocumentMethod "bindPropertyFull" o = GObject.Object.ObjectBindPropertyFullMethodInfo
ResolveDOMDocumentMethod "caretRangeFromPoint" o = DOMDocumentCaretRangeFromPointMethodInfo
ResolveDOMDocumentMethod "cloneNodeWithError" o = WebKit2WebExtension.DOMNode.DOMNodeCloneNodeWithErrorMethodInfo
ResolveDOMDocumentMethod "compareDocumentPosition" o = WebKit2WebExtension.DOMNode.DOMNodeCompareDocumentPositionMethodInfo
ResolveDOMDocumentMethod "contains" o = WebKit2WebExtension.DOMNode.DOMNodeContainsMethodInfo
ResolveDOMDocumentMethod "createAttribute" o = DOMDocumentCreateAttributeMethodInfo
ResolveDOMDocumentMethod "createAttributeNs" o = DOMDocumentCreateAttributeNsMethodInfo
ResolveDOMDocumentMethod "createCdataSection" o = DOMDocumentCreateCdataSectionMethodInfo
ResolveDOMDocumentMethod "createComment" o = DOMDocumentCreateCommentMethodInfo
ResolveDOMDocumentMethod "createCssStyleDeclaration" o = DOMDocumentCreateCssStyleDeclarationMethodInfo
ResolveDOMDocumentMethod "createDocumentFragment" o = DOMDocumentCreateDocumentFragmentMethodInfo
ResolveDOMDocumentMethod "createElement" o = DOMDocumentCreateElementMethodInfo
ResolveDOMDocumentMethod "createElementNs" o = DOMDocumentCreateElementNsMethodInfo
ResolveDOMDocumentMethod "createEntityReference" o = DOMDocumentCreateEntityReferenceMethodInfo
ResolveDOMDocumentMethod "createEvent" o = DOMDocumentCreateEventMethodInfo
ResolveDOMDocumentMethod "createExpression" o = DOMDocumentCreateExpressionMethodInfo
ResolveDOMDocumentMethod "createNodeIterator" o = DOMDocumentCreateNodeIteratorMethodInfo
ResolveDOMDocumentMethod "createNsResolver" o = DOMDocumentCreateNsResolverMethodInfo
ResolveDOMDocumentMethod "createProcessingInstruction" o = DOMDocumentCreateProcessingInstructionMethodInfo
ResolveDOMDocumentMethod "createRange" o = DOMDocumentCreateRangeMethodInfo
ResolveDOMDocumentMethod "createTextNode" o = DOMDocumentCreateTextNodeMethodInfo
ResolveDOMDocumentMethod "createTreeWalker" o = DOMDocumentCreateTreeWalkerMethodInfo
ResolveDOMDocumentMethod "dispatchEvent" o = WebKit2WebExtension.DOMEventTarget.DOMEventTargetDispatchEventMethodInfo
ResolveDOMDocumentMethod "elementFromPoint" o = DOMDocumentElementFromPointMethodInfo
ResolveDOMDocumentMethod "evaluate" o = DOMDocumentEvaluateMethodInfo
ResolveDOMDocumentMethod "execCommand" o = DOMDocumentExecCommandMethodInfo
ResolveDOMDocumentMethod "exitPointerLock" o = DOMDocumentExitPointerLockMethodInfo
ResolveDOMDocumentMethod "forceFloating" o = GObject.Object.ObjectForceFloatingMethodInfo
ResolveDOMDocumentMethod "freezeNotify" o = GObject.Object.ObjectFreezeNotifyMethodInfo
ResolveDOMDocumentMethod "getv" o = GObject.Object.ObjectGetvMethodInfo
ResolveDOMDocumentMethod "hasChildNodes" o = WebKit2WebExtension.DOMNode.DOMNodeHasChildNodesMethodInfo
ResolveDOMDocumentMethod "hasFocus" o = DOMDocumentHasFocusMethodInfo
ResolveDOMDocumentMethod "importNode" o = DOMDocumentImportNodeMethodInfo
ResolveDOMDocumentMethod "insertBefore" o = WebKit2WebExtension.DOMNode.DOMNodeInsertBeforeMethodInfo
ResolveDOMDocumentMethod "isDefaultNamespace" o = WebKit2WebExtension.DOMNode.DOMNodeIsDefaultNamespaceMethodInfo
ResolveDOMDocumentMethod "isEqualNode" o = WebKit2WebExtension.DOMNode.DOMNodeIsEqualNodeMethodInfo
ResolveDOMDocumentMethod "isFloating" o = GObject.Object.ObjectIsFloatingMethodInfo
ResolveDOMDocumentMethod "isSameNode" o = WebKit2WebExtension.DOMNode.DOMNodeIsSameNodeMethodInfo
ResolveDOMDocumentMethod "isSupported" o = WebKit2WebExtension.DOMNode.DOMNodeIsSupportedMethodInfo
ResolveDOMDocumentMethod "lookupNamespaceUri" o = WebKit2WebExtension.DOMNode.DOMNodeLookupNamespaceUriMethodInfo
ResolveDOMDocumentMethod "lookupPrefix" o = WebKit2WebExtension.DOMNode.DOMNodeLookupPrefixMethodInfo
ResolveDOMDocumentMethod "normalize" o = WebKit2WebExtension.DOMNode.DOMNodeNormalizeMethodInfo
ResolveDOMDocumentMethod "notify" o = GObject.Object.ObjectNotifyMethodInfo
ResolveDOMDocumentMethod "notifyByPspec" o = GObject.Object.ObjectNotifyByPspecMethodInfo
ResolveDOMDocumentMethod "queryCommandEnabled" o = DOMDocumentQueryCommandEnabledMethodInfo
ResolveDOMDocumentMethod "queryCommandIndeterm" o = DOMDocumentQueryCommandIndetermMethodInfo
ResolveDOMDocumentMethod "queryCommandState" o = DOMDocumentQueryCommandStateMethodInfo
ResolveDOMDocumentMethod "queryCommandSupported" o = DOMDocumentQueryCommandSupportedMethodInfo
ResolveDOMDocumentMethod "queryCommandValue" o = DOMDocumentQueryCommandValueMethodInfo
ResolveDOMDocumentMethod "querySelector" o = DOMDocumentQuerySelectorMethodInfo
ResolveDOMDocumentMethod "querySelectorAll" o = DOMDocumentQuerySelectorAllMethodInfo
ResolveDOMDocumentMethod "ref" o = GObject.Object.ObjectRefMethodInfo
ResolveDOMDocumentMethod "refSink" o = GObject.Object.ObjectRefSinkMethodInfo
ResolveDOMDocumentMethod "removeChild" o = WebKit2WebExtension.DOMNode.DOMNodeRemoveChildMethodInfo
ResolveDOMDocumentMethod "removeEventListener" o = WebKit2WebExtension.DOMEventTarget.DOMEventTargetRemoveEventListenerMethodInfo
ResolveDOMDocumentMethod "replaceChild" o = WebKit2WebExtension.DOMNode.DOMNodeReplaceChildMethodInfo
ResolveDOMDocumentMethod "runDispose" o = GObject.Object.ObjectRunDisposeMethodInfo
ResolveDOMDocumentMethod "stealData" o = GObject.Object.ObjectStealDataMethodInfo
ResolveDOMDocumentMethod "stealQdata" o = GObject.Object.ObjectStealQdataMethodInfo
ResolveDOMDocumentMethod "thawNotify" o = GObject.Object.ObjectThawNotifyMethodInfo
ResolveDOMDocumentMethod "unref" o = GObject.Object.ObjectUnrefMethodInfo
ResolveDOMDocumentMethod "watchClosure" o = GObject.Object.ObjectWatchClosureMethodInfo
ResolveDOMDocumentMethod "webkitCancelFullscreen" o = DOMDocumentWebkitCancelFullscreenMethodInfo
ResolveDOMDocumentMethod "webkitExitFullscreen" o = DOMDocumentWebkitExitFullscreenMethodInfo
ResolveDOMDocumentMethod "getActiveElement" o = DOMDocumentGetActiveElementMethodInfo
ResolveDOMDocumentMethod "getAnchors" o = DOMDocumentGetAnchorsMethodInfo
ResolveDOMDocumentMethod "getApplets" o = DOMDocumentGetAppletsMethodInfo
ResolveDOMDocumentMethod "getBaseUri" o = WebKit2WebExtension.DOMNode.DOMNodeGetBaseUriMethodInfo
ResolveDOMDocumentMethod "getBody" o = DOMDocumentGetBodyMethodInfo
ResolveDOMDocumentMethod "getCharacterSet" o = DOMDocumentGetCharacterSetMethodInfo
ResolveDOMDocumentMethod "getCharset" o = DOMDocumentGetCharsetMethodInfo
ResolveDOMDocumentMethod "getChildElementCount" o = DOMDocumentGetChildElementCountMethodInfo
ResolveDOMDocumentMethod "getChildNodes" o = WebKit2WebExtension.DOMNode.DOMNodeGetChildNodesMethodInfo
ResolveDOMDocumentMethod "getChildren" o = DOMDocumentGetChildrenMethodInfo
ResolveDOMDocumentMethod "getCompatMode" o = DOMDocumentGetCompatModeMethodInfo
ResolveDOMDocumentMethod "getContentType" o = DOMDocumentGetContentTypeMethodInfo
ResolveDOMDocumentMethod "getCookie" o = DOMDocumentGetCookieMethodInfo
ResolveDOMDocumentMethod "getCurrentScript" o = DOMDocumentGetCurrentScriptMethodInfo
ResolveDOMDocumentMethod "getData" o = GObject.Object.ObjectGetDataMethodInfo
ResolveDOMDocumentMethod "getDefaultCharset" o = DOMDocumentGetDefaultCharsetMethodInfo
ResolveDOMDocumentMethod "getDefaultView" o = DOMDocumentGetDefaultViewMethodInfo
ResolveDOMDocumentMethod "getDesignMode" o = DOMDocumentGetDesignModeMethodInfo
ResolveDOMDocumentMethod "getDir" o = DOMDocumentGetDirMethodInfo
ResolveDOMDocumentMethod "getDoctype" o = DOMDocumentGetDoctypeMethodInfo
ResolveDOMDocumentMethod "getDocumentElement" o = DOMDocumentGetDocumentElementMethodInfo
ResolveDOMDocumentMethod "getDocumentUri" o = DOMDocumentGetDocumentUriMethodInfo
ResolveDOMDocumentMethod "getDomain" o = DOMDocumentGetDomainMethodInfo
ResolveDOMDocumentMethod "getElementById" o = DOMDocumentGetElementByIdMethodInfo
ResolveDOMDocumentMethod "getElementsByClassName" o = DOMDocumentGetElementsByClassNameMethodInfo
ResolveDOMDocumentMethod "getElementsByClassNameAsHtmlCollection" o = DOMDocumentGetElementsByClassNameAsHtmlCollectionMethodInfo
ResolveDOMDocumentMethod "getElementsByName" o = DOMDocumentGetElementsByNameMethodInfo
ResolveDOMDocumentMethod "getElementsByTagName" o = DOMDocumentGetElementsByTagNameMethodInfo
ResolveDOMDocumentMethod "getElementsByTagNameAsHtmlCollection" o = DOMDocumentGetElementsByTagNameAsHtmlCollectionMethodInfo
ResolveDOMDocumentMethod "getElementsByTagNameNs" o = DOMDocumentGetElementsByTagNameNsMethodInfo
ResolveDOMDocumentMethod "getElementsByTagNameNsAsHtmlCollection" o = DOMDocumentGetElementsByTagNameNsAsHtmlCollectionMethodInfo
ResolveDOMDocumentMethod "getEmbeds" o = DOMDocumentGetEmbedsMethodInfo
ResolveDOMDocumentMethod "getFirstChild" o = WebKit2WebExtension.DOMNode.DOMNodeGetFirstChildMethodInfo
ResolveDOMDocumentMethod "getFirstElementChild" o = DOMDocumentGetFirstElementChildMethodInfo
ResolveDOMDocumentMethod "getForms" o = DOMDocumentGetFormsMethodInfo
ResolveDOMDocumentMethod "getHead" o = DOMDocumentGetHeadMethodInfo
ResolveDOMDocumentMethod "getHidden" o = DOMDocumentGetHiddenMethodInfo
ResolveDOMDocumentMethod "getImages" o = DOMDocumentGetImagesMethodInfo
ResolveDOMDocumentMethod "getImplementation" o = DOMDocumentGetImplementationMethodInfo
ResolveDOMDocumentMethod "getInputEncoding" o = DOMDocumentGetInputEncodingMethodInfo
ResolveDOMDocumentMethod "getLastChild" o = WebKit2WebExtension.DOMNode.DOMNodeGetLastChildMethodInfo
ResolveDOMDocumentMethod "getLastElementChild" o = DOMDocumentGetLastElementChildMethodInfo
ResolveDOMDocumentMethod "getLastModified" o = DOMDocumentGetLastModifiedMethodInfo
ResolveDOMDocumentMethod "getLinks" o = DOMDocumentGetLinksMethodInfo
ResolveDOMDocumentMethod "getLocalName" o = WebKit2WebExtension.DOMNode.DOMNodeGetLocalNameMethodInfo
ResolveDOMDocumentMethod "getNamespaceUri" o = WebKit2WebExtension.DOMNode.DOMNodeGetNamespaceUriMethodInfo
ResolveDOMDocumentMethod "getNextSibling" o = WebKit2WebExtension.DOMNode.DOMNodeGetNextSiblingMethodInfo
ResolveDOMDocumentMethod "getNodeName" o = WebKit2WebExtension.DOMNode.DOMNodeGetNodeNameMethodInfo
ResolveDOMDocumentMethod "getNodeType" o = WebKit2WebExtension.DOMNode.DOMNodeGetNodeTypeMethodInfo
ResolveDOMDocumentMethod "getNodeValue" o = WebKit2WebExtension.DOMNode.DOMNodeGetNodeValueMethodInfo
ResolveDOMDocumentMethod "getOrigin" o = DOMDocumentGetOriginMethodInfo
ResolveDOMDocumentMethod "getOverrideStyle" o = DOMDocumentGetOverrideStyleMethodInfo
ResolveDOMDocumentMethod "getOwnerDocument" o = WebKit2WebExtension.DOMNode.DOMNodeGetOwnerDocumentMethodInfo
ResolveDOMDocumentMethod "getParentElement" o = WebKit2WebExtension.DOMNode.DOMNodeGetParentElementMethodInfo
ResolveDOMDocumentMethod "getParentNode" o = WebKit2WebExtension.DOMNode.DOMNodeGetParentNodeMethodInfo
ResolveDOMDocumentMethod "getPlugins" o = DOMDocumentGetPluginsMethodInfo
ResolveDOMDocumentMethod "getPointerLockElement" o = DOMDocumentGetPointerLockElementMethodInfo
ResolveDOMDocumentMethod "getPreferredStylesheetSet" o = DOMDocumentGetPreferredStylesheetSetMethodInfo
ResolveDOMDocumentMethod "getPrefix" o = WebKit2WebExtension.DOMNode.DOMNodeGetPrefixMethodInfo
ResolveDOMDocumentMethod "getPreviousSibling" o = WebKit2WebExtension.DOMNode.DOMNodeGetPreviousSiblingMethodInfo
ResolveDOMDocumentMethod "getProperty" o = GObject.Object.ObjectGetPropertyMethodInfo
ResolveDOMDocumentMethod "getQdata" o = GObject.Object.ObjectGetQdataMethodInfo
ResolveDOMDocumentMethod "getReadyState" o = DOMDocumentGetReadyStateMethodInfo
ResolveDOMDocumentMethod "getReferrer" o = DOMDocumentGetReferrerMethodInfo
ResolveDOMDocumentMethod "getScripts" o = DOMDocumentGetScriptsMethodInfo
ResolveDOMDocumentMethod "getScrollingElement" o = DOMDocumentGetScrollingElementMethodInfo
ResolveDOMDocumentMethod "getSelectedStylesheetSet" o = DOMDocumentGetSelectedStylesheetSetMethodInfo
ResolveDOMDocumentMethod "getStyleSheets" o = DOMDocumentGetStyleSheetsMethodInfo
ResolveDOMDocumentMethod "getTextContent" o = WebKit2WebExtension.DOMNode.DOMNodeGetTextContentMethodInfo
ResolveDOMDocumentMethod "getTitle" o = DOMDocumentGetTitleMethodInfo
ResolveDOMDocumentMethod "getUrl" o = DOMDocumentGetUrlMethodInfo
ResolveDOMDocumentMethod "getVisibilityState" o = DOMDocumentGetVisibilityStateMethodInfo
ResolveDOMDocumentMethod "getWebkitCurrentFullscreenElement" o = DOMDocumentGetWebkitCurrentFullscreenElementMethodInfo
ResolveDOMDocumentMethod "getWebkitFullscreenElement" o = DOMDocumentGetWebkitFullscreenElementMethodInfo
ResolveDOMDocumentMethod "getWebkitFullscreenEnabled" o = DOMDocumentGetWebkitFullscreenEnabledMethodInfo
ResolveDOMDocumentMethod "getWebkitFullscreenKeyboardInputAllowed" o = DOMDocumentGetWebkitFullscreenKeyboardInputAllowedMethodInfo
ResolveDOMDocumentMethod "getWebkitIsFullscreen" o = DOMDocumentGetWebkitIsFullscreenMethodInfo
ResolveDOMDocumentMethod "getXmlEncoding" o = DOMDocumentGetXmlEncodingMethodInfo
ResolveDOMDocumentMethod "getXmlStandalone" o = DOMDocumentGetXmlStandaloneMethodInfo
ResolveDOMDocumentMethod "getXmlVersion" o = DOMDocumentGetXmlVersionMethodInfo
ResolveDOMDocumentMethod "setBody" o = DOMDocumentSetBodyMethodInfo
ResolveDOMDocumentMethod "setCharset" o = DOMDocumentSetCharsetMethodInfo
ResolveDOMDocumentMethod "setCookie" o = DOMDocumentSetCookieMethodInfo
ResolveDOMDocumentMethod "setData" o = GObject.Object.ObjectSetDataMethodInfo
ResolveDOMDocumentMethod "setDesignMode" o = DOMDocumentSetDesignModeMethodInfo
ResolveDOMDocumentMethod "setDir" o = DOMDocumentSetDirMethodInfo
ResolveDOMDocumentMethod "setDocumentUri" o = DOMDocumentSetDocumentUriMethodInfo
ResolveDOMDocumentMethod "setNodeValue" o = WebKit2WebExtension.DOMNode.DOMNodeSetNodeValueMethodInfo
ResolveDOMDocumentMethod "setPrefix" o = WebKit2WebExtension.DOMNode.DOMNodeSetPrefixMethodInfo
ResolveDOMDocumentMethod "setProperty" o = GObject.Object.ObjectSetPropertyMethodInfo
ResolveDOMDocumentMethod "setSelectedStylesheetSet" o = DOMDocumentSetSelectedStylesheetSetMethodInfo
ResolveDOMDocumentMethod "setTextContent" o = WebKit2WebExtension.DOMNode.DOMNodeSetTextContentMethodInfo
ResolveDOMDocumentMethod "setTitle" o = DOMDocumentSetTitleMethodInfo
ResolveDOMDocumentMethod "setXmlStandalone" o = DOMDocumentSetXmlStandaloneMethodInfo
ResolveDOMDocumentMethod "setXmlVersion" o = DOMDocumentSetXmlVersionMethodInfo
ResolveDOMDocumentMethod l o = O.MethodResolutionFailed l o
instance (info ~ ResolveDOMDocumentMethod t DOMDocument, O.MethodInfo info DOMDocument p) => OL.IsLabel t (DOMDocument -> p) where
#if MIN_VERSION_base(4,10,0)
fromLabel = O.overloadedMethod (O.MethodProxy :: O.MethodProxy info)
#else
fromLabel _ = O.overloadedMethod (O.MethodProxy :: O.MethodProxy info)
#endif
#endif
getDOMDocumentActiveElement :: (MonadIO m, IsDOMDocument o) => o -> m WebKit2WebExtension.DOMElement.DOMElement
getDOMDocumentActiveElement obj = liftIO $ checkUnexpectedNothing "getDOMDocumentActiveElement" $ B.Properties.getObjectPropertyObject obj "active-element" WebKit2WebExtension.DOMElement.DOMElement
#if ENABLE_OVERLOADING
data DOMDocumentActiveElementPropertyInfo
instance AttrInfo DOMDocumentActiveElementPropertyInfo where
type AttrAllowedOps DOMDocumentActiveElementPropertyInfo = '[ 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint DOMDocumentActiveElementPropertyInfo = (~) ()
type AttrBaseTypeConstraint DOMDocumentActiveElementPropertyInfo = IsDOMDocument
type AttrGetType DOMDocumentActiveElementPropertyInfo = WebKit2WebExtension.DOMElement.DOMElement
type AttrLabel DOMDocumentActiveElementPropertyInfo = "active-element"
type AttrOrigin DOMDocumentActiveElementPropertyInfo = DOMDocument
attrGet _ = getDOMDocumentActiveElement
attrSet _ = undefined
attrConstruct _ = undefined
attrClear _ = undefined
#endif
getDOMDocumentAnchors :: (MonadIO m, IsDOMDocument o) => o -> m (Maybe WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection)
getDOMDocumentAnchors obj = liftIO $ B.Properties.getObjectPropertyObject obj "anchors" WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection
#if ENABLE_OVERLOADING
data DOMDocumentAnchorsPropertyInfo
instance AttrInfo DOMDocumentAnchorsPropertyInfo where
type AttrAllowedOps DOMDocumentAnchorsPropertyInfo = '[ 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint DOMDocumentAnchorsPropertyInfo = (~) ()
type AttrBaseTypeConstraint DOMDocumentAnchorsPropertyInfo = IsDOMDocument
type AttrGetType DOMDocumentAnchorsPropertyInfo = (Maybe WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection)
type AttrLabel DOMDocumentAnchorsPropertyInfo = "anchors"
type AttrOrigin DOMDocumentAnchorsPropertyInfo = DOMDocument
attrGet _ = getDOMDocumentAnchors
attrSet _ = undefined
attrConstruct _ = undefined
attrClear _ = undefined
#endif
getDOMDocumentApplets :: (MonadIO m, IsDOMDocument o) => o -> m (Maybe WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection)
getDOMDocumentApplets obj = liftIO $ B.Properties.getObjectPropertyObject obj "applets" WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection
#if ENABLE_OVERLOADING
data DOMDocumentAppletsPropertyInfo
instance AttrInfo DOMDocumentAppletsPropertyInfo where
type AttrAllowedOps DOMDocumentAppletsPropertyInfo = '[ 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint DOMDocumentAppletsPropertyInfo = (~) ()
type AttrBaseTypeConstraint DOMDocumentAppletsPropertyInfo = IsDOMDocument
type AttrGetType DOMDocumentAppletsPropertyInfo = (Maybe WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection)
type AttrLabel DOMDocumentAppletsPropertyInfo = "applets"
type AttrOrigin DOMDocumentAppletsPropertyInfo = DOMDocument
attrGet _ = getDOMDocumentApplets
attrSet _ = undefined
attrConstruct _ = undefined
attrClear _ = undefined
#endif
getDOMDocumentBody :: (MonadIO m, IsDOMDocument o) => o -> m WebKit2WebExtension.DOMHTMLElement.DOMHTMLElement
getDOMDocumentBody obj = liftIO $ checkUnexpectedNothing "getDOMDocumentBody" $ B.Properties.getObjectPropertyObject obj "body" WebKit2WebExtension.DOMHTMLElement.DOMHTMLElement
#if ENABLE_OVERLOADING
data DOMDocumentBodyPropertyInfo
instance AttrInfo DOMDocumentBodyPropertyInfo where
type AttrAllowedOps DOMDocumentBodyPropertyInfo = '[ 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint DOMDocumentBodyPropertyInfo = (~) ()
type AttrBaseTypeConstraint DOMDocumentBodyPropertyInfo = IsDOMDocument
type AttrGetType DOMDocumentBodyPropertyInfo = WebKit2WebExtension.DOMHTMLElement.DOMHTMLElement
type AttrLabel DOMDocumentBodyPropertyInfo = "body"
type AttrOrigin DOMDocumentBodyPropertyInfo = DOMDocument
attrGet _ = getDOMDocumentBody
attrSet _ = undefined
attrConstruct _ = undefined
attrClear _ = undefined
#endif
getDOMDocumentCharacterSet :: (MonadIO m, IsDOMDocument o) => o -> m (Maybe T.Text)
getDOMDocumentCharacterSet obj = liftIO $ B.Properties.getObjectPropertyString obj "character-set"
#if ENABLE_OVERLOADING
data DOMDocumentCharacterSetPropertyInfo
instance AttrInfo DOMDocumentCharacterSetPropertyInfo where
type AttrAllowedOps DOMDocumentCharacterSetPropertyInfo = '[ 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint DOMDocumentCharacterSetPropertyInfo = (~) ()
type AttrBaseTypeConstraint DOMDocumentCharacterSetPropertyInfo = IsDOMDocument
type AttrGetType DOMDocumentCharacterSetPropertyInfo = (Maybe T.Text)
type AttrLabel DOMDocumentCharacterSetPropertyInfo = "character-set"
type AttrOrigin DOMDocumentCharacterSetPropertyInfo = DOMDocument
attrGet _ = getDOMDocumentCharacterSet
attrSet _ = undefined
attrConstruct _ = undefined
attrClear _ = undefined
#endif
getDOMDocumentCharset :: (MonadIO m, IsDOMDocument o) => o -> m (Maybe T.Text)
getDOMDocumentCharset obj = liftIO $ B.Properties.getObjectPropertyString obj "charset"
setDOMDocumentCharset :: (MonadIO m, IsDOMDocument o) => o -> T.Text -> m ()
setDOMDocumentCharset obj val = liftIO $ B.Properties.setObjectPropertyString obj "charset" (Just val)
constructDOMDocumentCharset :: (IsDOMDocument o) => T.Text -> IO (GValueConstruct o)
constructDOMDocumentCharset val = B.Properties.constructObjectPropertyString "charset" (Just val)
#if ENABLE_OVERLOADING
data DOMDocumentCharsetPropertyInfo
instance AttrInfo DOMDocumentCharsetPropertyInfo where
type AttrAllowedOps DOMDocumentCharsetPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint DOMDocumentCharsetPropertyInfo = (~) T.Text
type AttrBaseTypeConstraint DOMDocumentCharsetPropertyInfo = IsDOMDocument
type AttrGetType DOMDocumentCharsetPropertyInfo = (Maybe T.Text)
type AttrLabel DOMDocumentCharsetPropertyInfo = "charset"
type AttrOrigin DOMDocumentCharsetPropertyInfo = DOMDocument
attrGet _ = getDOMDocumentCharset
attrSet _ = setDOMDocumentCharset
attrConstruct _ = constructDOMDocumentCharset
attrClear _ = undefined
#endif
getDOMDocumentChildElementCount :: (MonadIO m, IsDOMDocument o) => o -> m CULong
getDOMDocumentChildElementCount obj = liftIO $ B.Properties.getObjectPropertyULong obj "child-element-count"
#if ENABLE_OVERLOADING
data DOMDocumentChildElementCountPropertyInfo
instance AttrInfo DOMDocumentChildElementCountPropertyInfo where
type AttrAllowedOps DOMDocumentChildElementCountPropertyInfo = '[ 'AttrGet]
type AttrSetTypeConstraint DOMDocumentChildElementCountPropertyInfo = (~) ()
type AttrBaseTypeConstraint DOMDocumentChildElementCountPropertyInfo = IsDOMDocument
type AttrGetType DOMDocumentChildElementCountPropertyInfo = CULong
type AttrLabel DOMDocumentChildElementCountPropertyInfo = "child-element-count"
type AttrOrigin DOMDocumentChildElementCountPropertyInfo = DOMDocument
attrGet _ = getDOMDocumentChildElementCount
attrSet _ = undefined
attrConstruct _ = undefined
attrClear _ = undefined
#endif
getDOMDocumentChildren :: (MonadIO m, IsDOMDocument o) => o -> m (Maybe WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection)
getDOMDocumentChildren obj = liftIO $ B.Properties.getObjectPropertyObject obj "children" WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection
#if ENABLE_OVERLOADING
data DOMDocumentChildrenPropertyInfo
instance AttrInfo DOMDocumentChildrenPropertyInfo where
type AttrAllowedOps DOMDocumentChildrenPropertyInfo = '[ 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint DOMDocumentChildrenPropertyInfo = (~) ()
type AttrBaseTypeConstraint DOMDocumentChildrenPropertyInfo = IsDOMDocument
type AttrGetType DOMDocumentChildrenPropertyInfo = (Maybe WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection)
type AttrLabel DOMDocumentChildrenPropertyInfo = "children"
type AttrOrigin DOMDocumentChildrenPropertyInfo = DOMDocument
attrGet _ = getDOMDocumentChildren
attrSet _ = undefined
attrConstruct _ = undefined
attrClear _ = undefined
#endif
getDOMDocumentCompatMode :: (MonadIO m, IsDOMDocument o) => o -> m (Maybe T.Text)
getDOMDocumentCompatMode obj = liftIO $ B.Properties.getObjectPropertyString obj "compat-mode"
#if ENABLE_OVERLOADING
data DOMDocumentCompatModePropertyInfo
instance AttrInfo DOMDocumentCompatModePropertyInfo where
type AttrAllowedOps DOMDocumentCompatModePropertyInfo = '[ 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint DOMDocumentCompatModePropertyInfo = (~) ()
type AttrBaseTypeConstraint DOMDocumentCompatModePropertyInfo = IsDOMDocument
type AttrGetType DOMDocumentCompatModePropertyInfo = (Maybe T.Text)
type AttrLabel DOMDocumentCompatModePropertyInfo = "compat-mode"
type AttrOrigin DOMDocumentCompatModePropertyInfo = DOMDocument
attrGet _ = getDOMDocumentCompatMode
attrSet _ = undefined
attrConstruct _ = undefined
attrClear _ = undefined
#endif
getDOMDocumentContentType :: (MonadIO m, IsDOMDocument o) => o -> m (Maybe T.Text)
getDOMDocumentContentType obj = liftIO $ B.Properties.getObjectPropertyString obj "content-type"
#if ENABLE_OVERLOADING
data DOMDocumentContentTypePropertyInfo
instance AttrInfo DOMDocumentContentTypePropertyInfo where
type AttrAllowedOps DOMDocumentContentTypePropertyInfo = '[ 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint DOMDocumentContentTypePropertyInfo = (~) ()
type AttrBaseTypeConstraint DOMDocumentContentTypePropertyInfo = IsDOMDocument
type AttrGetType DOMDocumentContentTypePropertyInfo = (Maybe T.Text)
type AttrLabel DOMDocumentContentTypePropertyInfo = "content-type"
type AttrOrigin DOMDocumentContentTypePropertyInfo = DOMDocument
attrGet _ = getDOMDocumentContentType
attrSet _ = undefined
attrConstruct _ = undefined
attrClear _ = undefined
#endif
getDOMDocumentCookie :: (MonadIO m, IsDOMDocument o) => o -> m (Maybe T.Text)
getDOMDocumentCookie obj = liftIO $ B.Properties.getObjectPropertyString obj "cookie"
setDOMDocumentCookie :: (MonadIO m, IsDOMDocument o) => o -> T.Text -> m ()
setDOMDocumentCookie obj val = liftIO $ B.Properties.setObjectPropertyString obj "cookie" (Just val)
constructDOMDocumentCookie :: (IsDOMDocument o) => T.Text -> IO (GValueConstruct o)
constructDOMDocumentCookie val = B.Properties.constructObjectPropertyString "cookie" (Just val)
clearDOMDocumentCookie :: (MonadIO m, IsDOMDocument o) => o -> m ()
clearDOMDocumentCookie obj = liftIO $ B.Properties.setObjectPropertyString obj "cookie" (Nothing :: Maybe T.Text)
#if ENABLE_OVERLOADING
data DOMDocumentCookiePropertyInfo
instance AttrInfo DOMDocumentCookiePropertyInfo where
type AttrAllowedOps DOMDocumentCookiePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint DOMDocumentCookiePropertyInfo = (~) T.Text
type AttrBaseTypeConstraint DOMDocumentCookiePropertyInfo = IsDOMDocument
type AttrGetType DOMDocumentCookiePropertyInfo = (Maybe T.Text)
type AttrLabel DOMDocumentCookiePropertyInfo = "cookie"
type AttrOrigin DOMDocumentCookiePropertyInfo = DOMDocument
attrGet _ = getDOMDocumentCookie
attrSet _ = setDOMDocumentCookie
attrConstruct _ = constructDOMDocumentCookie
attrClear _ = clearDOMDocumentCookie
#endif
getDOMDocumentCurrentScript :: (MonadIO m, IsDOMDocument o) => o -> m WebKit2WebExtension.DOMHTMLScriptElement.DOMHTMLScriptElement
getDOMDocumentCurrentScript obj = liftIO $ checkUnexpectedNothing "getDOMDocumentCurrentScript" $ B.Properties.getObjectPropertyObject obj "current-script" WebKit2WebExtension.DOMHTMLScriptElement.DOMHTMLScriptElement
#if ENABLE_OVERLOADING
data DOMDocumentCurrentScriptPropertyInfo
instance AttrInfo DOMDocumentCurrentScriptPropertyInfo where
type AttrAllowedOps DOMDocumentCurrentScriptPropertyInfo = '[ 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint DOMDocumentCurrentScriptPropertyInfo = (~) ()
type AttrBaseTypeConstraint DOMDocumentCurrentScriptPropertyInfo = IsDOMDocument
type AttrGetType DOMDocumentCurrentScriptPropertyInfo = WebKit2WebExtension.DOMHTMLScriptElement.DOMHTMLScriptElement
type AttrLabel DOMDocumentCurrentScriptPropertyInfo = "current-script"
type AttrOrigin DOMDocumentCurrentScriptPropertyInfo = DOMDocument
attrGet _ = getDOMDocumentCurrentScript
attrSet _ = undefined
attrConstruct _ = undefined
attrClear _ = undefined
#endif
getDOMDocumentDefaultView :: (MonadIO m, IsDOMDocument o) => o -> m (Maybe WebKit2WebExtension.DOMDOMWindow.DOMDOMWindow)
getDOMDocumentDefaultView obj = liftIO $ B.Properties.getObjectPropertyObject obj "default-view" WebKit2WebExtension.DOMDOMWindow.DOMDOMWindow
#if ENABLE_OVERLOADING
data DOMDocumentDefaultViewPropertyInfo
instance AttrInfo DOMDocumentDefaultViewPropertyInfo where
type AttrAllowedOps DOMDocumentDefaultViewPropertyInfo = '[ 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint DOMDocumentDefaultViewPropertyInfo = (~) ()
type AttrBaseTypeConstraint DOMDocumentDefaultViewPropertyInfo = IsDOMDocument
type AttrGetType DOMDocumentDefaultViewPropertyInfo = (Maybe WebKit2WebExtension.DOMDOMWindow.DOMDOMWindow)
type AttrLabel DOMDocumentDefaultViewPropertyInfo = "default-view"
type AttrOrigin DOMDocumentDefaultViewPropertyInfo = DOMDocument
attrGet _ = getDOMDocumentDefaultView
attrSet _ = undefined
attrConstruct _ = undefined
attrClear _ = undefined
#endif
getDOMDocumentDesignMode :: (MonadIO m, IsDOMDocument o) => o -> m (Maybe T.Text)
getDOMDocumentDesignMode obj = liftIO $ B.Properties.getObjectPropertyString obj "design-mode"
setDOMDocumentDesignMode :: (MonadIO m, IsDOMDocument o) => o -> T.Text -> m ()
setDOMDocumentDesignMode obj val = liftIO $ B.Properties.setObjectPropertyString obj "design-mode" (Just val)
constructDOMDocumentDesignMode :: (IsDOMDocument o) => T.Text -> IO (GValueConstruct o)
constructDOMDocumentDesignMode val = B.Properties.constructObjectPropertyString "design-mode" (Just val)
#if ENABLE_OVERLOADING
data DOMDocumentDesignModePropertyInfo
instance AttrInfo DOMDocumentDesignModePropertyInfo where
type AttrAllowedOps DOMDocumentDesignModePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint DOMDocumentDesignModePropertyInfo = (~) T.Text
type AttrBaseTypeConstraint DOMDocumentDesignModePropertyInfo = IsDOMDocument
type AttrGetType DOMDocumentDesignModePropertyInfo = (Maybe T.Text)
type AttrLabel DOMDocumentDesignModePropertyInfo = "design-mode"
type AttrOrigin DOMDocumentDesignModePropertyInfo = DOMDocument
attrGet _ = getDOMDocumentDesignMode
attrSet _ = setDOMDocumentDesignMode
attrConstruct _ = constructDOMDocumentDesignMode
attrClear _ = undefined
#endif
getDOMDocumentDir :: (MonadIO m, IsDOMDocument o) => o -> m (Maybe T.Text)
getDOMDocumentDir obj = liftIO $ B.Properties.getObjectPropertyString obj "dir"
setDOMDocumentDir :: (MonadIO m, IsDOMDocument o) => o -> T.Text -> m ()
setDOMDocumentDir obj val = liftIO $ B.Properties.setObjectPropertyString obj "dir" (Just val)
constructDOMDocumentDir :: (IsDOMDocument o) => T.Text -> IO (GValueConstruct o)
constructDOMDocumentDir val = B.Properties.constructObjectPropertyString "dir" (Just val)
#if ENABLE_OVERLOADING
data DOMDocumentDirPropertyInfo
instance AttrInfo DOMDocumentDirPropertyInfo where
type AttrAllowedOps DOMDocumentDirPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint DOMDocumentDirPropertyInfo = (~) T.Text
type AttrBaseTypeConstraint DOMDocumentDirPropertyInfo = IsDOMDocument
type AttrGetType DOMDocumentDirPropertyInfo = (Maybe T.Text)
type AttrLabel DOMDocumentDirPropertyInfo = "dir"
type AttrOrigin DOMDocumentDirPropertyInfo = DOMDocument
attrGet _ = getDOMDocumentDir
attrSet _ = setDOMDocumentDir
attrConstruct _ = constructDOMDocumentDir
attrClear _ = undefined
#endif
getDOMDocumentDoctype :: (MonadIO m, IsDOMDocument o) => o -> m WebKit2WebExtension.DOMDocumentType.DOMDocumentType
getDOMDocumentDoctype obj = liftIO $ checkUnexpectedNothing "getDOMDocumentDoctype" $ B.Properties.getObjectPropertyObject obj "doctype" WebKit2WebExtension.DOMDocumentType.DOMDocumentType
#if ENABLE_OVERLOADING
data DOMDocumentDoctypePropertyInfo
instance AttrInfo DOMDocumentDoctypePropertyInfo where
type AttrAllowedOps DOMDocumentDoctypePropertyInfo = '[ 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint DOMDocumentDoctypePropertyInfo = (~) ()
type AttrBaseTypeConstraint DOMDocumentDoctypePropertyInfo = IsDOMDocument
type AttrGetType DOMDocumentDoctypePropertyInfo = WebKit2WebExtension.DOMDocumentType.DOMDocumentType
type AttrLabel DOMDocumentDoctypePropertyInfo = "doctype"
type AttrOrigin DOMDocumentDoctypePropertyInfo = DOMDocument
attrGet _ = getDOMDocumentDoctype
attrSet _ = undefined
attrConstruct _ = undefined
attrClear _ = undefined
#endif
getDOMDocumentDocumentElement :: (MonadIO m, IsDOMDocument o) => o -> m WebKit2WebExtension.DOMElement.DOMElement
getDOMDocumentDocumentElement obj = liftIO $ checkUnexpectedNothing "getDOMDocumentDocumentElement" $ B.Properties.getObjectPropertyObject obj "document-element" WebKit2WebExtension.DOMElement.DOMElement
#if ENABLE_OVERLOADING
data DOMDocumentDocumentElementPropertyInfo
instance AttrInfo DOMDocumentDocumentElementPropertyInfo where
type AttrAllowedOps DOMDocumentDocumentElementPropertyInfo = '[ 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint DOMDocumentDocumentElementPropertyInfo = (~) ()
type AttrBaseTypeConstraint DOMDocumentDocumentElementPropertyInfo = IsDOMDocument
type AttrGetType DOMDocumentDocumentElementPropertyInfo = WebKit2WebExtension.DOMElement.DOMElement
type AttrLabel DOMDocumentDocumentElementPropertyInfo = "document-element"
type AttrOrigin DOMDocumentDocumentElementPropertyInfo = DOMDocument
attrGet _ = getDOMDocumentDocumentElement
attrSet _ = undefined
attrConstruct _ = undefined
attrClear _ = undefined
#endif
getDOMDocumentDocumentUri :: (MonadIO m, IsDOMDocument o) => o -> m (Maybe T.Text)
getDOMDocumentDocumentUri obj = liftIO $ B.Properties.getObjectPropertyString obj "document-uri"
setDOMDocumentDocumentUri :: (MonadIO m, IsDOMDocument o) => o -> T.Text -> m ()
setDOMDocumentDocumentUri obj val = liftIO $ B.Properties.setObjectPropertyString obj "document-uri" (Just val)
constructDOMDocumentDocumentUri :: (IsDOMDocument o) => T.Text -> IO (GValueConstruct o)
constructDOMDocumentDocumentUri val = B.Properties.constructObjectPropertyString "document-uri" (Just val)
#if ENABLE_OVERLOADING
data DOMDocumentDocumentUriPropertyInfo
instance AttrInfo DOMDocumentDocumentUriPropertyInfo where
type AttrAllowedOps DOMDocumentDocumentUriPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint DOMDocumentDocumentUriPropertyInfo = (~) T.Text
type AttrBaseTypeConstraint DOMDocumentDocumentUriPropertyInfo = IsDOMDocument
type AttrGetType DOMDocumentDocumentUriPropertyInfo = (Maybe T.Text)
type AttrLabel DOMDocumentDocumentUriPropertyInfo = "document-uri"
type AttrOrigin DOMDocumentDocumentUriPropertyInfo = DOMDocument
attrGet _ = getDOMDocumentDocumentUri
attrSet _ = setDOMDocumentDocumentUri
attrConstruct _ = constructDOMDocumentDocumentUri
attrClear _ = undefined
#endif
getDOMDocumentDomain :: (MonadIO m, IsDOMDocument o) => o -> m (Maybe T.Text)
getDOMDocumentDomain obj = liftIO $ B.Properties.getObjectPropertyString obj "domain"
#if ENABLE_OVERLOADING
data DOMDocumentDomainPropertyInfo
instance AttrInfo DOMDocumentDomainPropertyInfo where
type AttrAllowedOps DOMDocumentDomainPropertyInfo = '[ 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint DOMDocumentDomainPropertyInfo = (~) ()
type AttrBaseTypeConstraint DOMDocumentDomainPropertyInfo = IsDOMDocument
type AttrGetType DOMDocumentDomainPropertyInfo = (Maybe T.Text)
type AttrLabel DOMDocumentDomainPropertyInfo = "domain"
type AttrOrigin DOMDocumentDomainPropertyInfo = DOMDocument
attrGet _ = getDOMDocumentDomain
attrSet _ = undefined
attrConstruct _ = undefined
attrClear _ = undefined
#endif
getDOMDocumentEmbeds :: (MonadIO m, IsDOMDocument o) => o -> m (Maybe WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection)
getDOMDocumentEmbeds obj = liftIO $ B.Properties.getObjectPropertyObject obj "embeds" WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection
#if ENABLE_OVERLOADING
data DOMDocumentEmbedsPropertyInfo
instance AttrInfo DOMDocumentEmbedsPropertyInfo where
type AttrAllowedOps DOMDocumentEmbedsPropertyInfo = '[ 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint DOMDocumentEmbedsPropertyInfo = (~) ()
type AttrBaseTypeConstraint DOMDocumentEmbedsPropertyInfo = IsDOMDocument
type AttrGetType DOMDocumentEmbedsPropertyInfo = (Maybe WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection)
type AttrLabel DOMDocumentEmbedsPropertyInfo = "embeds"
type AttrOrigin DOMDocumentEmbedsPropertyInfo = DOMDocument
attrGet _ = getDOMDocumentEmbeds
attrSet _ = undefined
attrConstruct _ = undefined
attrClear _ = undefined
#endif
getDOMDocumentFirstElementChild :: (MonadIO m, IsDOMDocument o) => o -> m WebKit2WebExtension.DOMElement.DOMElement
getDOMDocumentFirstElementChild obj = liftIO $ checkUnexpectedNothing "getDOMDocumentFirstElementChild" $ B.Properties.getObjectPropertyObject obj "first-element-child" WebKit2WebExtension.DOMElement.DOMElement
#if ENABLE_OVERLOADING
data DOMDocumentFirstElementChildPropertyInfo
instance AttrInfo DOMDocumentFirstElementChildPropertyInfo where
type AttrAllowedOps DOMDocumentFirstElementChildPropertyInfo = '[ 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint DOMDocumentFirstElementChildPropertyInfo = (~) ()
type AttrBaseTypeConstraint DOMDocumentFirstElementChildPropertyInfo = IsDOMDocument
type AttrGetType DOMDocumentFirstElementChildPropertyInfo = WebKit2WebExtension.DOMElement.DOMElement
type AttrLabel DOMDocumentFirstElementChildPropertyInfo = "first-element-child"
type AttrOrigin DOMDocumentFirstElementChildPropertyInfo = DOMDocument
attrGet _ = getDOMDocumentFirstElementChild
attrSet _ = undefined
attrConstruct _ = undefined
attrClear _ = undefined
#endif
getDOMDocumentForms :: (MonadIO m, IsDOMDocument o) => o -> m (Maybe WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection)
getDOMDocumentForms obj = liftIO $ B.Properties.getObjectPropertyObject obj "forms" WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection
#if ENABLE_OVERLOADING
data DOMDocumentFormsPropertyInfo
instance AttrInfo DOMDocumentFormsPropertyInfo where
type AttrAllowedOps DOMDocumentFormsPropertyInfo = '[ 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint DOMDocumentFormsPropertyInfo = (~) ()
type AttrBaseTypeConstraint DOMDocumentFormsPropertyInfo = IsDOMDocument
type AttrGetType DOMDocumentFormsPropertyInfo = (Maybe WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection)
type AttrLabel DOMDocumentFormsPropertyInfo = "forms"
type AttrOrigin DOMDocumentFormsPropertyInfo = DOMDocument
attrGet _ = getDOMDocumentForms
attrSet _ = undefined
attrConstruct _ = undefined
attrClear _ = undefined
#endif
getDOMDocumentHead :: (MonadIO m, IsDOMDocument o) => o -> m WebKit2WebExtension.DOMHTMLHeadElement.DOMHTMLHeadElement
getDOMDocumentHead obj = liftIO $ checkUnexpectedNothing "getDOMDocumentHead" $ B.Properties.getObjectPropertyObject obj "head" WebKit2WebExtension.DOMHTMLHeadElement.DOMHTMLHeadElement
#if ENABLE_OVERLOADING
data DOMDocumentHeadPropertyInfo
instance AttrInfo DOMDocumentHeadPropertyInfo where
type AttrAllowedOps DOMDocumentHeadPropertyInfo = '[ 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint DOMDocumentHeadPropertyInfo = (~) ()
type AttrBaseTypeConstraint DOMDocumentHeadPropertyInfo = IsDOMDocument
type AttrGetType DOMDocumentHeadPropertyInfo = WebKit2WebExtension.DOMHTMLHeadElement.DOMHTMLHeadElement
type AttrLabel DOMDocumentHeadPropertyInfo = "head"
type AttrOrigin DOMDocumentHeadPropertyInfo = DOMDocument
attrGet _ = getDOMDocumentHead
attrSet _ = undefined
attrConstruct _ = undefined
attrClear _ = undefined
#endif
getDOMDocumentHidden :: (MonadIO m, IsDOMDocument o) => o -> m Bool
getDOMDocumentHidden obj = liftIO $ B.Properties.getObjectPropertyBool obj "hidden"
#if ENABLE_OVERLOADING
data DOMDocumentHiddenPropertyInfo
instance AttrInfo DOMDocumentHiddenPropertyInfo where
type AttrAllowedOps DOMDocumentHiddenPropertyInfo = '[ 'AttrGet]
type AttrSetTypeConstraint DOMDocumentHiddenPropertyInfo = (~) ()
type AttrBaseTypeConstraint DOMDocumentHiddenPropertyInfo = IsDOMDocument
type AttrGetType DOMDocumentHiddenPropertyInfo = Bool
type AttrLabel DOMDocumentHiddenPropertyInfo = "hidden"
type AttrOrigin DOMDocumentHiddenPropertyInfo = DOMDocument
attrGet _ = getDOMDocumentHidden
attrSet _ = undefined
attrConstruct _ = undefined
attrClear _ = undefined
#endif
getDOMDocumentImages :: (MonadIO m, IsDOMDocument o) => o -> m (Maybe WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection)
getDOMDocumentImages obj = liftIO $ B.Properties.getObjectPropertyObject obj "images" WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection
#if ENABLE_OVERLOADING
data DOMDocumentImagesPropertyInfo
instance AttrInfo DOMDocumentImagesPropertyInfo where
type AttrAllowedOps DOMDocumentImagesPropertyInfo = '[ 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint DOMDocumentImagesPropertyInfo = (~) ()
type AttrBaseTypeConstraint DOMDocumentImagesPropertyInfo = IsDOMDocument
type AttrGetType DOMDocumentImagesPropertyInfo = (Maybe WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection)
type AttrLabel DOMDocumentImagesPropertyInfo = "images"
type AttrOrigin DOMDocumentImagesPropertyInfo = DOMDocument
attrGet _ = getDOMDocumentImages
attrSet _ = undefined
attrConstruct _ = undefined
attrClear _ = undefined
#endif
getDOMDocumentImplementation :: (MonadIO m, IsDOMDocument o) => o -> m (Maybe WebKit2WebExtension.DOMDOMImplementation.DOMDOMImplementation)
getDOMDocumentImplementation obj = liftIO $ B.Properties.getObjectPropertyObject obj "implementation" WebKit2WebExtension.DOMDOMImplementation.DOMDOMImplementation
#if ENABLE_OVERLOADING
data DOMDocumentImplementationPropertyInfo
instance AttrInfo DOMDocumentImplementationPropertyInfo where
type AttrAllowedOps DOMDocumentImplementationPropertyInfo = '[ 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint DOMDocumentImplementationPropertyInfo = (~) ()
type AttrBaseTypeConstraint DOMDocumentImplementationPropertyInfo = IsDOMDocument
type AttrGetType DOMDocumentImplementationPropertyInfo = (Maybe WebKit2WebExtension.DOMDOMImplementation.DOMDOMImplementation)
type AttrLabel DOMDocumentImplementationPropertyInfo = "implementation"
type AttrOrigin DOMDocumentImplementationPropertyInfo = DOMDocument
attrGet _ = getDOMDocumentImplementation
attrSet _ = undefined
attrConstruct _ = undefined
attrClear _ = undefined
#endif
getDOMDocumentInputEncoding :: (MonadIO m, IsDOMDocument o) => o -> m (Maybe T.Text)
getDOMDocumentInputEncoding obj = liftIO $ B.Properties.getObjectPropertyString obj "input-encoding"
#if ENABLE_OVERLOADING
data DOMDocumentInputEncodingPropertyInfo
instance AttrInfo DOMDocumentInputEncodingPropertyInfo where
type AttrAllowedOps DOMDocumentInputEncodingPropertyInfo = '[ 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint DOMDocumentInputEncodingPropertyInfo = (~) ()
type AttrBaseTypeConstraint DOMDocumentInputEncodingPropertyInfo = IsDOMDocument
type AttrGetType DOMDocumentInputEncodingPropertyInfo = (Maybe T.Text)
type AttrLabel DOMDocumentInputEncodingPropertyInfo = "input-encoding"
type AttrOrigin DOMDocumentInputEncodingPropertyInfo = DOMDocument
attrGet _ = getDOMDocumentInputEncoding
attrSet _ = undefined
attrConstruct _ = undefined
attrClear _ = undefined
#endif
getDOMDocumentLastElementChild :: (MonadIO m, IsDOMDocument o) => o -> m WebKit2WebExtension.DOMElement.DOMElement
getDOMDocumentLastElementChild obj = liftIO $ checkUnexpectedNothing "getDOMDocumentLastElementChild" $ B.Properties.getObjectPropertyObject obj "last-element-child" WebKit2WebExtension.DOMElement.DOMElement
#if ENABLE_OVERLOADING
data DOMDocumentLastElementChildPropertyInfo
instance AttrInfo DOMDocumentLastElementChildPropertyInfo where
type AttrAllowedOps DOMDocumentLastElementChildPropertyInfo = '[ 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint DOMDocumentLastElementChildPropertyInfo = (~) ()
type AttrBaseTypeConstraint DOMDocumentLastElementChildPropertyInfo = IsDOMDocument
type AttrGetType DOMDocumentLastElementChildPropertyInfo = WebKit2WebExtension.DOMElement.DOMElement
type AttrLabel DOMDocumentLastElementChildPropertyInfo = "last-element-child"
type AttrOrigin DOMDocumentLastElementChildPropertyInfo = DOMDocument
attrGet _ = getDOMDocumentLastElementChild
attrSet _ = undefined
attrConstruct _ = undefined
attrClear _ = undefined
#endif
getDOMDocumentLastModified :: (MonadIO m, IsDOMDocument o) => o -> m (Maybe T.Text)
getDOMDocumentLastModified obj = liftIO $ B.Properties.getObjectPropertyString obj "last-modified"
#if ENABLE_OVERLOADING
data DOMDocumentLastModifiedPropertyInfo
instance AttrInfo DOMDocumentLastModifiedPropertyInfo where
type AttrAllowedOps DOMDocumentLastModifiedPropertyInfo = '[ 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint DOMDocumentLastModifiedPropertyInfo = (~) ()
type AttrBaseTypeConstraint DOMDocumentLastModifiedPropertyInfo = IsDOMDocument
type AttrGetType DOMDocumentLastModifiedPropertyInfo = (Maybe T.Text)
type AttrLabel DOMDocumentLastModifiedPropertyInfo = "last-modified"
type AttrOrigin DOMDocumentLastModifiedPropertyInfo = DOMDocument
attrGet _ = getDOMDocumentLastModified
attrSet _ = undefined
attrConstruct _ = undefined
attrClear _ = undefined
#endif
getDOMDocumentLinks :: (MonadIO m, IsDOMDocument o) => o -> m (Maybe WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection)
getDOMDocumentLinks obj = liftIO $ B.Properties.getObjectPropertyObject obj "links" WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection
#if ENABLE_OVERLOADING
data DOMDocumentLinksPropertyInfo
instance AttrInfo DOMDocumentLinksPropertyInfo where
type AttrAllowedOps DOMDocumentLinksPropertyInfo = '[ 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint DOMDocumentLinksPropertyInfo = (~) ()
type AttrBaseTypeConstraint DOMDocumentLinksPropertyInfo = IsDOMDocument
type AttrGetType DOMDocumentLinksPropertyInfo = (Maybe WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection)
type AttrLabel DOMDocumentLinksPropertyInfo = "links"
type AttrOrigin DOMDocumentLinksPropertyInfo = DOMDocument
attrGet _ = getDOMDocumentLinks
attrSet _ = undefined
attrConstruct _ = undefined
attrClear _ = undefined
#endif
getDOMDocumentOrigin :: (MonadIO m, IsDOMDocument o) => o -> m (Maybe T.Text)
getDOMDocumentOrigin obj = liftIO $ B.Properties.getObjectPropertyString obj "origin"
#if ENABLE_OVERLOADING
data DOMDocumentOriginPropertyInfo
instance AttrInfo DOMDocumentOriginPropertyInfo where
type AttrAllowedOps DOMDocumentOriginPropertyInfo = '[ 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint DOMDocumentOriginPropertyInfo = (~) ()
type AttrBaseTypeConstraint DOMDocumentOriginPropertyInfo = IsDOMDocument
type AttrGetType DOMDocumentOriginPropertyInfo = (Maybe T.Text)
type AttrLabel DOMDocumentOriginPropertyInfo = "origin"
type AttrOrigin DOMDocumentOriginPropertyInfo = DOMDocument
attrGet _ = getDOMDocumentOrigin
attrSet _ = undefined
attrConstruct _ = undefined
attrClear _ = undefined
#endif
getDOMDocumentPlugins :: (MonadIO m, IsDOMDocument o) => o -> m (Maybe WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection)
getDOMDocumentPlugins obj = liftIO $ B.Properties.getObjectPropertyObject obj "plugins" WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection
#if ENABLE_OVERLOADING
data DOMDocumentPluginsPropertyInfo
instance AttrInfo DOMDocumentPluginsPropertyInfo where
type AttrAllowedOps DOMDocumentPluginsPropertyInfo = '[ 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint DOMDocumentPluginsPropertyInfo = (~) ()
type AttrBaseTypeConstraint DOMDocumentPluginsPropertyInfo = IsDOMDocument
type AttrGetType DOMDocumentPluginsPropertyInfo = (Maybe WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection)
type AttrLabel DOMDocumentPluginsPropertyInfo = "plugins"
type AttrOrigin DOMDocumentPluginsPropertyInfo = DOMDocument
attrGet _ = getDOMDocumentPlugins
attrSet _ = undefined
attrConstruct _ = undefined
attrClear _ = undefined
#endif
getDOMDocumentPointerLockElement :: (MonadIO m, IsDOMDocument o) => o -> m WebKit2WebExtension.DOMElement.DOMElement
getDOMDocumentPointerLockElement obj = liftIO $ checkUnexpectedNothing "getDOMDocumentPointerLockElement" $ B.Properties.getObjectPropertyObject obj "pointer-lock-element" WebKit2WebExtension.DOMElement.DOMElement
#if ENABLE_OVERLOADING
data DOMDocumentPointerLockElementPropertyInfo
instance AttrInfo DOMDocumentPointerLockElementPropertyInfo where
type AttrAllowedOps DOMDocumentPointerLockElementPropertyInfo = '[ 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint DOMDocumentPointerLockElementPropertyInfo = (~) ()
type AttrBaseTypeConstraint DOMDocumentPointerLockElementPropertyInfo = IsDOMDocument
type AttrGetType DOMDocumentPointerLockElementPropertyInfo = WebKit2WebExtension.DOMElement.DOMElement
type AttrLabel DOMDocumentPointerLockElementPropertyInfo = "pointer-lock-element"
type AttrOrigin DOMDocumentPointerLockElementPropertyInfo = DOMDocument
attrGet _ = getDOMDocumentPointerLockElement
attrSet _ = undefined
attrConstruct _ = undefined
attrClear _ = undefined
#endif
getDOMDocumentPreferredStylesheetSet :: (MonadIO m, IsDOMDocument o) => o -> m (Maybe T.Text)
getDOMDocumentPreferredStylesheetSet obj = liftIO $ B.Properties.getObjectPropertyString obj "preferred-stylesheet-set"
#if ENABLE_OVERLOADING
data DOMDocumentPreferredStylesheetSetPropertyInfo
instance AttrInfo DOMDocumentPreferredStylesheetSetPropertyInfo where
type AttrAllowedOps DOMDocumentPreferredStylesheetSetPropertyInfo = '[ 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint DOMDocumentPreferredStylesheetSetPropertyInfo = (~) ()
type AttrBaseTypeConstraint DOMDocumentPreferredStylesheetSetPropertyInfo = IsDOMDocument
type AttrGetType DOMDocumentPreferredStylesheetSetPropertyInfo = (Maybe T.Text)
type AttrLabel DOMDocumentPreferredStylesheetSetPropertyInfo = "preferred-stylesheet-set"
type AttrOrigin DOMDocumentPreferredStylesheetSetPropertyInfo = DOMDocument
attrGet _ = getDOMDocumentPreferredStylesheetSet
attrSet _ = undefined
attrConstruct _ = undefined
attrClear _ = undefined
#endif
getDOMDocumentReadyState :: (MonadIO m, IsDOMDocument o) => o -> m (Maybe T.Text)
getDOMDocumentReadyState obj = liftIO $ B.Properties.getObjectPropertyString obj "ready-state"
#if ENABLE_OVERLOADING
data DOMDocumentReadyStatePropertyInfo
instance AttrInfo DOMDocumentReadyStatePropertyInfo where
type AttrAllowedOps DOMDocumentReadyStatePropertyInfo = '[ 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint DOMDocumentReadyStatePropertyInfo = (~) ()
type AttrBaseTypeConstraint DOMDocumentReadyStatePropertyInfo = IsDOMDocument
type AttrGetType DOMDocumentReadyStatePropertyInfo = (Maybe T.Text)
type AttrLabel DOMDocumentReadyStatePropertyInfo = "ready-state"
type AttrOrigin DOMDocumentReadyStatePropertyInfo = DOMDocument
attrGet _ = getDOMDocumentReadyState
attrSet _ = undefined
attrConstruct _ = undefined
attrClear _ = undefined
#endif
getDOMDocumentReferrer :: (MonadIO m, IsDOMDocument o) => o -> m (Maybe T.Text)
getDOMDocumentReferrer obj = liftIO $ B.Properties.getObjectPropertyString obj "referrer"
#if ENABLE_OVERLOADING
data DOMDocumentReferrerPropertyInfo
instance AttrInfo DOMDocumentReferrerPropertyInfo where
type AttrAllowedOps DOMDocumentReferrerPropertyInfo = '[ 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint DOMDocumentReferrerPropertyInfo = (~) ()
type AttrBaseTypeConstraint DOMDocumentReferrerPropertyInfo = IsDOMDocument
type AttrGetType DOMDocumentReferrerPropertyInfo = (Maybe T.Text)
type AttrLabel DOMDocumentReferrerPropertyInfo = "referrer"
type AttrOrigin DOMDocumentReferrerPropertyInfo = DOMDocument
attrGet _ = getDOMDocumentReferrer
attrSet _ = undefined
attrConstruct _ = undefined
attrClear _ = undefined
#endif
getDOMDocumentScripts :: (MonadIO m, IsDOMDocument o) => o -> m (Maybe WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection)
getDOMDocumentScripts obj = liftIO $ B.Properties.getObjectPropertyObject obj "scripts" WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection
#if ENABLE_OVERLOADING
data DOMDocumentScriptsPropertyInfo
instance AttrInfo DOMDocumentScriptsPropertyInfo where
type AttrAllowedOps DOMDocumentScriptsPropertyInfo = '[ 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint DOMDocumentScriptsPropertyInfo = (~) ()
type AttrBaseTypeConstraint DOMDocumentScriptsPropertyInfo = IsDOMDocument
type AttrGetType DOMDocumentScriptsPropertyInfo = (Maybe WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection)
type AttrLabel DOMDocumentScriptsPropertyInfo = "scripts"
type AttrOrigin DOMDocumentScriptsPropertyInfo = DOMDocument
attrGet _ = getDOMDocumentScripts
attrSet _ = undefined
attrConstruct _ = undefined
attrClear _ = undefined
#endif
getDOMDocumentScrollingElement :: (MonadIO m, IsDOMDocument o) => o -> m WebKit2WebExtension.DOMElement.DOMElement
getDOMDocumentScrollingElement obj = liftIO $ checkUnexpectedNothing "getDOMDocumentScrollingElement" $ B.Properties.getObjectPropertyObject obj "scrolling-element" WebKit2WebExtension.DOMElement.DOMElement
#if ENABLE_OVERLOADING
data DOMDocumentScrollingElementPropertyInfo
instance AttrInfo DOMDocumentScrollingElementPropertyInfo where
type AttrAllowedOps DOMDocumentScrollingElementPropertyInfo = '[ 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint DOMDocumentScrollingElementPropertyInfo = (~) ()
type AttrBaseTypeConstraint DOMDocumentScrollingElementPropertyInfo = IsDOMDocument
type AttrGetType DOMDocumentScrollingElementPropertyInfo = WebKit2WebExtension.DOMElement.DOMElement
type AttrLabel DOMDocumentScrollingElementPropertyInfo = "scrolling-element"
type AttrOrigin DOMDocumentScrollingElementPropertyInfo = DOMDocument
attrGet _ = getDOMDocumentScrollingElement
attrSet _ = undefined
attrConstruct _ = undefined
attrClear _ = undefined
#endif
getDOMDocumentSelectedStylesheetSet :: (MonadIO m, IsDOMDocument o) => o -> m (Maybe T.Text)
getDOMDocumentSelectedStylesheetSet obj = liftIO $ B.Properties.getObjectPropertyString obj "selected-stylesheet-set"
setDOMDocumentSelectedStylesheetSet :: (MonadIO m, IsDOMDocument o) => o -> T.Text -> m ()
setDOMDocumentSelectedStylesheetSet obj val = liftIO $ B.Properties.setObjectPropertyString obj "selected-stylesheet-set" (Just val)
constructDOMDocumentSelectedStylesheetSet :: (IsDOMDocument o) => T.Text -> IO (GValueConstruct o)
constructDOMDocumentSelectedStylesheetSet val = B.Properties.constructObjectPropertyString "selected-stylesheet-set" (Just val)
#if ENABLE_OVERLOADING
data DOMDocumentSelectedStylesheetSetPropertyInfo
instance AttrInfo DOMDocumentSelectedStylesheetSetPropertyInfo where
type AttrAllowedOps DOMDocumentSelectedStylesheetSetPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint DOMDocumentSelectedStylesheetSetPropertyInfo = (~) T.Text
type AttrBaseTypeConstraint DOMDocumentSelectedStylesheetSetPropertyInfo = IsDOMDocument
type AttrGetType DOMDocumentSelectedStylesheetSetPropertyInfo = (Maybe T.Text)
type AttrLabel DOMDocumentSelectedStylesheetSetPropertyInfo = "selected-stylesheet-set"
type AttrOrigin DOMDocumentSelectedStylesheetSetPropertyInfo = DOMDocument
attrGet _ = getDOMDocumentSelectedStylesheetSet
attrSet _ = setDOMDocumentSelectedStylesheetSet
attrConstruct _ = constructDOMDocumentSelectedStylesheetSet
attrClear _ = undefined
#endif
getDOMDocumentStyleSheets :: (MonadIO m, IsDOMDocument o) => o -> m WebKit2WebExtension.DOMStyleSheetList.DOMStyleSheetList
getDOMDocumentStyleSheets obj = liftIO $ checkUnexpectedNothing "getDOMDocumentStyleSheets" $ B.Properties.getObjectPropertyObject obj "style-sheets" WebKit2WebExtension.DOMStyleSheetList.DOMStyleSheetList
#if ENABLE_OVERLOADING
data DOMDocumentStyleSheetsPropertyInfo
instance AttrInfo DOMDocumentStyleSheetsPropertyInfo where
type AttrAllowedOps DOMDocumentStyleSheetsPropertyInfo = '[ 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint DOMDocumentStyleSheetsPropertyInfo = (~) ()
type AttrBaseTypeConstraint DOMDocumentStyleSheetsPropertyInfo = IsDOMDocument
type AttrGetType DOMDocumentStyleSheetsPropertyInfo = WebKit2WebExtension.DOMStyleSheetList.DOMStyleSheetList
type AttrLabel DOMDocumentStyleSheetsPropertyInfo = "style-sheets"
type AttrOrigin DOMDocumentStyleSheetsPropertyInfo = DOMDocument
attrGet _ = getDOMDocumentStyleSheets
attrSet _ = undefined
attrConstruct _ = undefined
attrClear _ = undefined
#endif
getDOMDocumentTitle :: (MonadIO m, IsDOMDocument o) => o -> m (Maybe T.Text)
getDOMDocumentTitle obj = liftIO $ B.Properties.getObjectPropertyString obj "title"
setDOMDocumentTitle :: (MonadIO m, IsDOMDocument o) => o -> T.Text -> m ()
setDOMDocumentTitle obj val = liftIO $ B.Properties.setObjectPropertyString obj "title" (Just val)
constructDOMDocumentTitle :: (IsDOMDocument o) => T.Text -> IO (GValueConstruct o)
constructDOMDocumentTitle val = B.Properties.constructObjectPropertyString "title" (Just val)
#if ENABLE_OVERLOADING
data DOMDocumentTitlePropertyInfo
instance AttrInfo DOMDocumentTitlePropertyInfo where
type AttrAllowedOps DOMDocumentTitlePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint DOMDocumentTitlePropertyInfo = (~) T.Text
type AttrBaseTypeConstraint DOMDocumentTitlePropertyInfo = IsDOMDocument
type AttrGetType DOMDocumentTitlePropertyInfo = (Maybe T.Text)
type AttrLabel DOMDocumentTitlePropertyInfo = "title"
type AttrOrigin DOMDocumentTitlePropertyInfo = DOMDocument
attrGet _ = getDOMDocumentTitle
attrSet _ = setDOMDocumentTitle
attrConstruct _ = constructDOMDocumentTitle
attrClear _ = undefined
#endif
getDOMDocumentUrl :: (MonadIO m, IsDOMDocument o) => o -> m (Maybe T.Text)
getDOMDocumentUrl obj = liftIO $ B.Properties.getObjectPropertyString obj "url"
#if ENABLE_OVERLOADING
data DOMDocumentUrlPropertyInfo
instance AttrInfo DOMDocumentUrlPropertyInfo where
type AttrAllowedOps DOMDocumentUrlPropertyInfo = '[ 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint DOMDocumentUrlPropertyInfo = (~) ()
type AttrBaseTypeConstraint DOMDocumentUrlPropertyInfo = IsDOMDocument
type AttrGetType DOMDocumentUrlPropertyInfo = (Maybe T.Text)
type AttrLabel DOMDocumentUrlPropertyInfo = "url"
type AttrOrigin DOMDocumentUrlPropertyInfo = DOMDocument
attrGet _ = getDOMDocumentUrl
attrSet _ = undefined
attrConstruct _ = undefined
attrClear _ = undefined
#endif
getDOMDocumentVisibilityState :: (MonadIO m, IsDOMDocument o) => o -> m (Maybe T.Text)
getDOMDocumentVisibilityState obj = liftIO $ B.Properties.getObjectPropertyString obj "visibility-state"
#if ENABLE_OVERLOADING
data DOMDocumentVisibilityStatePropertyInfo
instance AttrInfo DOMDocumentVisibilityStatePropertyInfo where
type AttrAllowedOps DOMDocumentVisibilityStatePropertyInfo = '[ 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint DOMDocumentVisibilityStatePropertyInfo = (~) ()
type AttrBaseTypeConstraint DOMDocumentVisibilityStatePropertyInfo = IsDOMDocument
type AttrGetType DOMDocumentVisibilityStatePropertyInfo = (Maybe T.Text)
type AttrLabel DOMDocumentVisibilityStatePropertyInfo = "visibility-state"
type AttrOrigin DOMDocumentVisibilityStatePropertyInfo = DOMDocument
attrGet _ = getDOMDocumentVisibilityState
attrSet _ = undefined
attrConstruct _ = undefined
attrClear _ = undefined
#endif
getDOMDocumentWebkitCurrentFullScreenElement :: (MonadIO m, IsDOMDocument o) => o -> m (Maybe WebKit2WebExtension.DOMElement.DOMElement)
getDOMDocumentWebkitCurrentFullScreenElement obj = liftIO $ B.Properties.getObjectPropertyObject obj "webkit-current-full-screen-element" WebKit2WebExtension.DOMElement.DOMElement
#if ENABLE_OVERLOADING
data DOMDocumentWebkitCurrentFullScreenElementPropertyInfo
instance AttrInfo DOMDocumentWebkitCurrentFullScreenElementPropertyInfo where
type AttrAllowedOps DOMDocumentWebkitCurrentFullScreenElementPropertyInfo = '[ 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint DOMDocumentWebkitCurrentFullScreenElementPropertyInfo = (~) ()
type AttrBaseTypeConstraint DOMDocumentWebkitCurrentFullScreenElementPropertyInfo = IsDOMDocument
type AttrGetType DOMDocumentWebkitCurrentFullScreenElementPropertyInfo = (Maybe WebKit2WebExtension.DOMElement.DOMElement)
type AttrLabel DOMDocumentWebkitCurrentFullScreenElementPropertyInfo = "webkit-current-full-screen-element"
type AttrOrigin DOMDocumentWebkitCurrentFullScreenElementPropertyInfo = DOMDocument
attrGet _ = getDOMDocumentWebkitCurrentFullScreenElement
attrSet _ = undefined
attrConstruct _ = undefined
attrClear _ = undefined
#endif
getDOMDocumentWebkitFullScreenKeyboardInputAllowed :: (MonadIO m, IsDOMDocument o) => o -> m Bool
getDOMDocumentWebkitFullScreenKeyboardInputAllowed obj = liftIO $ B.Properties.getObjectPropertyBool obj "webkit-full-screen-keyboard-input-allowed"
#if ENABLE_OVERLOADING
data DOMDocumentWebkitFullScreenKeyboardInputAllowedPropertyInfo
instance AttrInfo DOMDocumentWebkitFullScreenKeyboardInputAllowedPropertyInfo where
type AttrAllowedOps DOMDocumentWebkitFullScreenKeyboardInputAllowedPropertyInfo = '[ 'AttrGet]
type AttrSetTypeConstraint DOMDocumentWebkitFullScreenKeyboardInputAllowedPropertyInfo = (~) ()
type AttrBaseTypeConstraint DOMDocumentWebkitFullScreenKeyboardInputAllowedPropertyInfo = IsDOMDocument
type AttrGetType DOMDocumentWebkitFullScreenKeyboardInputAllowedPropertyInfo = Bool
type AttrLabel DOMDocumentWebkitFullScreenKeyboardInputAllowedPropertyInfo = "webkit-full-screen-keyboard-input-allowed"
type AttrOrigin DOMDocumentWebkitFullScreenKeyboardInputAllowedPropertyInfo = DOMDocument
attrGet _ = getDOMDocumentWebkitFullScreenKeyboardInputAllowed
attrSet _ = undefined
attrConstruct _ = undefined
attrClear _ = undefined
#endif
getDOMDocumentWebkitFullscreenElement :: (MonadIO m, IsDOMDocument o) => o -> m WebKit2WebExtension.DOMElement.DOMElement
getDOMDocumentWebkitFullscreenElement obj = liftIO $ checkUnexpectedNothing "getDOMDocumentWebkitFullscreenElement" $ B.Properties.getObjectPropertyObject obj "webkit-fullscreen-element" WebKit2WebExtension.DOMElement.DOMElement
#if ENABLE_OVERLOADING
data DOMDocumentWebkitFullscreenElementPropertyInfo
instance AttrInfo DOMDocumentWebkitFullscreenElementPropertyInfo where
type AttrAllowedOps DOMDocumentWebkitFullscreenElementPropertyInfo = '[ 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint DOMDocumentWebkitFullscreenElementPropertyInfo = (~) ()
type AttrBaseTypeConstraint DOMDocumentWebkitFullscreenElementPropertyInfo = IsDOMDocument
type AttrGetType DOMDocumentWebkitFullscreenElementPropertyInfo = WebKit2WebExtension.DOMElement.DOMElement
type AttrLabel DOMDocumentWebkitFullscreenElementPropertyInfo = "webkit-fullscreen-element"
type AttrOrigin DOMDocumentWebkitFullscreenElementPropertyInfo = DOMDocument
attrGet _ = getDOMDocumentWebkitFullscreenElement
attrSet _ = undefined
attrConstruct _ = undefined
attrClear _ = undefined
#endif
getDOMDocumentWebkitFullscreenEnabled :: (MonadIO m, IsDOMDocument o) => o -> m Bool
getDOMDocumentWebkitFullscreenEnabled obj = liftIO $ B.Properties.getObjectPropertyBool obj "webkit-fullscreen-enabled"
#if ENABLE_OVERLOADING
data DOMDocumentWebkitFullscreenEnabledPropertyInfo
instance AttrInfo DOMDocumentWebkitFullscreenEnabledPropertyInfo where
type AttrAllowedOps DOMDocumentWebkitFullscreenEnabledPropertyInfo = '[ 'AttrGet]
type AttrSetTypeConstraint DOMDocumentWebkitFullscreenEnabledPropertyInfo = (~) ()
type AttrBaseTypeConstraint DOMDocumentWebkitFullscreenEnabledPropertyInfo = IsDOMDocument
type AttrGetType DOMDocumentWebkitFullscreenEnabledPropertyInfo = Bool
type AttrLabel DOMDocumentWebkitFullscreenEnabledPropertyInfo = "webkit-fullscreen-enabled"
type AttrOrigin DOMDocumentWebkitFullscreenEnabledPropertyInfo = DOMDocument
attrGet _ = getDOMDocumentWebkitFullscreenEnabled
attrSet _ = undefined
attrConstruct _ = undefined
attrClear _ = undefined
#endif
getDOMDocumentWebkitIsFullScreen :: (MonadIO m, IsDOMDocument o) => o -> m Bool
getDOMDocumentWebkitIsFullScreen obj = liftIO $ B.Properties.getObjectPropertyBool obj "webkit-is-full-screen"
#if ENABLE_OVERLOADING
data DOMDocumentWebkitIsFullScreenPropertyInfo
instance AttrInfo DOMDocumentWebkitIsFullScreenPropertyInfo where
type AttrAllowedOps DOMDocumentWebkitIsFullScreenPropertyInfo = '[ 'AttrGet]
type AttrSetTypeConstraint DOMDocumentWebkitIsFullScreenPropertyInfo = (~) ()
type AttrBaseTypeConstraint DOMDocumentWebkitIsFullScreenPropertyInfo = IsDOMDocument
type AttrGetType DOMDocumentWebkitIsFullScreenPropertyInfo = Bool
type AttrLabel DOMDocumentWebkitIsFullScreenPropertyInfo = "webkit-is-full-screen"
type AttrOrigin DOMDocumentWebkitIsFullScreenPropertyInfo = DOMDocument
attrGet _ = getDOMDocumentWebkitIsFullScreen
attrSet _ = undefined
attrConstruct _ = undefined
attrClear _ = undefined
#endif
getDOMDocumentXmlEncoding :: (MonadIO m, IsDOMDocument o) => o -> m (Maybe T.Text)
getDOMDocumentXmlEncoding obj = liftIO $ B.Properties.getObjectPropertyString obj "xml-encoding"
#if ENABLE_OVERLOADING
data DOMDocumentXmlEncodingPropertyInfo
instance AttrInfo DOMDocumentXmlEncodingPropertyInfo where
type AttrAllowedOps DOMDocumentXmlEncodingPropertyInfo = '[ 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint DOMDocumentXmlEncodingPropertyInfo = (~) ()
type AttrBaseTypeConstraint DOMDocumentXmlEncodingPropertyInfo = IsDOMDocument
type AttrGetType DOMDocumentXmlEncodingPropertyInfo = (Maybe T.Text)
type AttrLabel DOMDocumentXmlEncodingPropertyInfo = "xml-encoding"
type AttrOrigin DOMDocumentXmlEncodingPropertyInfo = DOMDocument
attrGet _ = getDOMDocumentXmlEncoding
attrSet _ = undefined
attrConstruct _ = undefined
attrClear _ = undefined
#endif
getDOMDocumentXmlStandalone :: (MonadIO m, IsDOMDocument o) => o -> m Bool
getDOMDocumentXmlStandalone obj = liftIO $ B.Properties.getObjectPropertyBool obj "xml-standalone"
setDOMDocumentXmlStandalone :: (MonadIO m, IsDOMDocument o) => o -> Bool -> m ()
setDOMDocumentXmlStandalone obj val = liftIO $ B.Properties.setObjectPropertyBool obj "xml-standalone" val
constructDOMDocumentXmlStandalone :: (IsDOMDocument o) => Bool -> IO (GValueConstruct o)
constructDOMDocumentXmlStandalone val = B.Properties.constructObjectPropertyBool "xml-standalone" val
#if ENABLE_OVERLOADING
data DOMDocumentXmlStandalonePropertyInfo
instance AttrInfo DOMDocumentXmlStandalonePropertyInfo where
type AttrAllowedOps DOMDocumentXmlStandalonePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint DOMDocumentXmlStandalonePropertyInfo = (~) Bool
type AttrBaseTypeConstraint DOMDocumentXmlStandalonePropertyInfo = IsDOMDocument
type AttrGetType DOMDocumentXmlStandalonePropertyInfo = Bool
type AttrLabel DOMDocumentXmlStandalonePropertyInfo = "xml-standalone"
type AttrOrigin DOMDocumentXmlStandalonePropertyInfo = DOMDocument
attrGet _ = getDOMDocumentXmlStandalone
attrSet _ = setDOMDocumentXmlStandalone
attrConstruct _ = constructDOMDocumentXmlStandalone
attrClear _ = undefined
#endif
getDOMDocumentXmlVersion :: (MonadIO m, IsDOMDocument o) => o -> m (Maybe T.Text)
getDOMDocumentXmlVersion obj = liftIO $ B.Properties.getObjectPropertyString obj "xml-version"
setDOMDocumentXmlVersion :: (MonadIO m, IsDOMDocument o) => o -> T.Text -> m ()
setDOMDocumentXmlVersion obj val = liftIO $ B.Properties.setObjectPropertyString obj "xml-version" (Just val)
constructDOMDocumentXmlVersion :: (IsDOMDocument o) => T.Text -> IO (GValueConstruct o)
constructDOMDocumentXmlVersion val = B.Properties.constructObjectPropertyString "xml-version" (Just val)
clearDOMDocumentXmlVersion :: (MonadIO m, IsDOMDocument o) => o -> m ()
clearDOMDocumentXmlVersion obj = liftIO $ B.Properties.setObjectPropertyString obj "xml-version" (Nothing :: Maybe T.Text)
#if ENABLE_OVERLOADING
data DOMDocumentXmlVersionPropertyInfo
instance AttrInfo DOMDocumentXmlVersionPropertyInfo where
type AttrAllowedOps DOMDocumentXmlVersionPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint DOMDocumentXmlVersionPropertyInfo = (~) T.Text
type AttrBaseTypeConstraint DOMDocumentXmlVersionPropertyInfo = IsDOMDocument
type AttrGetType DOMDocumentXmlVersionPropertyInfo = (Maybe T.Text)
type AttrLabel DOMDocumentXmlVersionPropertyInfo = "xml-version"
type AttrOrigin DOMDocumentXmlVersionPropertyInfo = DOMDocument
attrGet _ = getDOMDocumentXmlVersion
attrSet _ = setDOMDocumentXmlVersion
attrConstruct _ = constructDOMDocumentXmlVersion
attrClear _ = clearDOMDocumentXmlVersion
#endif
#if ENABLE_OVERLOADING
instance O.HasAttributeList DOMDocument
type instance O.AttributeList DOMDocument = DOMDocumentAttributeList
type DOMDocumentAttributeList = ('[ '("activeElement", DOMDocumentActiveElementPropertyInfo), '("anchors", DOMDocumentAnchorsPropertyInfo), '("applets", DOMDocumentAppletsPropertyInfo), '("baseUri", WebKit2WebExtension.DOMNode.DOMNodeBaseUriPropertyInfo), '("body", DOMDocumentBodyPropertyInfo), '("characterSet", DOMDocumentCharacterSetPropertyInfo), '("charset", DOMDocumentCharsetPropertyInfo), '("childElementCount", DOMDocumentChildElementCountPropertyInfo), '("childNodes", WebKit2WebExtension.DOMNode.DOMNodeChildNodesPropertyInfo), '("children", DOMDocumentChildrenPropertyInfo), '("compatMode", DOMDocumentCompatModePropertyInfo), '("contentType", DOMDocumentContentTypePropertyInfo), '("cookie", DOMDocumentCookiePropertyInfo), '("coreObject", WebKit2WebExtension.DOMObject.DOMObjectCoreObjectPropertyInfo), '("currentScript", DOMDocumentCurrentScriptPropertyInfo), '("defaultView", DOMDocumentDefaultViewPropertyInfo), '("designMode", DOMDocumentDesignModePropertyInfo), '("dir", DOMDocumentDirPropertyInfo), '("doctype", DOMDocumentDoctypePropertyInfo), '("documentElement", DOMDocumentDocumentElementPropertyInfo), '("documentUri", DOMDocumentDocumentUriPropertyInfo), '("domain", DOMDocumentDomainPropertyInfo), '("embeds", DOMDocumentEmbedsPropertyInfo), '("firstChild", WebKit2WebExtension.DOMNode.DOMNodeFirstChildPropertyInfo), '("firstElementChild", DOMDocumentFirstElementChildPropertyInfo), '("forms", DOMDocumentFormsPropertyInfo), '("head", DOMDocumentHeadPropertyInfo), '("hidden", DOMDocumentHiddenPropertyInfo), '("images", DOMDocumentImagesPropertyInfo), '("implementation", DOMDocumentImplementationPropertyInfo), '("inputEncoding", DOMDocumentInputEncodingPropertyInfo), '("lastChild", WebKit2WebExtension.DOMNode.DOMNodeLastChildPropertyInfo), '("lastElementChild", DOMDocumentLastElementChildPropertyInfo), '("lastModified", DOMDocumentLastModifiedPropertyInfo), '("links", DOMDocumentLinksPropertyInfo), '("nextSibling", WebKit2WebExtension.DOMNode.DOMNodeNextSiblingPropertyInfo), '("nodeName", WebKit2WebExtension.DOMNode.DOMNodeNodeNamePropertyInfo), '("nodeType", WebKit2WebExtension.DOMNode.DOMNodeNodeTypePropertyInfo), '("nodeValue", WebKit2WebExtension.DOMNode.DOMNodeNodeValuePropertyInfo), '("origin", DOMDocumentOriginPropertyInfo), '("ownerDocument", WebKit2WebExtension.DOMNode.DOMNodeOwnerDocumentPropertyInfo), '("parentElement", WebKit2WebExtension.DOMNode.DOMNodeParentElementPropertyInfo), '("parentNode", WebKit2WebExtension.DOMNode.DOMNodeParentNodePropertyInfo), '("plugins", DOMDocumentPluginsPropertyInfo), '("pointerLockElement", DOMDocumentPointerLockElementPropertyInfo), '("preferredStylesheetSet", DOMDocumentPreferredStylesheetSetPropertyInfo), '("previousSibling", WebKit2WebExtension.DOMNode.DOMNodePreviousSiblingPropertyInfo), '("readyState", DOMDocumentReadyStatePropertyInfo), '("referrer", DOMDocumentReferrerPropertyInfo), '("scripts", DOMDocumentScriptsPropertyInfo), '("scrollingElement", DOMDocumentScrollingElementPropertyInfo), '("selectedStylesheetSet", DOMDocumentSelectedStylesheetSetPropertyInfo), '("styleSheets", DOMDocumentStyleSheetsPropertyInfo), '("textContent", WebKit2WebExtension.DOMNode.DOMNodeTextContentPropertyInfo), '("title", DOMDocumentTitlePropertyInfo), '("url", DOMDocumentUrlPropertyInfo), '("visibilityState", DOMDocumentVisibilityStatePropertyInfo), '("webkitCurrentFullScreenElement", DOMDocumentWebkitCurrentFullScreenElementPropertyInfo), '("webkitFullScreenKeyboardInputAllowed", DOMDocumentWebkitFullScreenKeyboardInputAllowedPropertyInfo), '("webkitFullscreenElement", DOMDocumentWebkitFullscreenElementPropertyInfo), '("webkitFullscreenEnabled", DOMDocumentWebkitFullscreenEnabledPropertyInfo), '("webkitIsFullScreen", DOMDocumentWebkitIsFullScreenPropertyInfo), '("xmlEncoding", DOMDocumentXmlEncodingPropertyInfo), '("xmlStandalone", DOMDocumentXmlStandalonePropertyInfo), '("xmlVersion", DOMDocumentXmlVersionPropertyInfo)] :: [(Symbol, *)])
#endif
#if ENABLE_OVERLOADING
dOMDocumentActiveElement :: AttrLabelProxy "activeElement"
dOMDocumentActiveElement = AttrLabelProxy
dOMDocumentAnchors :: AttrLabelProxy "anchors"
dOMDocumentAnchors = AttrLabelProxy
dOMDocumentApplets :: AttrLabelProxy "applets"
dOMDocumentApplets = AttrLabelProxy
dOMDocumentBody :: AttrLabelProxy "body"
dOMDocumentBody = AttrLabelProxy
dOMDocumentCharacterSet :: AttrLabelProxy "characterSet"
dOMDocumentCharacterSet = AttrLabelProxy
dOMDocumentCharset :: AttrLabelProxy "charset"
dOMDocumentCharset = AttrLabelProxy
dOMDocumentChildElementCount :: AttrLabelProxy "childElementCount"
dOMDocumentChildElementCount = AttrLabelProxy
dOMDocumentChildren :: AttrLabelProxy "children"
dOMDocumentChildren = AttrLabelProxy
dOMDocumentCompatMode :: AttrLabelProxy "compatMode"
dOMDocumentCompatMode = AttrLabelProxy
dOMDocumentContentType :: AttrLabelProxy "contentType"
dOMDocumentContentType = AttrLabelProxy
dOMDocumentCookie :: AttrLabelProxy "cookie"
dOMDocumentCookie = AttrLabelProxy
dOMDocumentCurrentScript :: AttrLabelProxy "currentScript"
dOMDocumentCurrentScript = AttrLabelProxy
dOMDocumentDefaultView :: AttrLabelProxy "defaultView"
dOMDocumentDefaultView = AttrLabelProxy
dOMDocumentDesignMode :: AttrLabelProxy "designMode"
dOMDocumentDesignMode = AttrLabelProxy
dOMDocumentDir :: AttrLabelProxy "dir"
dOMDocumentDir = AttrLabelProxy
dOMDocumentDoctype :: AttrLabelProxy "doctype"
dOMDocumentDoctype = AttrLabelProxy
dOMDocumentDocumentElement :: AttrLabelProxy "documentElement"
dOMDocumentDocumentElement = AttrLabelProxy
dOMDocumentDocumentUri :: AttrLabelProxy "documentUri"
dOMDocumentDocumentUri = AttrLabelProxy
dOMDocumentDomain :: AttrLabelProxy "domain"
dOMDocumentDomain = AttrLabelProxy
dOMDocumentEmbeds :: AttrLabelProxy "embeds"
dOMDocumentEmbeds = AttrLabelProxy
dOMDocumentFirstElementChild :: AttrLabelProxy "firstElementChild"
dOMDocumentFirstElementChild = AttrLabelProxy
dOMDocumentForms :: AttrLabelProxy "forms"
dOMDocumentForms = AttrLabelProxy
dOMDocumentHead :: AttrLabelProxy "head"
dOMDocumentHead = AttrLabelProxy
dOMDocumentHidden :: AttrLabelProxy "hidden"
dOMDocumentHidden = AttrLabelProxy
dOMDocumentImages :: AttrLabelProxy "images"
dOMDocumentImages = AttrLabelProxy
dOMDocumentImplementation :: AttrLabelProxy "implementation"
dOMDocumentImplementation = AttrLabelProxy
dOMDocumentInputEncoding :: AttrLabelProxy "inputEncoding"
dOMDocumentInputEncoding = AttrLabelProxy
dOMDocumentLastElementChild :: AttrLabelProxy "lastElementChild"
dOMDocumentLastElementChild = AttrLabelProxy
dOMDocumentLastModified :: AttrLabelProxy "lastModified"
dOMDocumentLastModified = AttrLabelProxy
dOMDocumentLinks :: AttrLabelProxy "links"
dOMDocumentLinks = AttrLabelProxy
dOMDocumentOrigin :: AttrLabelProxy "origin"
dOMDocumentOrigin = AttrLabelProxy
dOMDocumentPlugins :: AttrLabelProxy "plugins"
dOMDocumentPlugins = AttrLabelProxy
dOMDocumentPointerLockElement :: AttrLabelProxy "pointerLockElement"
dOMDocumentPointerLockElement = AttrLabelProxy
dOMDocumentPreferredStylesheetSet :: AttrLabelProxy "preferredStylesheetSet"
dOMDocumentPreferredStylesheetSet = AttrLabelProxy
dOMDocumentReadyState :: AttrLabelProxy "readyState"
dOMDocumentReadyState = AttrLabelProxy
dOMDocumentReferrer :: AttrLabelProxy "referrer"
dOMDocumentReferrer = AttrLabelProxy
dOMDocumentScripts :: AttrLabelProxy "scripts"
dOMDocumentScripts = AttrLabelProxy
dOMDocumentScrollingElement :: AttrLabelProxy "scrollingElement"
dOMDocumentScrollingElement = AttrLabelProxy
dOMDocumentSelectedStylesheetSet :: AttrLabelProxy "selectedStylesheetSet"
dOMDocumentSelectedStylesheetSet = AttrLabelProxy
dOMDocumentStyleSheets :: AttrLabelProxy "styleSheets"
dOMDocumentStyleSheets = AttrLabelProxy
dOMDocumentTitle :: AttrLabelProxy "title"
dOMDocumentTitle = AttrLabelProxy
dOMDocumentUrl :: AttrLabelProxy "url"
dOMDocumentUrl = AttrLabelProxy
dOMDocumentVisibilityState :: AttrLabelProxy "visibilityState"
dOMDocumentVisibilityState = AttrLabelProxy
dOMDocumentWebkitCurrentFullScreenElement :: AttrLabelProxy "webkitCurrentFullScreenElement"
dOMDocumentWebkitCurrentFullScreenElement = AttrLabelProxy
dOMDocumentWebkitFullScreenKeyboardInputAllowed :: AttrLabelProxy "webkitFullScreenKeyboardInputAllowed"
dOMDocumentWebkitFullScreenKeyboardInputAllowed = AttrLabelProxy
dOMDocumentWebkitFullscreenElement :: AttrLabelProxy "webkitFullscreenElement"
dOMDocumentWebkitFullscreenElement = AttrLabelProxy
dOMDocumentWebkitFullscreenEnabled :: AttrLabelProxy "webkitFullscreenEnabled"
dOMDocumentWebkitFullscreenEnabled = AttrLabelProxy
dOMDocumentWebkitIsFullScreen :: AttrLabelProxy "webkitIsFullScreen"
dOMDocumentWebkitIsFullScreen = AttrLabelProxy
dOMDocumentXmlEncoding :: AttrLabelProxy "xmlEncoding"
dOMDocumentXmlEncoding = AttrLabelProxy
dOMDocumentXmlStandalone :: AttrLabelProxy "xmlStandalone"
dOMDocumentXmlStandalone = AttrLabelProxy
dOMDocumentXmlVersion :: AttrLabelProxy "xmlVersion"
dOMDocumentXmlVersion = AttrLabelProxy
#endif
#if ENABLE_OVERLOADING
type instance O.SignalList DOMDocument = DOMDocumentSignalList
type DOMDocumentSignalList = ('[ '("notify", GObject.Object.ObjectNotifySignalInfo)] :: [(Symbol, *)])
#endif
foreign import ccall "webkit_dom_document_adopt_node" webkit_dom_document_adopt_node ::
Ptr DOMDocument ->
Ptr WebKit2WebExtension.DOMNode.DOMNode ->
Ptr (Ptr GError) ->
IO (Ptr WebKit2WebExtension.DOMNode.DOMNode)
{-# DEPRECATED dOMDocumentAdoptNode ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentAdoptNode ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a, WebKit2WebExtension.DOMNode.IsDOMNode b) =>
a
-> b
-> m WebKit2WebExtension.DOMNode.DOMNode
dOMDocumentAdoptNode self source = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
source' <- unsafeManagedPtrCastPtr source
onException (do
result <- propagateGError $ webkit_dom_document_adopt_node self' source'
checkUnexpectedReturnNULL "dOMDocumentAdoptNode" result
result' <- (newObject WebKit2WebExtension.DOMNode.DOMNode) result
touchManagedPtr self
touchManagedPtr source
return result'
) (do
return ()
)
#if ENABLE_OVERLOADING
data DOMDocumentAdoptNodeMethodInfo
instance (signature ~ (b -> m WebKit2WebExtension.DOMNode.DOMNode), MonadIO m, IsDOMDocument a, WebKit2WebExtension.DOMNode.IsDOMNode b) => O.MethodInfo DOMDocumentAdoptNodeMethodInfo a signature where
overloadedMethod _ = dOMDocumentAdoptNode
#endif
foreign import ccall "webkit_dom_document_caret_range_from_point" webkit_dom_document_caret_range_from_point ::
Ptr DOMDocument ->
CLong ->
CLong ->
IO (Ptr WebKit2WebExtension.DOMRange.DOMRange)
{-# DEPRECATED dOMDocumentCaretRangeFromPoint ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentCaretRangeFromPoint ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> CLong
-> CLong
-> m WebKit2WebExtension.DOMRange.DOMRange
dOMDocumentCaretRangeFromPoint self x y = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
result <- webkit_dom_document_caret_range_from_point self' x y
checkUnexpectedReturnNULL "dOMDocumentCaretRangeFromPoint" result
result' <- (wrapObject WebKit2WebExtension.DOMRange.DOMRange) result
touchManagedPtr self
return result'
#if ENABLE_OVERLOADING
data DOMDocumentCaretRangeFromPointMethodInfo
instance (signature ~ (CLong -> CLong -> m WebKit2WebExtension.DOMRange.DOMRange), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentCaretRangeFromPointMethodInfo a signature where
overloadedMethod _ = dOMDocumentCaretRangeFromPoint
#endif
foreign import ccall "webkit_dom_document_create_attribute" webkit_dom_document_create_attribute ::
Ptr DOMDocument ->
CString ->
Ptr (Ptr GError) ->
IO (Ptr WebKit2WebExtension.DOMAttr.DOMAttr)
{-# DEPRECATED dOMDocumentCreateAttribute ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentCreateAttribute ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> T.Text
-> m WebKit2WebExtension.DOMAttr.DOMAttr
dOMDocumentCreateAttribute self name = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
name' <- textToCString name
onException (do
result <- propagateGError $ webkit_dom_document_create_attribute self' name'
checkUnexpectedReturnNULL "dOMDocumentCreateAttribute" result
result' <- (newObject WebKit2WebExtension.DOMAttr.DOMAttr) result
touchManagedPtr self
freeMem name'
return result'
) (do
freeMem name'
)
#if ENABLE_OVERLOADING
data DOMDocumentCreateAttributeMethodInfo
instance (signature ~ (T.Text -> m WebKit2WebExtension.DOMAttr.DOMAttr), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentCreateAttributeMethodInfo a signature where
overloadedMethod _ = dOMDocumentCreateAttribute
#endif
foreign import ccall "webkit_dom_document_create_attribute_ns" webkit_dom_document_create_attribute_ns ::
Ptr DOMDocument ->
CString ->
CString ->
Ptr (Ptr GError) ->
IO (Ptr WebKit2WebExtension.DOMAttr.DOMAttr)
{-# DEPRECATED dOMDocumentCreateAttributeNs ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentCreateAttributeNs ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> Maybe (T.Text)
-> T.Text
-> m WebKit2WebExtension.DOMAttr.DOMAttr
dOMDocumentCreateAttributeNs self namespaceURI qualifiedName = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
maybeNamespaceURI <- case namespaceURI of
Nothing -> return nullPtr
Just jNamespaceURI -> do
jNamespaceURI' <- textToCString jNamespaceURI
return jNamespaceURI'
qualifiedName' <- textToCString qualifiedName
onException (do
result <- propagateGError $ webkit_dom_document_create_attribute_ns self' maybeNamespaceURI qualifiedName'
checkUnexpectedReturnNULL "dOMDocumentCreateAttributeNs" result
result' <- (newObject WebKit2WebExtension.DOMAttr.DOMAttr) result
touchManagedPtr self
freeMem maybeNamespaceURI
freeMem qualifiedName'
return result'
) (do
freeMem maybeNamespaceURI
freeMem qualifiedName'
)
#if ENABLE_OVERLOADING
data DOMDocumentCreateAttributeNsMethodInfo
instance (signature ~ (Maybe (T.Text) -> T.Text -> m WebKit2WebExtension.DOMAttr.DOMAttr), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentCreateAttributeNsMethodInfo a signature where
overloadedMethod _ = dOMDocumentCreateAttributeNs
#endif
foreign import ccall "webkit_dom_document_create_cdata_section" webkit_dom_document_create_cdata_section ::
Ptr DOMDocument ->
CString ->
Ptr (Ptr GError) ->
IO (Ptr WebKit2WebExtension.DOMCDATASection.DOMCDATASection)
{-# DEPRECATED dOMDocumentCreateCdataSection ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentCreateCdataSection ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> T.Text
-> m WebKit2WebExtension.DOMCDATASection.DOMCDATASection
dOMDocumentCreateCdataSection self data_ = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
data_' <- textToCString data_
onException (do
result <- propagateGError $ webkit_dom_document_create_cdata_section self' data_'
checkUnexpectedReturnNULL "dOMDocumentCreateCdataSection" result
result' <- (newObject WebKit2WebExtension.DOMCDATASection.DOMCDATASection) result
touchManagedPtr self
freeMem data_'
return result'
) (do
freeMem data_'
)
#if ENABLE_OVERLOADING
data DOMDocumentCreateCdataSectionMethodInfo
instance (signature ~ (T.Text -> m WebKit2WebExtension.DOMCDATASection.DOMCDATASection), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentCreateCdataSectionMethodInfo a signature where
overloadedMethod _ = dOMDocumentCreateCdataSection
#endif
foreign import ccall "webkit_dom_document_create_comment" webkit_dom_document_create_comment ::
Ptr DOMDocument ->
CString ->
IO (Ptr WebKit2WebExtension.DOMComment.DOMComment)
{-# DEPRECATED dOMDocumentCreateComment ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentCreateComment ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> T.Text
-> m WebKit2WebExtension.DOMComment.DOMComment
dOMDocumentCreateComment self data_ = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
data_' <- textToCString data_
result <- webkit_dom_document_create_comment self' data_'
checkUnexpectedReturnNULL "dOMDocumentCreateComment" result
result' <- (newObject WebKit2WebExtension.DOMComment.DOMComment) result
touchManagedPtr self
freeMem data_'
return result'
#if ENABLE_OVERLOADING
data DOMDocumentCreateCommentMethodInfo
instance (signature ~ (T.Text -> m WebKit2WebExtension.DOMComment.DOMComment), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentCreateCommentMethodInfo a signature where
overloadedMethod _ = dOMDocumentCreateComment
#endif
foreign import ccall "webkit_dom_document_create_css_style_declaration" webkit_dom_document_create_css_style_declaration ::
Ptr DOMDocument ->
IO (Ptr WebKit2WebExtension.DOMCSSStyleDeclaration.DOMCSSStyleDeclaration)
{-# DEPRECATED dOMDocumentCreateCssStyleDeclaration ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentCreateCssStyleDeclaration ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> m WebKit2WebExtension.DOMCSSStyleDeclaration.DOMCSSStyleDeclaration
dOMDocumentCreateCssStyleDeclaration self = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
result <- webkit_dom_document_create_css_style_declaration self'
checkUnexpectedReturnNULL "dOMDocumentCreateCssStyleDeclaration" result
result' <- (wrapObject WebKit2WebExtension.DOMCSSStyleDeclaration.DOMCSSStyleDeclaration) result
touchManagedPtr self
return result'
#if ENABLE_OVERLOADING
data DOMDocumentCreateCssStyleDeclarationMethodInfo
instance (signature ~ (m WebKit2WebExtension.DOMCSSStyleDeclaration.DOMCSSStyleDeclaration), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentCreateCssStyleDeclarationMethodInfo a signature where
overloadedMethod _ = dOMDocumentCreateCssStyleDeclaration
#endif
foreign import ccall "webkit_dom_document_create_document_fragment" webkit_dom_document_create_document_fragment ::
Ptr DOMDocument ->
IO (Ptr WebKit2WebExtension.DOMDocumentFragment.DOMDocumentFragment)
{-# DEPRECATED dOMDocumentCreateDocumentFragment ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentCreateDocumentFragment ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> m WebKit2WebExtension.DOMDocumentFragment.DOMDocumentFragment
dOMDocumentCreateDocumentFragment self = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
result <- webkit_dom_document_create_document_fragment self'
checkUnexpectedReturnNULL "dOMDocumentCreateDocumentFragment" result
result' <- (newObject WebKit2WebExtension.DOMDocumentFragment.DOMDocumentFragment) result
touchManagedPtr self
return result'
#if ENABLE_OVERLOADING
data DOMDocumentCreateDocumentFragmentMethodInfo
instance (signature ~ (m WebKit2WebExtension.DOMDocumentFragment.DOMDocumentFragment), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentCreateDocumentFragmentMethodInfo a signature where
overloadedMethod _ = dOMDocumentCreateDocumentFragment
#endif
foreign import ccall "webkit_dom_document_create_element" webkit_dom_document_create_element ::
Ptr DOMDocument ->
CString ->
Ptr (Ptr GError) ->
IO (Ptr WebKit2WebExtension.DOMElement.DOMElement)
{-# DEPRECATED dOMDocumentCreateElement ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentCreateElement ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> T.Text
-> m WebKit2WebExtension.DOMElement.DOMElement
dOMDocumentCreateElement self tagName = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
tagName' <- textToCString tagName
onException (do
result <- propagateGError $ webkit_dom_document_create_element self' tagName'
checkUnexpectedReturnNULL "dOMDocumentCreateElement" result
result' <- (newObject WebKit2WebExtension.DOMElement.DOMElement) result
touchManagedPtr self
freeMem tagName'
return result'
) (do
freeMem tagName'
)
#if ENABLE_OVERLOADING
data DOMDocumentCreateElementMethodInfo
instance (signature ~ (T.Text -> m WebKit2WebExtension.DOMElement.DOMElement), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentCreateElementMethodInfo a signature where
overloadedMethod _ = dOMDocumentCreateElement
#endif
foreign import ccall "webkit_dom_document_create_element_ns" webkit_dom_document_create_element_ns ::
Ptr DOMDocument ->
CString ->
CString ->
Ptr (Ptr GError) ->
IO (Ptr WebKit2WebExtension.DOMElement.DOMElement)
{-# DEPRECATED dOMDocumentCreateElementNs ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentCreateElementNs ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> Maybe (T.Text)
-> T.Text
-> m WebKit2WebExtension.DOMElement.DOMElement
dOMDocumentCreateElementNs self namespaceURI qualifiedName = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
maybeNamespaceURI <- case namespaceURI of
Nothing -> return nullPtr
Just jNamespaceURI -> do
jNamespaceURI' <- textToCString jNamespaceURI
return jNamespaceURI'
qualifiedName' <- textToCString qualifiedName
onException (do
result <- propagateGError $ webkit_dom_document_create_element_ns self' maybeNamespaceURI qualifiedName'
checkUnexpectedReturnNULL "dOMDocumentCreateElementNs" result
result' <- (newObject WebKit2WebExtension.DOMElement.DOMElement) result
touchManagedPtr self
freeMem maybeNamespaceURI
freeMem qualifiedName'
return result'
) (do
freeMem maybeNamespaceURI
freeMem qualifiedName'
)
#if ENABLE_OVERLOADING
data DOMDocumentCreateElementNsMethodInfo
instance (signature ~ (Maybe (T.Text) -> T.Text -> m WebKit2WebExtension.DOMElement.DOMElement), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentCreateElementNsMethodInfo a signature where
overloadedMethod _ = dOMDocumentCreateElementNs
#endif
foreign import ccall "webkit_dom_document_create_entity_reference" webkit_dom_document_create_entity_reference ::
Ptr DOMDocument ->
CString ->
Ptr (Ptr GError) ->
IO (Ptr WebKit2WebExtension.DOMEntityReference.DOMEntityReference)
{-# DEPRECATED dOMDocumentCreateEntityReference ["(Since version 2.12)"] #-}
dOMDocumentCreateEntityReference ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> Maybe (T.Text)
-> m WebKit2WebExtension.DOMEntityReference.DOMEntityReference
dOMDocumentCreateEntityReference self name = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
maybeName <- case name of
Nothing -> return nullPtr
Just jName -> do
jName' <- textToCString jName
return jName'
onException (do
result <- propagateGError $ webkit_dom_document_create_entity_reference self' maybeName
checkUnexpectedReturnNULL "dOMDocumentCreateEntityReference" result
result' <- (newObject WebKit2WebExtension.DOMEntityReference.DOMEntityReference) result
touchManagedPtr self
freeMem maybeName
return result'
) (do
freeMem maybeName
)
#if ENABLE_OVERLOADING
data DOMDocumentCreateEntityReferenceMethodInfo
instance (signature ~ (Maybe (T.Text) -> m WebKit2WebExtension.DOMEntityReference.DOMEntityReference), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentCreateEntityReferenceMethodInfo a signature where
overloadedMethod _ = dOMDocumentCreateEntityReference
#endif
foreign import ccall "webkit_dom_document_create_event" webkit_dom_document_create_event ::
Ptr DOMDocument ->
CString ->
Ptr (Ptr GError) ->
IO (Ptr WebKit2WebExtension.DOMEvent.DOMEvent)
{-# DEPRECATED dOMDocumentCreateEvent ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentCreateEvent ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> T.Text
-> m WebKit2WebExtension.DOMEvent.DOMEvent
dOMDocumentCreateEvent self eventType = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
eventType' <- textToCString eventType
onException (do
result <- propagateGError $ webkit_dom_document_create_event self' eventType'
checkUnexpectedReturnNULL "dOMDocumentCreateEvent" result
result' <- (wrapObject WebKit2WebExtension.DOMEvent.DOMEvent) result
touchManagedPtr self
freeMem eventType'
return result'
) (do
freeMem eventType'
)
#if ENABLE_OVERLOADING
data DOMDocumentCreateEventMethodInfo
instance (signature ~ (T.Text -> m WebKit2WebExtension.DOMEvent.DOMEvent), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentCreateEventMethodInfo a signature where
overloadedMethod _ = dOMDocumentCreateEvent
#endif
foreign import ccall "webkit_dom_document_create_expression" webkit_dom_document_create_expression ::
Ptr DOMDocument ->
CString ->
Ptr WebKit2WebExtension.DOMXPathNSResolver.DOMXPathNSResolver ->
Ptr (Ptr GError) ->
IO (Ptr WebKit2WebExtension.DOMXPathExpression.DOMXPathExpression)
{-# DEPRECATED dOMDocumentCreateExpression ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentCreateExpression ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a, WebKit2WebExtension.DOMXPathNSResolver.IsDOMXPathNSResolver b) =>
a
-> T.Text
-> b
-> m WebKit2WebExtension.DOMXPathExpression.DOMXPathExpression
dOMDocumentCreateExpression self expression resolver = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
expression' <- textToCString expression
resolver' <- unsafeManagedPtrCastPtr resolver
onException (do
result <- propagateGError $ webkit_dom_document_create_expression self' expression' resolver'
checkUnexpectedReturnNULL "dOMDocumentCreateExpression" result
result' <- (wrapObject WebKit2WebExtension.DOMXPathExpression.DOMXPathExpression) result
touchManagedPtr self
touchManagedPtr resolver
freeMem expression'
return result'
) (do
freeMem expression'
)
#if ENABLE_OVERLOADING
data DOMDocumentCreateExpressionMethodInfo
instance (signature ~ (T.Text -> b -> m WebKit2WebExtension.DOMXPathExpression.DOMXPathExpression), MonadIO m, IsDOMDocument a, WebKit2WebExtension.DOMXPathNSResolver.IsDOMXPathNSResolver b) => O.MethodInfo DOMDocumentCreateExpressionMethodInfo a signature where
overloadedMethod _ = dOMDocumentCreateExpression
#endif
foreign import ccall "webkit_dom_document_create_node_iterator" webkit_dom_document_create_node_iterator ::
Ptr DOMDocument ->
Ptr WebKit2WebExtension.DOMNode.DOMNode ->
CULong ->
Ptr WebKit2WebExtension.DOMNodeFilter.DOMNodeFilter ->
CInt ->
Ptr (Ptr GError) ->
IO (Ptr WebKit2WebExtension.DOMNodeIterator.DOMNodeIterator)
{-# DEPRECATED dOMDocumentCreateNodeIterator ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentCreateNodeIterator ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a, WebKit2WebExtension.DOMNode.IsDOMNode b, WebKit2WebExtension.DOMNodeFilter.IsDOMNodeFilter c) =>
a
-> b
-> CULong
-> Maybe (c)
-> Bool
-> m WebKit2WebExtension.DOMNodeIterator.DOMNodeIterator
dOMDocumentCreateNodeIterator self root whatToShow filter expandEntityReferences = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
root' <- unsafeManagedPtrCastPtr root
maybeFilter <- case filter of
Nothing -> return nullPtr
Just jFilter -> do
jFilter' <- unsafeManagedPtrCastPtr jFilter
return jFilter'
let expandEntityReferences' = (fromIntegral . fromEnum) expandEntityReferences
onException (do
result <- propagateGError $ webkit_dom_document_create_node_iterator self' root' whatToShow maybeFilter expandEntityReferences'
checkUnexpectedReturnNULL "dOMDocumentCreateNodeIterator" result
result' <- (wrapObject WebKit2WebExtension.DOMNodeIterator.DOMNodeIterator) result
touchManagedPtr self
touchManagedPtr root
whenJust filter touchManagedPtr
return result'
) (do
return ()
)
#if ENABLE_OVERLOADING
data DOMDocumentCreateNodeIteratorMethodInfo
instance (signature ~ (b -> CULong -> Maybe (c) -> Bool -> m WebKit2WebExtension.DOMNodeIterator.DOMNodeIterator), MonadIO m, IsDOMDocument a, WebKit2WebExtension.DOMNode.IsDOMNode b, WebKit2WebExtension.DOMNodeFilter.IsDOMNodeFilter c) => O.MethodInfo DOMDocumentCreateNodeIteratorMethodInfo a signature where
overloadedMethod _ = dOMDocumentCreateNodeIterator
#endif
foreign import ccall "webkit_dom_document_create_ns_resolver" webkit_dom_document_create_ns_resolver ::
Ptr DOMDocument ->
Ptr WebKit2WebExtension.DOMNode.DOMNode ->
IO (Ptr WebKit2WebExtension.DOMXPathNSResolver.DOMXPathNSResolver)
{-# DEPRECATED dOMDocumentCreateNsResolver ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentCreateNsResolver ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a, WebKit2WebExtension.DOMNode.IsDOMNode b) =>
a
-> b
-> m WebKit2WebExtension.DOMXPathNSResolver.DOMXPathNSResolver
dOMDocumentCreateNsResolver self nodeResolver = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
nodeResolver' <- unsafeManagedPtrCastPtr nodeResolver
result <- webkit_dom_document_create_ns_resolver self' nodeResolver'
checkUnexpectedReturnNULL "dOMDocumentCreateNsResolver" result
result' <- (wrapObject WebKit2WebExtension.DOMXPathNSResolver.DOMXPathNSResolver) result
touchManagedPtr self
touchManagedPtr nodeResolver
return result'
#if ENABLE_OVERLOADING
data DOMDocumentCreateNsResolverMethodInfo
instance (signature ~ (b -> m WebKit2WebExtension.DOMXPathNSResolver.DOMXPathNSResolver), MonadIO m, IsDOMDocument a, WebKit2WebExtension.DOMNode.IsDOMNode b) => O.MethodInfo DOMDocumentCreateNsResolverMethodInfo a signature where
overloadedMethod _ = dOMDocumentCreateNsResolver
#endif
foreign import ccall "webkit_dom_document_create_processing_instruction" webkit_dom_document_create_processing_instruction ::
Ptr DOMDocument ->
CString ->
CString ->
Ptr (Ptr GError) ->
IO (Ptr WebKit2WebExtension.DOMProcessingInstruction.DOMProcessingInstruction)
{-# DEPRECATED dOMDocumentCreateProcessingInstruction ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentCreateProcessingInstruction ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> T.Text
-> T.Text
-> m WebKit2WebExtension.DOMProcessingInstruction.DOMProcessingInstruction
dOMDocumentCreateProcessingInstruction self target data_ = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
target' <- textToCString target
data_' <- textToCString data_
onException (do
result <- propagateGError $ webkit_dom_document_create_processing_instruction self' target' data_'
checkUnexpectedReturnNULL "dOMDocumentCreateProcessingInstruction" result
result' <- (newObject WebKit2WebExtension.DOMProcessingInstruction.DOMProcessingInstruction) result
touchManagedPtr self
freeMem target'
freeMem data_'
return result'
) (do
freeMem target'
freeMem data_'
)
#if ENABLE_OVERLOADING
data DOMDocumentCreateProcessingInstructionMethodInfo
instance (signature ~ (T.Text -> T.Text -> m WebKit2WebExtension.DOMProcessingInstruction.DOMProcessingInstruction), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentCreateProcessingInstructionMethodInfo a signature where
overloadedMethod _ = dOMDocumentCreateProcessingInstruction
#endif
foreign import ccall "webkit_dom_document_create_range" webkit_dom_document_create_range ::
Ptr DOMDocument ->
IO (Ptr WebKit2WebExtension.DOMRange.DOMRange)
{-# DEPRECATED dOMDocumentCreateRange ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentCreateRange ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> m WebKit2WebExtension.DOMRange.DOMRange
dOMDocumentCreateRange self = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
result <- webkit_dom_document_create_range self'
checkUnexpectedReturnNULL "dOMDocumentCreateRange" result
result' <- (wrapObject WebKit2WebExtension.DOMRange.DOMRange) result
touchManagedPtr self
return result'
#if ENABLE_OVERLOADING
data DOMDocumentCreateRangeMethodInfo
instance (signature ~ (m WebKit2WebExtension.DOMRange.DOMRange), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentCreateRangeMethodInfo a signature where
overloadedMethod _ = dOMDocumentCreateRange
#endif
foreign import ccall "webkit_dom_document_create_text_node" webkit_dom_document_create_text_node ::
Ptr DOMDocument ->
CString ->
IO (Ptr WebKit2WebExtension.DOMText.DOMText)
{-# DEPRECATED dOMDocumentCreateTextNode ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentCreateTextNode ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> T.Text
-> m WebKit2WebExtension.DOMText.DOMText
dOMDocumentCreateTextNode self data_ = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
data_' <- textToCString data_
result <- webkit_dom_document_create_text_node self' data_'
checkUnexpectedReturnNULL "dOMDocumentCreateTextNode" result
result' <- (newObject WebKit2WebExtension.DOMText.DOMText) result
touchManagedPtr self
freeMem data_'
return result'
#if ENABLE_OVERLOADING
data DOMDocumentCreateTextNodeMethodInfo
instance (signature ~ (T.Text -> m WebKit2WebExtension.DOMText.DOMText), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentCreateTextNodeMethodInfo a signature where
overloadedMethod _ = dOMDocumentCreateTextNode
#endif
foreign import ccall "webkit_dom_document_create_tree_walker" webkit_dom_document_create_tree_walker ::
Ptr DOMDocument ->
Ptr WebKit2WebExtension.DOMNode.DOMNode ->
CULong ->
Ptr WebKit2WebExtension.DOMNodeFilter.DOMNodeFilter ->
CInt ->
Ptr (Ptr GError) ->
IO (Ptr WebKit2WebExtension.DOMTreeWalker.DOMTreeWalker)
{-# DEPRECATED dOMDocumentCreateTreeWalker ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentCreateTreeWalker ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a, WebKit2WebExtension.DOMNode.IsDOMNode b, WebKit2WebExtension.DOMNodeFilter.IsDOMNodeFilter c) =>
a
-> b
-> CULong
-> Maybe (c)
-> Bool
-> m WebKit2WebExtension.DOMTreeWalker.DOMTreeWalker
dOMDocumentCreateTreeWalker self root whatToShow filter expandEntityReferences = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
root' <- unsafeManagedPtrCastPtr root
maybeFilter <- case filter of
Nothing -> return nullPtr
Just jFilter -> do
jFilter' <- unsafeManagedPtrCastPtr jFilter
return jFilter'
let expandEntityReferences' = (fromIntegral . fromEnum) expandEntityReferences
onException (do
result <- propagateGError $ webkit_dom_document_create_tree_walker self' root' whatToShow maybeFilter expandEntityReferences'
checkUnexpectedReturnNULL "dOMDocumentCreateTreeWalker" result
result' <- (wrapObject WebKit2WebExtension.DOMTreeWalker.DOMTreeWalker) result
touchManagedPtr self
touchManagedPtr root
whenJust filter touchManagedPtr
return result'
) (do
return ()
)
#if ENABLE_OVERLOADING
data DOMDocumentCreateTreeWalkerMethodInfo
instance (signature ~ (b -> CULong -> Maybe (c) -> Bool -> m WebKit2WebExtension.DOMTreeWalker.DOMTreeWalker), MonadIO m, IsDOMDocument a, WebKit2WebExtension.DOMNode.IsDOMNode b, WebKit2WebExtension.DOMNodeFilter.IsDOMNodeFilter c) => O.MethodInfo DOMDocumentCreateTreeWalkerMethodInfo a signature where
overloadedMethod _ = dOMDocumentCreateTreeWalker
#endif
foreign import ccall "webkit_dom_document_element_from_point" webkit_dom_document_element_from_point ::
Ptr DOMDocument ->
CLong ->
CLong ->
IO (Ptr WebKit2WebExtension.DOMElement.DOMElement)
{-# DEPRECATED dOMDocumentElementFromPoint ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentElementFromPoint ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> CLong
-> CLong
-> m WebKit2WebExtension.DOMElement.DOMElement
dOMDocumentElementFromPoint self x y = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
result <- webkit_dom_document_element_from_point self' x y
checkUnexpectedReturnNULL "dOMDocumentElementFromPoint" result
result' <- (newObject WebKit2WebExtension.DOMElement.DOMElement) result
touchManagedPtr self
return result'
#if ENABLE_OVERLOADING
data DOMDocumentElementFromPointMethodInfo
instance (signature ~ (CLong -> CLong -> m WebKit2WebExtension.DOMElement.DOMElement), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentElementFromPointMethodInfo a signature where
overloadedMethod _ = dOMDocumentElementFromPoint
#endif
foreign import ccall "webkit_dom_document_evaluate" webkit_dom_document_evaluate ::
Ptr DOMDocument ->
CString ->
Ptr WebKit2WebExtension.DOMNode.DOMNode ->
Ptr WebKit2WebExtension.DOMXPathNSResolver.DOMXPathNSResolver ->
Word16 ->
Ptr WebKit2WebExtension.DOMXPathResult.DOMXPathResult ->
Ptr (Ptr GError) ->
IO (Ptr WebKit2WebExtension.DOMXPathResult.DOMXPathResult)
{-# DEPRECATED dOMDocumentEvaluate ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentEvaluate ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a, WebKit2WebExtension.DOMNode.IsDOMNode b, WebKit2WebExtension.DOMXPathNSResolver.IsDOMXPathNSResolver c, WebKit2WebExtension.DOMXPathResult.IsDOMXPathResult d) =>
a
-> T.Text
-> b
-> Maybe (c)
-> Word16
-> Maybe (d)
-> m WebKit2WebExtension.DOMXPathResult.DOMXPathResult
dOMDocumentEvaluate self expression contextNode resolver type_ inResult = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
expression' <- textToCString expression
contextNode' <- unsafeManagedPtrCastPtr contextNode
maybeResolver <- case resolver of
Nothing -> return nullPtr
Just jResolver -> do
jResolver' <- unsafeManagedPtrCastPtr jResolver
return jResolver'
maybeInResult <- case inResult of
Nothing -> return nullPtr
Just jInResult -> do
jInResult' <- unsafeManagedPtrCastPtr jInResult
return jInResult'
onException (do
result <- propagateGError $ webkit_dom_document_evaluate self' expression' contextNode' maybeResolver type_ maybeInResult
checkUnexpectedReturnNULL "dOMDocumentEvaluate" result
result' <- (wrapObject WebKit2WebExtension.DOMXPathResult.DOMXPathResult) result
touchManagedPtr self
touchManagedPtr contextNode
whenJust resolver touchManagedPtr
whenJust inResult touchManagedPtr
freeMem expression'
return result'
) (do
freeMem expression'
)
#if ENABLE_OVERLOADING
data DOMDocumentEvaluateMethodInfo
instance (signature ~ (T.Text -> b -> Maybe (c) -> Word16 -> Maybe (d) -> m WebKit2WebExtension.DOMXPathResult.DOMXPathResult), MonadIO m, IsDOMDocument a, WebKit2WebExtension.DOMNode.IsDOMNode b, WebKit2WebExtension.DOMXPathNSResolver.IsDOMXPathNSResolver c, WebKit2WebExtension.DOMXPathResult.IsDOMXPathResult d) => O.MethodInfo DOMDocumentEvaluateMethodInfo a signature where
overloadedMethod _ = dOMDocumentEvaluate
#endif
foreign import ccall "webkit_dom_document_exec_command" webkit_dom_document_exec_command ::
Ptr DOMDocument ->
CString ->
CInt ->
CString ->
IO CInt
{-# DEPRECATED dOMDocumentExecCommand ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentExecCommand ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> T.Text
-> Bool
-> T.Text
-> m Bool
dOMDocumentExecCommand self command userInterface value = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
command' <- textToCString command
let userInterface' = (fromIntegral . fromEnum) userInterface
value' <- textToCString value
result <- webkit_dom_document_exec_command self' command' userInterface' value'
let result' = (/= 0) result
touchManagedPtr self
freeMem command'
freeMem value'
return result'
#if ENABLE_OVERLOADING
data DOMDocumentExecCommandMethodInfo
instance (signature ~ (T.Text -> Bool -> T.Text -> m Bool), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentExecCommandMethodInfo a signature where
overloadedMethod _ = dOMDocumentExecCommand
#endif
foreign import ccall "webkit_dom_document_exit_pointer_lock" webkit_dom_document_exit_pointer_lock ::
Ptr DOMDocument ->
IO ()
{-# DEPRECATED dOMDocumentExitPointerLock ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentExitPointerLock ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> m ()
dOMDocumentExitPointerLock self = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
webkit_dom_document_exit_pointer_lock self'
touchManagedPtr self
return ()
#if ENABLE_OVERLOADING
data DOMDocumentExitPointerLockMethodInfo
instance (signature ~ (m ()), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentExitPointerLockMethodInfo a signature where
overloadedMethod _ = dOMDocumentExitPointerLock
#endif
foreign import ccall "webkit_dom_document_get_active_element" webkit_dom_document_get_active_element ::
Ptr DOMDocument ->
IO (Ptr WebKit2WebExtension.DOMElement.DOMElement)
{-# DEPRECATED dOMDocumentGetActiveElement ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentGetActiveElement ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> m WebKit2WebExtension.DOMElement.DOMElement
dOMDocumentGetActiveElement self = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
result <- webkit_dom_document_get_active_element self'
checkUnexpectedReturnNULL "dOMDocumentGetActiveElement" result
result' <- (newObject WebKit2WebExtension.DOMElement.DOMElement) result
touchManagedPtr self
return result'
#if ENABLE_OVERLOADING
data DOMDocumentGetActiveElementMethodInfo
instance (signature ~ (m WebKit2WebExtension.DOMElement.DOMElement), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentGetActiveElementMethodInfo a signature where
overloadedMethod _ = dOMDocumentGetActiveElement
#endif
foreign import ccall "webkit_dom_document_get_anchors" webkit_dom_document_get_anchors ::
Ptr DOMDocument ->
IO (Ptr WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection)
{-# DEPRECATED dOMDocumentGetAnchors ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentGetAnchors ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> m WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection
dOMDocumentGetAnchors self = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
result <- webkit_dom_document_get_anchors self'
checkUnexpectedReturnNULL "dOMDocumentGetAnchors" result
result' <- (wrapObject WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection) result
touchManagedPtr self
return result'
#if ENABLE_OVERLOADING
data DOMDocumentGetAnchorsMethodInfo
instance (signature ~ (m WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentGetAnchorsMethodInfo a signature where
overloadedMethod _ = dOMDocumentGetAnchors
#endif
foreign import ccall "webkit_dom_document_get_applets" webkit_dom_document_get_applets ::
Ptr DOMDocument ->
IO (Ptr WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection)
{-# DEPRECATED dOMDocumentGetApplets ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentGetApplets ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> m WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection
dOMDocumentGetApplets self = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
result <- webkit_dom_document_get_applets self'
checkUnexpectedReturnNULL "dOMDocumentGetApplets" result
result' <- (wrapObject WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection) result
touchManagedPtr self
return result'
#if ENABLE_OVERLOADING
data DOMDocumentGetAppletsMethodInfo
instance (signature ~ (m WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentGetAppletsMethodInfo a signature where
overloadedMethod _ = dOMDocumentGetApplets
#endif
foreign import ccall "webkit_dom_document_get_body" webkit_dom_document_get_body ::
Ptr DOMDocument ->
IO (Ptr WebKit2WebExtension.DOMHTMLElement.DOMHTMLElement)
{-# DEPRECATED dOMDocumentGetBody ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentGetBody ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> m WebKit2WebExtension.DOMHTMLElement.DOMHTMLElement
dOMDocumentGetBody self = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
result <- webkit_dom_document_get_body self'
checkUnexpectedReturnNULL "dOMDocumentGetBody" result
result' <- (newObject WebKit2WebExtension.DOMHTMLElement.DOMHTMLElement) result
touchManagedPtr self
return result'
#if ENABLE_OVERLOADING
data DOMDocumentGetBodyMethodInfo
instance (signature ~ (m WebKit2WebExtension.DOMHTMLElement.DOMHTMLElement), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentGetBodyMethodInfo a signature where
overloadedMethod _ = dOMDocumentGetBody
#endif
foreign import ccall "webkit_dom_document_get_character_set" webkit_dom_document_get_character_set ::
Ptr DOMDocument ->
IO CString
{-# DEPRECATED dOMDocumentGetCharacterSet ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentGetCharacterSet ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> m T.Text
dOMDocumentGetCharacterSet self = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
result <- webkit_dom_document_get_character_set self'
checkUnexpectedReturnNULL "dOMDocumentGetCharacterSet" result
result' <- cstringToText result
freeMem result
touchManagedPtr self
return result'
#if ENABLE_OVERLOADING
data DOMDocumentGetCharacterSetMethodInfo
instance (signature ~ (m T.Text), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentGetCharacterSetMethodInfo a signature where
overloadedMethod _ = dOMDocumentGetCharacterSet
#endif
foreign import ccall "webkit_dom_document_get_charset" webkit_dom_document_get_charset ::
Ptr DOMDocument ->
IO CString
{-# DEPRECATED dOMDocumentGetCharset ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentGetCharset ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> m T.Text
dOMDocumentGetCharset self = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
result <- webkit_dom_document_get_charset self'
checkUnexpectedReturnNULL "dOMDocumentGetCharset" result
result' <- cstringToText result
freeMem result
touchManagedPtr self
return result'
#if ENABLE_OVERLOADING
data DOMDocumentGetCharsetMethodInfo
instance (signature ~ (m T.Text), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentGetCharsetMethodInfo a signature where
overloadedMethod _ = dOMDocumentGetCharset
#endif
foreign import ccall "webkit_dom_document_get_child_element_count" webkit_dom_document_get_child_element_count ::
Ptr DOMDocument ->
IO CULong
{-# DEPRECATED dOMDocumentGetChildElementCount ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentGetChildElementCount ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> m CULong
dOMDocumentGetChildElementCount self = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
result <- webkit_dom_document_get_child_element_count self'
touchManagedPtr self
return result
#if ENABLE_OVERLOADING
data DOMDocumentGetChildElementCountMethodInfo
instance (signature ~ (m CULong), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentGetChildElementCountMethodInfo a signature where
overloadedMethod _ = dOMDocumentGetChildElementCount
#endif
foreign import ccall "webkit_dom_document_get_children" webkit_dom_document_get_children ::
Ptr DOMDocument ->
IO (Ptr WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection)
{-# DEPRECATED dOMDocumentGetChildren ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentGetChildren ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> m WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection
dOMDocumentGetChildren self = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
result <- webkit_dom_document_get_children self'
checkUnexpectedReturnNULL "dOMDocumentGetChildren" result
result' <- (wrapObject WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection) result
touchManagedPtr self
return result'
#if ENABLE_OVERLOADING
data DOMDocumentGetChildrenMethodInfo
instance (signature ~ (m WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentGetChildrenMethodInfo a signature where
overloadedMethod _ = dOMDocumentGetChildren
#endif
foreign import ccall "webkit_dom_document_get_compat_mode" webkit_dom_document_get_compat_mode ::
Ptr DOMDocument ->
IO CString
{-# DEPRECATED dOMDocumentGetCompatMode ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentGetCompatMode ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> m T.Text
dOMDocumentGetCompatMode self = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
result <- webkit_dom_document_get_compat_mode self'
checkUnexpectedReturnNULL "dOMDocumentGetCompatMode" result
result' <- cstringToText result
freeMem result
touchManagedPtr self
return result'
#if ENABLE_OVERLOADING
data DOMDocumentGetCompatModeMethodInfo
instance (signature ~ (m T.Text), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentGetCompatModeMethodInfo a signature where
overloadedMethod _ = dOMDocumentGetCompatMode
#endif
foreign import ccall "webkit_dom_document_get_content_type" webkit_dom_document_get_content_type ::
Ptr DOMDocument ->
IO CString
{-# DEPRECATED dOMDocumentGetContentType ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentGetContentType ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> m T.Text
dOMDocumentGetContentType self = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
result <- webkit_dom_document_get_content_type self'
checkUnexpectedReturnNULL "dOMDocumentGetContentType" result
result' <- cstringToText result
freeMem result
touchManagedPtr self
return result'
#if ENABLE_OVERLOADING
data DOMDocumentGetContentTypeMethodInfo
instance (signature ~ (m T.Text), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentGetContentTypeMethodInfo a signature where
overloadedMethod _ = dOMDocumentGetContentType
#endif
foreign import ccall "webkit_dom_document_get_cookie" webkit_dom_document_get_cookie ::
Ptr DOMDocument ->
Ptr (Ptr GError) ->
IO CString
{-# DEPRECATED dOMDocumentGetCookie ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentGetCookie ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> m T.Text
dOMDocumentGetCookie self = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
onException (do
result <- propagateGError $ webkit_dom_document_get_cookie self'
checkUnexpectedReturnNULL "dOMDocumentGetCookie" result
result' <- cstringToText result
freeMem result
touchManagedPtr self
return result'
) (do
return ()
)
#if ENABLE_OVERLOADING
data DOMDocumentGetCookieMethodInfo
instance (signature ~ (m T.Text), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentGetCookieMethodInfo a signature where
overloadedMethod _ = dOMDocumentGetCookie
#endif
foreign import ccall "webkit_dom_document_get_current_script" webkit_dom_document_get_current_script ::
Ptr DOMDocument ->
IO (Ptr WebKit2WebExtension.DOMHTMLScriptElement.DOMHTMLScriptElement)
{-# DEPRECATED dOMDocumentGetCurrentScript ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentGetCurrentScript ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> m WebKit2WebExtension.DOMHTMLScriptElement.DOMHTMLScriptElement
dOMDocumentGetCurrentScript self = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
result <- webkit_dom_document_get_current_script self'
checkUnexpectedReturnNULL "dOMDocumentGetCurrentScript" result
result' <- (newObject WebKit2WebExtension.DOMHTMLScriptElement.DOMHTMLScriptElement) result
touchManagedPtr self
return result'
#if ENABLE_OVERLOADING
data DOMDocumentGetCurrentScriptMethodInfo
instance (signature ~ (m WebKit2WebExtension.DOMHTMLScriptElement.DOMHTMLScriptElement), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentGetCurrentScriptMethodInfo a signature where
overloadedMethod _ = dOMDocumentGetCurrentScript
#endif
foreign import ccall "webkit_dom_document_get_default_charset" webkit_dom_document_get_default_charset ::
Ptr DOMDocument ->
IO CString
{-# DEPRECATED dOMDocumentGetDefaultCharset ["(Since version 2.14)"] #-}
dOMDocumentGetDefaultCharset ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> m T.Text
dOMDocumentGetDefaultCharset self = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
result <- webkit_dom_document_get_default_charset self'
checkUnexpectedReturnNULL "dOMDocumentGetDefaultCharset" result
result' <- cstringToText result
freeMem result
touchManagedPtr self
return result'
#if ENABLE_OVERLOADING
data DOMDocumentGetDefaultCharsetMethodInfo
instance (signature ~ (m T.Text), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentGetDefaultCharsetMethodInfo a signature where
overloadedMethod _ = dOMDocumentGetDefaultCharset
#endif
foreign import ccall "webkit_dom_document_get_default_view" webkit_dom_document_get_default_view ::
Ptr DOMDocument ->
IO (Ptr WebKit2WebExtension.DOMDOMWindow.DOMDOMWindow)
{-# DEPRECATED dOMDocumentGetDefaultView ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentGetDefaultView ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> m WebKit2WebExtension.DOMDOMWindow.DOMDOMWindow
dOMDocumentGetDefaultView self = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
result <- webkit_dom_document_get_default_view self'
checkUnexpectedReturnNULL "dOMDocumentGetDefaultView" result
result' <- (wrapObject WebKit2WebExtension.DOMDOMWindow.DOMDOMWindow) result
touchManagedPtr self
return result'
#if ENABLE_OVERLOADING
data DOMDocumentGetDefaultViewMethodInfo
instance (signature ~ (m WebKit2WebExtension.DOMDOMWindow.DOMDOMWindow), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentGetDefaultViewMethodInfo a signature where
overloadedMethod _ = dOMDocumentGetDefaultView
#endif
foreign import ccall "webkit_dom_document_get_design_mode" webkit_dom_document_get_design_mode ::
Ptr DOMDocument ->
IO CString
{-# DEPRECATED dOMDocumentGetDesignMode ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentGetDesignMode ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> m T.Text
dOMDocumentGetDesignMode self = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
result <- webkit_dom_document_get_design_mode self'
checkUnexpectedReturnNULL "dOMDocumentGetDesignMode" result
result' <- cstringToText result
freeMem result
touchManagedPtr self
return result'
#if ENABLE_OVERLOADING
data DOMDocumentGetDesignModeMethodInfo
instance (signature ~ (m T.Text), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentGetDesignModeMethodInfo a signature where
overloadedMethod _ = dOMDocumentGetDesignMode
#endif
foreign import ccall "webkit_dom_document_get_dir" webkit_dom_document_get_dir ::
Ptr DOMDocument ->
IO CString
{-# DEPRECATED dOMDocumentGetDir ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentGetDir ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> m T.Text
dOMDocumentGetDir self = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
result <- webkit_dom_document_get_dir self'
checkUnexpectedReturnNULL "dOMDocumentGetDir" result
result' <- cstringToText result
freeMem result
touchManagedPtr self
return result'
#if ENABLE_OVERLOADING
data DOMDocumentGetDirMethodInfo
instance (signature ~ (m T.Text), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentGetDirMethodInfo a signature where
overloadedMethod _ = dOMDocumentGetDir
#endif
foreign import ccall "webkit_dom_document_get_doctype" webkit_dom_document_get_doctype ::
Ptr DOMDocument ->
IO (Ptr WebKit2WebExtension.DOMDocumentType.DOMDocumentType)
{-# DEPRECATED dOMDocumentGetDoctype ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentGetDoctype ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> m WebKit2WebExtension.DOMDocumentType.DOMDocumentType
dOMDocumentGetDoctype self = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
result <- webkit_dom_document_get_doctype self'
checkUnexpectedReturnNULL "dOMDocumentGetDoctype" result
result' <- (newObject WebKit2WebExtension.DOMDocumentType.DOMDocumentType) result
touchManagedPtr self
return result'
#if ENABLE_OVERLOADING
data DOMDocumentGetDoctypeMethodInfo
instance (signature ~ (m WebKit2WebExtension.DOMDocumentType.DOMDocumentType), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentGetDoctypeMethodInfo a signature where
overloadedMethod _ = dOMDocumentGetDoctype
#endif
foreign import ccall "webkit_dom_document_get_document_element" webkit_dom_document_get_document_element ::
Ptr DOMDocument ->
IO (Ptr WebKit2WebExtension.DOMElement.DOMElement)
{-# DEPRECATED dOMDocumentGetDocumentElement ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentGetDocumentElement ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> m WebKit2WebExtension.DOMElement.DOMElement
dOMDocumentGetDocumentElement self = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
result <- webkit_dom_document_get_document_element self'
checkUnexpectedReturnNULL "dOMDocumentGetDocumentElement" result
result' <- (newObject WebKit2WebExtension.DOMElement.DOMElement) result
touchManagedPtr self
return result'
#if ENABLE_OVERLOADING
data DOMDocumentGetDocumentElementMethodInfo
instance (signature ~ (m WebKit2WebExtension.DOMElement.DOMElement), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentGetDocumentElementMethodInfo a signature where
overloadedMethod _ = dOMDocumentGetDocumentElement
#endif
foreign import ccall "webkit_dom_document_get_document_uri" webkit_dom_document_get_document_uri ::
Ptr DOMDocument ->
IO CString
{-# DEPRECATED dOMDocumentGetDocumentUri ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentGetDocumentUri ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> m T.Text
dOMDocumentGetDocumentUri self = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
result <- webkit_dom_document_get_document_uri self'
checkUnexpectedReturnNULL "dOMDocumentGetDocumentUri" result
result' <- cstringToText result
freeMem result
touchManagedPtr self
return result'
#if ENABLE_OVERLOADING
data DOMDocumentGetDocumentUriMethodInfo
instance (signature ~ (m T.Text), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentGetDocumentUriMethodInfo a signature where
overloadedMethod _ = dOMDocumentGetDocumentUri
#endif
foreign import ccall "webkit_dom_document_get_domain" webkit_dom_document_get_domain ::
Ptr DOMDocument ->
IO CString
{-# DEPRECATED dOMDocumentGetDomain ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentGetDomain ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> m T.Text
dOMDocumentGetDomain self = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
result <- webkit_dom_document_get_domain self'
checkUnexpectedReturnNULL "dOMDocumentGetDomain" result
result' <- cstringToText result
freeMem result
touchManagedPtr self
return result'
#if ENABLE_OVERLOADING
data DOMDocumentGetDomainMethodInfo
instance (signature ~ (m T.Text), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentGetDomainMethodInfo a signature where
overloadedMethod _ = dOMDocumentGetDomain
#endif
foreign import ccall "webkit_dom_document_get_element_by_id" webkit_dom_document_get_element_by_id ::
Ptr DOMDocument ->
CString ->
IO (Ptr WebKit2WebExtension.DOMElement.DOMElement)
{-# DEPRECATED dOMDocumentGetElementById ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentGetElementById ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> T.Text
-> m WebKit2WebExtension.DOMElement.DOMElement
dOMDocumentGetElementById self elementId = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
elementId' <- textToCString elementId
result <- webkit_dom_document_get_element_by_id self' elementId'
checkUnexpectedReturnNULL "dOMDocumentGetElementById" result
result' <- (newObject WebKit2WebExtension.DOMElement.DOMElement) result
touchManagedPtr self
freeMem elementId'
return result'
#if ENABLE_OVERLOADING
data DOMDocumentGetElementByIdMethodInfo
instance (signature ~ (T.Text -> m WebKit2WebExtension.DOMElement.DOMElement), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentGetElementByIdMethodInfo a signature where
overloadedMethod _ = dOMDocumentGetElementById
#endif
foreign import ccall "webkit_dom_document_get_elements_by_class_name" webkit_dom_document_get_elements_by_class_name ::
Ptr DOMDocument ->
CString ->
IO (Ptr WebKit2WebExtension.DOMNodeList.DOMNodeList)
{-# DEPRECATED dOMDocumentGetElementsByClassName ["(Since version 2.12)","Use 'GI.WebKit2WebExtension.Objects.DOMDocument.dOMDocumentGetElementsByClassNameAsHtmlCollection' instead."] #-}
dOMDocumentGetElementsByClassName ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> T.Text
-> m WebKit2WebExtension.DOMNodeList.DOMNodeList
dOMDocumentGetElementsByClassName self className = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
className' <- textToCString className
result <- webkit_dom_document_get_elements_by_class_name self' className'
checkUnexpectedReturnNULL "dOMDocumentGetElementsByClassName" result
result' <- (wrapObject WebKit2WebExtension.DOMNodeList.DOMNodeList) result
touchManagedPtr self
freeMem className'
return result'
#if ENABLE_OVERLOADING
data DOMDocumentGetElementsByClassNameMethodInfo
instance (signature ~ (T.Text -> m WebKit2WebExtension.DOMNodeList.DOMNodeList), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentGetElementsByClassNameMethodInfo a signature where
overloadedMethod _ = dOMDocumentGetElementsByClassName
#endif
foreign import ccall "webkit_dom_document_get_elements_by_class_name_as_html_collection" webkit_dom_document_get_elements_by_class_name_as_html_collection ::
Ptr DOMDocument ->
CString ->
IO (Ptr WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection)
{-# DEPRECATED dOMDocumentGetElementsByClassNameAsHtmlCollection ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentGetElementsByClassNameAsHtmlCollection ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> T.Text
-> m WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection
dOMDocumentGetElementsByClassNameAsHtmlCollection self classNames = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
classNames' <- textToCString classNames
result <- webkit_dom_document_get_elements_by_class_name_as_html_collection self' classNames'
checkUnexpectedReturnNULL "dOMDocumentGetElementsByClassNameAsHtmlCollection" result
result' <- (wrapObject WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection) result
touchManagedPtr self
freeMem classNames'
return result'
#if ENABLE_OVERLOADING
data DOMDocumentGetElementsByClassNameAsHtmlCollectionMethodInfo
instance (signature ~ (T.Text -> m WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentGetElementsByClassNameAsHtmlCollectionMethodInfo a signature where
overloadedMethod _ = dOMDocumentGetElementsByClassNameAsHtmlCollection
#endif
foreign import ccall "webkit_dom_document_get_elements_by_name" webkit_dom_document_get_elements_by_name ::
Ptr DOMDocument ->
CString ->
IO (Ptr WebKit2WebExtension.DOMNodeList.DOMNodeList)
{-# DEPRECATED dOMDocumentGetElementsByName ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentGetElementsByName ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> T.Text
-> m WebKit2WebExtension.DOMNodeList.DOMNodeList
dOMDocumentGetElementsByName self elementName = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
elementName' <- textToCString elementName
result <- webkit_dom_document_get_elements_by_name self' elementName'
checkUnexpectedReturnNULL "dOMDocumentGetElementsByName" result
result' <- (wrapObject WebKit2WebExtension.DOMNodeList.DOMNodeList) result
touchManagedPtr self
freeMem elementName'
return result'
#if ENABLE_OVERLOADING
data DOMDocumentGetElementsByNameMethodInfo
instance (signature ~ (T.Text -> m WebKit2WebExtension.DOMNodeList.DOMNodeList), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentGetElementsByNameMethodInfo a signature where
overloadedMethod _ = dOMDocumentGetElementsByName
#endif
foreign import ccall "webkit_dom_document_get_elements_by_tag_name" webkit_dom_document_get_elements_by_tag_name ::
Ptr DOMDocument ->
CString ->
IO (Ptr WebKit2WebExtension.DOMNodeList.DOMNodeList)
{-# DEPRECATED dOMDocumentGetElementsByTagName ["(Since version 2.12)","Use 'GI.WebKit2WebExtension.Objects.DOMDocument.dOMDocumentGetElementsByTagNameAsHtmlCollection' instead."] #-}
dOMDocumentGetElementsByTagName ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> T.Text
-> m WebKit2WebExtension.DOMNodeList.DOMNodeList
dOMDocumentGetElementsByTagName self tagName = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
tagName' <- textToCString tagName
result <- webkit_dom_document_get_elements_by_tag_name self' tagName'
checkUnexpectedReturnNULL "dOMDocumentGetElementsByTagName" result
result' <- (wrapObject WebKit2WebExtension.DOMNodeList.DOMNodeList) result
touchManagedPtr self
freeMem tagName'
return result'
#if ENABLE_OVERLOADING
data DOMDocumentGetElementsByTagNameMethodInfo
instance (signature ~ (T.Text -> m WebKit2WebExtension.DOMNodeList.DOMNodeList), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentGetElementsByTagNameMethodInfo a signature where
overloadedMethod _ = dOMDocumentGetElementsByTagName
#endif
foreign import ccall "webkit_dom_document_get_elements_by_tag_name_as_html_collection" webkit_dom_document_get_elements_by_tag_name_as_html_collection ::
Ptr DOMDocument ->
CString ->
IO (Ptr WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection)
{-# DEPRECATED dOMDocumentGetElementsByTagNameAsHtmlCollection ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentGetElementsByTagNameAsHtmlCollection ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> T.Text
-> m WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection
dOMDocumentGetElementsByTagNameAsHtmlCollection self tagname = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
tagname' <- textToCString tagname
result <- webkit_dom_document_get_elements_by_tag_name_as_html_collection self' tagname'
checkUnexpectedReturnNULL "dOMDocumentGetElementsByTagNameAsHtmlCollection" result
result' <- (wrapObject WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection) result
touchManagedPtr self
freeMem tagname'
return result'
#if ENABLE_OVERLOADING
data DOMDocumentGetElementsByTagNameAsHtmlCollectionMethodInfo
instance (signature ~ (T.Text -> m WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentGetElementsByTagNameAsHtmlCollectionMethodInfo a signature where
overloadedMethod _ = dOMDocumentGetElementsByTagNameAsHtmlCollection
#endif
foreign import ccall "webkit_dom_document_get_elements_by_tag_name_ns" webkit_dom_document_get_elements_by_tag_name_ns ::
Ptr DOMDocument ->
CString ->
CString ->
IO (Ptr WebKit2WebExtension.DOMNodeList.DOMNodeList)
{-# DEPRECATED dOMDocumentGetElementsByTagNameNs ["(Since version 2.12)","Use 'GI.WebKit2WebExtension.Objects.DOMDocument.dOMDocumentGetElementsByTagNameNsAsHtmlCollection' instead."] #-}
dOMDocumentGetElementsByTagNameNs ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> T.Text
-> T.Text
-> m WebKit2WebExtension.DOMNodeList.DOMNodeList
dOMDocumentGetElementsByTagNameNs self namespaceUri tagName = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
namespaceUri' <- textToCString namespaceUri
tagName' <- textToCString tagName
result <- webkit_dom_document_get_elements_by_tag_name_ns self' namespaceUri' tagName'
checkUnexpectedReturnNULL "dOMDocumentGetElementsByTagNameNs" result
result' <- (wrapObject WebKit2WebExtension.DOMNodeList.DOMNodeList) result
touchManagedPtr self
freeMem namespaceUri'
freeMem tagName'
return result'
#if ENABLE_OVERLOADING
data DOMDocumentGetElementsByTagNameNsMethodInfo
instance (signature ~ (T.Text -> T.Text -> m WebKit2WebExtension.DOMNodeList.DOMNodeList), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentGetElementsByTagNameNsMethodInfo a signature where
overloadedMethod _ = dOMDocumentGetElementsByTagNameNs
#endif
foreign import ccall "webkit_dom_document_get_elements_by_tag_name_ns_as_html_collection" webkit_dom_document_get_elements_by_tag_name_ns_as_html_collection ::
Ptr DOMDocument ->
CString ->
CString ->
IO (Ptr WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection)
{-# DEPRECATED dOMDocumentGetElementsByTagNameNsAsHtmlCollection ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentGetElementsByTagNameNsAsHtmlCollection ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> T.Text
-> T.Text
-> m WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection
dOMDocumentGetElementsByTagNameNsAsHtmlCollection self namespaceURI localName = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
namespaceURI' <- textToCString namespaceURI
localName' <- textToCString localName
result <- webkit_dom_document_get_elements_by_tag_name_ns_as_html_collection self' namespaceURI' localName'
checkUnexpectedReturnNULL "dOMDocumentGetElementsByTagNameNsAsHtmlCollection" result
result' <- (wrapObject WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection) result
touchManagedPtr self
freeMem namespaceURI'
freeMem localName'
return result'
#if ENABLE_OVERLOADING
data DOMDocumentGetElementsByTagNameNsAsHtmlCollectionMethodInfo
instance (signature ~ (T.Text -> T.Text -> m WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentGetElementsByTagNameNsAsHtmlCollectionMethodInfo a signature where
overloadedMethod _ = dOMDocumentGetElementsByTagNameNsAsHtmlCollection
#endif
foreign import ccall "webkit_dom_document_get_embeds" webkit_dom_document_get_embeds ::
Ptr DOMDocument ->
IO (Ptr WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection)
{-# DEPRECATED dOMDocumentGetEmbeds ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentGetEmbeds ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> m WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection
dOMDocumentGetEmbeds self = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
result <- webkit_dom_document_get_embeds self'
checkUnexpectedReturnNULL "dOMDocumentGetEmbeds" result
result' <- (wrapObject WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection) result
touchManagedPtr self
return result'
#if ENABLE_OVERLOADING
data DOMDocumentGetEmbedsMethodInfo
instance (signature ~ (m WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentGetEmbedsMethodInfo a signature where
overloadedMethod _ = dOMDocumentGetEmbeds
#endif
foreign import ccall "webkit_dom_document_get_first_element_child" webkit_dom_document_get_first_element_child ::
Ptr DOMDocument ->
IO (Ptr WebKit2WebExtension.DOMElement.DOMElement)
{-# DEPRECATED dOMDocumentGetFirstElementChild ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentGetFirstElementChild ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> m WebKit2WebExtension.DOMElement.DOMElement
dOMDocumentGetFirstElementChild self = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
result <- webkit_dom_document_get_first_element_child self'
checkUnexpectedReturnNULL "dOMDocumentGetFirstElementChild" result
result' <- (newObject WebKit2WebExtension.DOMElement.DOMElement) result
touchManagedPtr self
return result'
#if ENABLE_OVERLOADING
data DOMDocumentGetFirstElementChildMethodInfo
instance (signature ~ (m WebKit2WebExtension.DOMElement.DOMElement), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentGetFirstElementChildMethodInfo a signature where
overloadedMethod _ = dOMDocumentGetFirstElementChild
#endif
foreign import ccall "webkit_dom_document_get_forms" webkit_dom_document_get_forms ::
Ptr DOMDocument ->
IO (Ptr WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection)
{-# DEPRECATED dOMDocumentGetForms ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentGetForms ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> m WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection
dOMDocumentGetForms self = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
result <- webkit_dom_document_get_forms self'
checkUnexpectedReturnNULL "dOMDocumentGetForms" result
result' <- (wrapObject WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection) result
touchManagedPtr self
return result'
#if ENABLE_OVERLOADING
data DOMDocumentGetFormsMethodInfo
instance (signature ~ (m WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentGetFormsMethodInfo a signature where
overloadedMethod _ = dOMDocumentGetForms
#endif
foreign import ccall "webkit_dom_document_get_head" webkit_dom_document_get_head ::
Ptr DOMDocument ->
IO (Ptr WebKit2WebExtension.DOMHTMLHeadElement.DOMHTMLHeadElement)
{-# DEPRECATED dOMDocumentGetHead ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentGetHead ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> m WebKit2WebExtension.DOMHTMLHeadElement.DOMHTMLHeadElement
dOMDocumentGetHead self = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
result <- webkit_dom_document_get_head self'
checkUnexpectedReturnNULL "dOMDocumentGetHead" result
result' <- (newObject WebKit2WebExtension.DOMHTMLHeadElement.DOMHTMLHeadElement) result
touchManagedPtr self
return result'
#if ENABLE_OVERLOADING
data DOMDocumentGetHeadMethodInfo
instance (signature ~ (m WebKit2WebExtension.DOMHTMLHeadElement.DOMHTMLHeadElement), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentGetHeadMethodInfo a signature where
overloadedMethod _ = dOMDocumentGetHead
#endif
foreign import ccall "webkit_dom_document_get_hidden" webkit_dom_document_get_hidden ::
Ptr DOMDocument ->
IO CInt
{-# DEPRECATED dOMDocumentGetHidden ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentGetHidden ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> m Bool
dOMDocumentGetHidden self = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
result <- webkit_dom_document_get_hidden self'
let result' = (/= 0) result
touchManagedPtr self
return result'
#if ENABLE_OVERLOADING
data DOMDocumentGetHiddenMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentGetHiddenMethodInfo a signature where
overloadedMethod _ = dOMDocumentGetHidden
#endif
foreign import ccall "webkit_dom_document_get_images" webkit_dom_document_get_images ::
Ptr DOMDocument ->
IO (Ptr WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection)
{-# DEPRECATED dOMDocumentGetImages ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentGetImages ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> m WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection
dOMDocumentGetImages self = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
result <- webkit_dom_document_get_images self'
checkUnexpectedReturnNULL "dOMDocumentGetImages" result
result' <- (wrapObject WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection) result
touchManagedPtr self
return result'
#if ENABLE_OVERLOADING
data DOMDocumentGetImagesMethodInfo
instance (signature ~ (m WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentGetImagesMethodInfo a signature where
overloadedMethod _ = dOMDocumentGetImages
#endif
foreign import ccall "webkit_dom_document_get_implementation" webkit_dom_document_get_implementation ::
Ptr DOMDocument ->
IO (Ptr WebKit2WebExtension.DOMDOMImplementation.DOMDOMImplementation)
{-# DEPRECATED dOMDocumentGetImplementation ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentGetImplementation ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> m WebKit2WebExtension.DOMDOMImplementation.DOMDOMImplementation
dOMDocumentGetImplementation self = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
result <- webkit_dom_document_get_implementation self'
checkUnexpectedReturnNULL "dOMDocumentGetImplementation" result
result' <- (wrapObject WebKit2WebExtension.DOMDOMImplementation.DOMDOMImplementation) result
touchManagedPtr self
return result'
#if ENABLE_OVERLOADING
data DOMDocumentGetImplementationMethodInfo
instance (signature ~ (m WebKit2WebExtension.DOMDOMImplementation.DOMDOMImplementation), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentGetImplementationMethodInfo a signature where
overloadedMethod _ = dOMDocumentGetImplementation
#endif
foreign import ccall "webkit_dom_document_get_input_encoding" webkit_dom_document_get_input_encoding ::
Ptr DOMDocument ->
IO CString
{-# DEPRECATED dOMDocumentGetInputEncoding ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentGetInputEncoding ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> m T.Text
dOMDocumentGetInputEncoding self = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
result <- webkit_dom_document_get_input_encoding self'
checkUnexpectedReturnNULL "dOMDocumentGetInputEncoding" result
result' <- cstringToText result
freeMem result
touchManagedPtr self
return result'
#if ENABLE_OVERLOADING
data DOMDocumentGetInputEncodingMethodInfo
instance (signature ~ (m T.Text), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentGetInputEncodingMethodInfo a signature where
overloadedMethod _ = dOMDocumentGetInputEncoding
#endif
foreign import ccall "webkit_dom_document_get_last_element_child" webkit_dom_document_get_last_element_child ::
Ptr DOMDocument ->
IO (Ptr WebKit2WebExtension.DOMElement.DOMElement)
{-# DEPRECATED dOMDocumentGetLastElementChild ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentGetLastElementChild ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> m WebKit2WebExtension.DOMElement.DOMElement
dOMDocumentGetLastElementChild self = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
result <- webkit_dom_document_get_last_element_child self'
checkUnexpectedReturnNULL "dOMDocumentGetLastElementChild" result
result' <- (newObject WebKit2WebExtension.DOMElement.DOMElement) result
touchManagedPtr self
return result'
#if ENABLE_OVERLOADING
data DOMDocumentGetLastElementChildMethodInfo
instance (signature ~ (m WebKit2WebExtension.DOMElement.DOMElement), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentGetLastElementChildMethodInfo a signature where
overloadedMethod _ = dOMDocumentGetLastElementChild
#endif
foreign import ccall "webkit_dom_document_get_last_modified" webkit_dom_document_get_last_modified ::
Ptr DOMDocument ->
IO CString
{-# DEPRECATED dOMDocumentGetLastModified ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentGetLastModified ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> m T.Text
dOMDocumentGetLastModified self = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
result <- webkit_dom_document_get_last_modified self'
checkUnexpectedReturnNULL "dOMDocumentGetLastModified" result
result' <- cstringToText result
freeMem result
touchManagedPtr self
return result'
#if ENABLE_OVERLOADING
data DOMDocumentGetLastModifiedMethodInfo
instance (signature ~ (m T.Text), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentGetLastModifiedMethodInfo a signature where
overloadedMethod _ = dOMDocumentGetLastModified
#endif
foreign import ccall "webkit_dom_document_get_links" webkit_dom_document_get_links ::
Ptr DOMDocument ->
IO (Ptr WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection)
{-# DEPRECATED dOMDocumentGetLinks ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentGetLinks ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> m WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection
dOMDocumentGetLinks self = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
result <- webkit_dom_document_get_links self'
checkUnexpectedReturnNULL "dOMDocumentGetLinks" result
result' <- (wrapObject WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection) result
touchManagedPtr self
return result'
#if ENABLE_OVERLOADING
data DOMDocumentGetLinksMethodInfo
instance (signature ~ (m WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentGetLinksMethodInfo a signature where
overloadedMethod _ = dOMDocumentGetLinks
#endif
foreign import ccall "webkit_dom_document_get_origin" webkit_dom_document_get_origin ::
Ptr DOMDocument ->
IO CString
{-# DEPRECATED dOMDocumentGetOrigin ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentGetOrigin ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> m T.Text
dOMDocumentGetOrigin self = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
result <- webkit_dom_document_get_origin self'
checkUnexpectedReturnNULL "dOMDocumentGetOrigin" result
result' <- cstringToText result
freeMem result
touchManagedPtr self
return result'
#if ENABLE_OVERLOADING
data DOMDocumentGetOriginMethodInfo
instance (signature ~ (m T.Text), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentGetOriginMethodInfo a signature where
overloadedMethod _ = dOMDocumentGetOrigin
#endif
foreign import ccall "webkit_dom_document_get_override_style" webkit_dom_document_get_override_style ::
Ptr DOMDocument ->
Ptr WebKit2WebExtension.DOMElement.DOMElement ->
CString ->
IO (Ptr WebKit2WebExtension.DOMCSSStyleDeclaration.DOMCSSStyleDeclaration)
{-# DEPRECATED dOMDocumentGetOverrideStyle ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentGetOverrideStyle ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a, WebKit2WebExtension.DOMElement.IsDOMElement b) =>
a
-> b
-> Maybe (T.Text)
-> m WebKit2WebExtension.DOMCSSStyleDeclaration.DOMCSSStyleDeclaration
dOMDocumentGetOverrideStyle self element pseudoElement = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
element' <- unsafeManagedPtrCastPtr element
maybePseudoElement <- case pseudoElement of
Nothing -> return nullPtr
Just jPseudoElement -> do
jPseudoElement' <- textToCString jPseudoElement
return jPseudoElement'
result <- webkit_dom_document_get_override_style self' element' maybePseudoElement
checkUnexpectedReturnNULL "dOMDocumentGetOverrideStyle" result
result' <- (wrapObject WebKit2WebExtension.DOMCSSStyleDeclaration.DOMCSSStyleDeclaration) result
touchManagedPtr self
touchManagedPtr element
freeMem maybePseudoElement
return result'
#if ENABLE_OVERLOADING
data DOMDocumentGetOverrideStyleMethodInfo
instance (signature ~ (b -> Maybe (T.Text) -> m WebKit2WebExtension.DOMCSSStyleDeclaration.DOMCSSStyleDeclaration), MonadIO m, IsDOMDocument a, WebKit2WebExtension.DOMElement.IsDOMElement b) => O.MethodInfo DOMDocumentGetOverrideStyleMethodInfo a signature where
overloadedMethod _ = dOMDocumentGetOverrideStyle
#endif
foreign import ccall "webkit_dom_document_get_plugins" webkit_dom_document_get_plugins ::
Ptr DOMDocument ->
IO (Ptr WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection)
{-# DEPRECATED dOMDocumentGetPlugins ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentGetPlugins ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> m WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection
dOMDocumentGetPlugins self = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
result <- webkit_dom_document_get_plugins self'
checkUnexpectedReturnNULL "dOMDocumentGetPlugins" result
result' <- (wrapObject WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection) result
touchManagedPtr self
return result'
#if ENABLE_OVERLOADING
data DOMDocumentGetPluginsMethodInfo
instance (signature ~ (m WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentGetPluginsMethodInfo a signature where
overloadedMethod _ = dOMDocumentGetPlugins
#endif
foreign import ccall "webkit_dom_document_get_pointer_lock_element" webkit_dom_document_get_pointer_lock_element ::
Ptr DOMDocument ->
IO (Ptr WebKit2WebExtension.DOMElement.DOMElement)
{-# DEPRECATED dOMDocumentGetPointerLockElement ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentGetPointerLockElement ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> m WebKit2WebExtension.DOMElement.DOMElement
dOMDocumentGetPointerLockElement self = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
result <- webkit_dom_document_get_pointer_lock_element self'
checkUnexpectedReturnNULL "dOMDocumentGetPointerLockElement" result
result' <- (newObject WebKit2WebExtension.DOMElement.DOMElement) result
touchManagedPtr self
return result'
#if ENABLE_OVERLOADING
data DOMDocumentGetPointerLockElementMethodInfo
instance (signature ~ (m WebKit2WebExtension.DOMElement.DOMElement), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentGetPointerLockElementMethodInfo a signature where
overloadedMethod _ = dOMDocumentGetPointerLockElement
#endif
foreign import ccall "webkit_dom_document_get_preferred_stylesheet_set" webkit_dom_document_get_preferred_stylesheet_set ::
Ptr DOMDocument ->
IO CString
{-# DEPRECATED dOMDocumentGetPreferredStylesheetSet ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentGetPreferredStylesheetSet ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> m T.Text
dOMDocumentGetPreferredStylesheetSet self = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
result <- webkit_dom_document_get_preferred_stylesheet_set self'
checkUnexpectedReturnNULL "dOMDocumentGetPreferredStylesheetSet" result
result' <- cstringToText result
freeMem result
touchManagedPtr self
return result'
#if ENABLE_OVERLOADING
data DOMDocumentGetPreferredStylesheetSetMethodInfo
instance (signature ~ (m T.Text), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentGetPreferredStylesheetSetMethodInfo a signature where
overloadedMethod _ = dOMDocumentGetPreferredStylesheetSet
#endif
foreign import ccall "webkit_dom_document_get_ready_state" webkit_dom_document_get_ready_state ::
Ptr DOMDocument ->
IO CString
{-# DEPRECATED dOMDocumentGetReadyState ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentGetReadyState ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> m T.Text
dOMDocumentGetReadyState self = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
result <- webkit_dom_document_get_ready_state self'
checkUnexpectedReturnNULL "dOMDocumentGetReadyState" result
result' <- cstringToText result
freeMem result
touchManagedPtr self
return result'
#if ENABLE_OVERLOADING
data DOMDocumentGetReadyStateMethodInfo
instance (signature ~ (m T.Text), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentGetReadyStateMethodInfo a signature where
overloadedMethod _ = dOMDocumentGetReadyState
#endif
foreign import ccall "webkit_dom_document_get_referrer" webkit_dom_document_get_referrer ::
Ptr DOMDocument ->
IO CString
{-# DEPRECATED dOMDocumentGetReferrer ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentGetReferrer ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> m T.Text
dOMDocumentGetReferrer self = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
result <- webkit_dom_document_get_referrer self'
checkUnexpectedReturnNULL "dOMDocumentGetReferrer" result
result' <- cstringToText result
freeMem result
touchManagedPtr self
return result'
#if ENABLE_OVERLOADING
data DOMDocumentGetReferrerMethodInfo
instance (signature ~ (m T.Text), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentGetReferrerMethodInfo a signature where
overloadedMethod _ = dOMDocumentGetReferrer
#endif
foreign import ccall "webkit_dom_document_get_scripts" webkit_dom_document_get_scripts ::
Ptr DOMDocument ->
IO (Ptr WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection)
{-# DEPRECATED dOMDocumentGetScripts ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentGetScripts ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> m WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection
dOMDocumentGetScripts self = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
result <- webkit_dom_document_get_scripts self'
checkUnexpectedReturnNULL "dOMDocumentGetScripts" result
result' <- (wrapObject WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection) result
touchManagedPtr self
return result'
#if ENABLE_OVERLOADING
data DOMDocumentGetScriptsMethodInfo
instance (signature ~ (m WebKit2WebExtension.DOMHTMLCollection.DOMHTMLCollection), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentGetScriptsMethodInfo a signature where
overloadedMethod _ = dOMDocumentGetScripts
#endif
foreign import ccall "webkit_dom_document_get_scrolling_element" webkit_dom_document_get_scrolling_element ::
Ptr DOMDocument ->
IO (Ptr WebKit2WebExtension.DOMElement.DOMElement)
{-# DEPRECATED dOMDocumentGetScrollingElement ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentGetScrollingElement ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> m WebKit2WebExtension.DOMElement.DOMElement
dOMDocumentGetScrollingElement self = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
result <- webkit_dom_document_get_scrolling_element self'
checkUnexpectedReturnNULL "dOMDocumentGetScrollingElement" result
result' <- (newObject WebKit2WebExtension.DOMElement.DOMElement) result
touchManagedPtr self
return result'
#if ENABLE_OVERLOADING
data DOMDocumentGetScrollingElementMethodInfo
instance (signature ~ (m WebKit2WebExtension.DOMElement.DOMElement), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentGetScrollingElementMethodInfo a signature where
overloadedMethod _ = dOMDocumentGetScrollingElement
#endif
foreign import ccall "webkit_dom_document_get_selected_stylesheet_set" webkit_dom_document_get_selected_stylesheet_set ::
Ptr DOMDocument ->
IO CString
{-# DEPRECATED dOMDocumentGetSelectedStylesheetSet ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentGetSelectedStylesheetSet ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> m T.Text
dOMDocumentGetSelectedStylesheetSet self = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
result <- webkit_dom_document_get_selected_stylesheet_set self'
checkUnexpectedReturnNULL "dOMDocumentGetSelectedStylesheetSet" result
result' <- cstringToText result
freeMem result
touchManagedPtr self
return result'
#if ENABLE_OVERLOADING
data DOMDocumentGetSelectedStylesheetSetMethodInfo
instance (signature ~ (m T.Text), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentGetSelectedStylesheetSetMethodInfo a signature where
overloadedMethod _ = dOMDocumentGetSelectedStylesheetSet
#endif
foreign import ccall "webkit_dom_document_get_style_sheets" webkit_dom_document_get_style_sheets ::
Ptr DOMDocument ->
IO (Ptr WebKit2WebExtension.DOMStyleSheetList.DOMStyleSheetList)
{-# DEPRECATED dOMDocumentGetStyleSheets ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentGetStyleSheets ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> m WebKit2WebExtension.DOMStyleSheetList.DOMStyleSheetList
dOMDocumentGetStyleSheets self = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
result <- webkit_dom_document_get_style_sheets self'
checkUnexpectedReturnNULL "dOMDocumentGetStyleSheets" result
result' <- (newObject WebKit2WebExtension.DOMStyleSheetList.DOMStyleSheetList) result
touchManagedPtr self
return result'
#if ENABLE_OVERLOADING
data DOMDocumentGetStyleSheetsMethodInfo
instance (signature ~ (m WebKit2WebExtension.DOMStyleSheetList.DOMStyleSheetList), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentGetStyleSheetsMethodInfo a signature where
overloadedMethod _ = dOMDocumentGetStyleSheets
#endif
foreign import ccall "webkit_dom_document_get_title" webkit_dom_document_get_title ::
Ptr DOMDocument ->
IO CString
{-# DEPRECATED dOMDocumentGetTitle ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentGetTitle ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> m T.Text
dOMDocumentGetTitle self = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
result <- webkit_dom_document_get_title self'
checkUnexpectedReturnNULL "dOMDocumentGetTitle" result
result' <- cstringToText result
freeMem result
touchManagedPtr self
return result'
#if ENABLE_OVERLOADING
data DOMDocumentGetTitleMethodInfo
instance (signature ~ (m T.Text), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentGetTitleMethodInfo a signature where
overloadedMethod _ = dOMDocumentGetTitle
#endif
foreign import ccall "webkit_dom_document_get_url" webkit_dom_document_get_url ::
Ptr DOMDocument ->
IO CString
{-# DEPRECATED dOMDocumentGetUrl ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentGetUrl ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> m T.Text
dOMDocumentGetUrl self = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
result <- webkit_dom_document_get_url self'
checkUnexpectedReturnNULL "dOMDocumentGetUrl" result
result' <- cstringToText result
freeMem result
touchManagedPtr self
return result'
#if ENABLE_OVERLOADING
data DOMDocumentGetUrlMethodInfo
instance (signature ~ (m T.Text), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentGetUrlMethodInfo a signature where
overloadedMethod _ = dOMDocumentGetUrl
#endif
foreign import ccall "webkit_dom_document_get_visibility_state" webkit_dom_document_get_visibility_state ::
Ptr DOMDocument ->
IO CString
{-# DEPRECATED dOMDocumentGetVisibilityState ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentGetVisibilityState ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> m T.Text
dOMDocumentGetVisibilityState self = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
result <- webkit_dom_document_get_visibility_state self'
checkUnexpectedReturnNULL "dOMDocumentGetVisibilityState" result
result' <- cstringToText result
freeMem result
touchManagedPtr self
return result'
#if ENABLE_OVERLOADING
data DOMDocumentGetVisibilityStateMethodInfo
instance (signature ~ (m T.Text), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentGetVisibilityStateMethodInfo a signature where
overloadedMethod _ = dOMDocumentGetVisibilityState
#endif
foreign import ccall "webkit_dom_document_get_webkit_current_fullscreen_element" webkit_dom_document_get_webkit_current_fullscreen_element ::
Ptr DOMDocument ->
IO (Ptr WebKit2WebExtension.DOMElement.DOMElement)
{-# DEPRECATED dOMDocumentGetWebkitCurrentFullscreenElement ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentGetWebkitCurrentFullscreenElement ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> m WebKit2WebExtension.DOMElement.DOMElement
dOMDocumentGetWebkitCurrentFullscreenElement self = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
result <- webkit_dom_document_get_webkit_current_fullscreen_element self'
checkUnexpectedReturnNULL "dOMDocumentGetWebkitCurrentFullscreenElement" result
result' <- (newObject WebKit2WebExtension.DOMElement.DOMElement) result
touchManagedPtr self
return result'
#if ENABLE_OVERLOADING
data DOMDocumentGetWebkitCurrentFullscreenElementMethodInfo
instance (signature ~ (m WebKit2WebExtension.DOMElement.DOMElement), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentGetWebkitCurrentFullscreenElementMethodInfo a signature where
overloadedMethod _ = dOMDocumentGetWebkitCurrentFullscreenElement
#endif
foreign import ccall "webkit_dom_document_get_webkit_fullscreen_element" webkit_dom_document_get_webkit_fullscreen_element ::
Ptr DOMDocument ->
IO (Ptr WebKit2WebExtension.DOMElement.DOMElement)
{-# DEPRECATED dOMDocumentGetWebkitFullscreenElement ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentGetWebkitFullscreenElement ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> m WebKit2WebExtension.DOMElement.DOMElement
dOMDocumentGetWebkitFullscreenElement self = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
result <- webkit_dom_document_get_webkit_fullscreen_element self'
checkUnexpectedReturnNULL "dOMDocumentGetWebkitFullscreenElement" result
result' <- (newObject WebKit2WebExtension.DOMElement.DOMElement) result
touchManagedPtr self
return result'
#if ENABLE_OVERLOADING
data DOMDocumentGetWebkitFullscreenElementMethodInfo
instance (signature ~ (m WebKit2WebExtension.DOMElement.DOMElement), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentGetWebkitFullscreenElementMethodInfo a signature where
overloadedMethod _ = dOMDocumentGetWebkitFullscreenElement
#endif
foreign import ccall "webkit_dom_document_get_webkit_fullscreen_enabled" webkit_dom_document_get_webkit_fullscreen_enabled ::
Ptr DOMDocument ->
IO CInt
{-# DEPRECATED dOMDocumentGetWebkitFullscreenEnabled ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentGetWebkitFullscreenEnabled ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> m Bool
dOMDocumentGetWebkitFullscreenEnabled self = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
result <- webkit_dom_document_get_webkit_fullscreen_enabled self'
let result' = (/= 0) result
touchManagedPtr self
return result'
#if ENABLE_OVERLOADING
data DOMDocumentGetWebkitFullscreenEnabledMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentGetWebkitFullscreenEnabledMethodInfo a signature where
overloadedMethod _ = dOMDocumentGetWebkitFullscreenEnabled
#endif
foreign import ccall "webkit_dom_document_get_webkit_fullscreen_keyboard_input_allowed" webkit_dom_document_get_webkit_fullscreen_keyboard_input_allowed ::
Ptr DOMDocument ->
IO CInt
{-# DEPRECATED dOMDocumentGetWebkitFullscreenKeyboardInputAllowed ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentGetWebkitFullscreenKeyboardInputAllowed ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> m Bool
dOMDocumentGetWebkitFullscreenKeyboardInputAllowed self = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
result <- webkit_dom_document_get_webkit_fullscreen_keyboard_input_allowed self'
let result' = (/= 0) result
touchManagedPtr self
return result'
#if ENABLE_OVERLOADING
data DOMDocumentGetWebkitFullscreenKeyboardInputAllowedMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentGetWebkitFullscreenKeyboardInputAllowedMethodInfo a signature where
overloadedMethod _ = dOMDocumentGetWebkitFullscreenKeyboardInputAllowed
#endif
foreign import ccall "webkit_dom_document_get_webkit_is_fullscreen" webkit_dom_document_get_webkit_is_fullscreen ::
Ptr DOMDocument ->
IO CInt
{-# DEPRECATED dOMDocumentGetWebkitIsFullscreen ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentGetWebkitIsFullscreen ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> m Bool
dOMDocumentGetWebkitIsFullscreen self = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
result <- webkit_dom_document_get_webkit_is_fullscreen self'
let result' = (/= 0) result
touchManagedPtr self
return result'
#if ENABLE_OVERLOADING
data DOMDocumentGetWebkitIsFullscreenMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentGetWebkitIsFullscreenMethodInfo a signature where
overloadedMethod _ = dOMDocumentGetWebkitIsFullscreen
#endif
foreign import ccall "webkit_dom_document_get_xml_encoding" webkit_dom_document_get_xml_encoding ::
Ptr DOMDocument ->
IO CString
{-# DEPRECATED dOMDocumentGetXmlEncoding ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentGetXmlEncoding ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> m T.Text
dOMDocumentGetXmlEncoding self = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
result <- webkit_dom_document_get_xml_encoding self'
checkUnexpectedReturnNULL "dOMDocumentGetXmlEncoding" result
result' <- cstringToText result
freeMem result
touchManagedPtr self
return result'
#if ENABLE_OVERLOADING
data DOMDocumentGetXmlEncodingMethodInfo
instance (signature ~ (m T.Text), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentGetXmlEncodingMethodInfo a signature where
overloadedMethod _ = dOMDocumentGetXmlEncoding
#endif
foreign import ccall "webkit_dom_document_get_xml_standalone" webkit_dom_document_get_xml_standalone ::
Ptr DOMDocument ->
IO CInt
{-# DEPRECATED dOMDocumentGetXmlStandalone ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentGetXmlStandalone ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> m Bool
dOMDocumentGetXmlStandalone self = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
result <- webkit_dom_document_get_xml_standalone self'
let result' = (/= 0) result
touchManagedPtr self
return result'
#if ENABLE_OVERLOADING
data DOMDocumentGetXmlStandaloneMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentGetXmlStandaloneMethodInfo a signature where
overloadedMethod _ = dOMDocumentGetXmlStandalone
#endif
foreign import ccall "webkit_dom_document_get_xml_version" webkit_dom_document_get_xml_version ::
Ptr DOMDocument ->
IO CString
{-# DEPRECATED dOMDocumentGetXmlVersion ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentGetXmlVersion ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> m T.Text
dOMDocumentGetXmlVersion self = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
result <- webkit_dom_document_get_xml_version self'
checkUnexpectedReturnNULL "dOMDocumentGetXmlVersion" result
result' <- cstringToText result
freeMem result
touchManagedPtr self
return result'
#if ENABLE_OVERLOADING
data DOMDocumentGetXmlVersionMethodInfo
instance (signature ~ (m T.Text), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentGetXmlVersionMethodInfo a signature where
overloadedMethod _ = dOMDocumentGetXmlVersion
#endif
foreign import ccall "webkit_dom_document_has_focus" webkit_dom_document_has_focus ::
Ptr DOMDocument ->
IO CInt
{-# DEPRECATED dOMDocumentHasFocus ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentHasFocus ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> m Bool
dOMDocumentHasFocus self = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
result <- webkit_dom_document_has_focus self'
let result' = (/= 0) result
touchManagedPtr self
return result'
#if ENABLE_OVERLOADING
data DOMDocumentHasFocusMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentHasFocusMethodInfo a signature where
overloadedMethod _ = dOMDocumentHasFocus
#endif
foreign import ccall "webkit_dom_document_import_node" webkit_dom_document_import_node ::
Ptr DOMDocument ->
Ptr WebKit2WebExtension.DOMNode.DOMNode ->
CInt ->
Ptr (Ptr GError) ->
IO (Ptr WebKit2WebExtension.DOMNode.DOMNode)
{-# DEPRECATED dOMDocumentImportNode ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentImportNode ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a, WebKit2WebExtension.DOMNode.IsDOMNode b) =>
a
-> b
-> Bool
-> m WebKit2WebExtension.DOMNode.DOMNode
dOMDocumentImportNode self importedNode deep = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
importedNode' <- unsafeManagedPtrCastPtr importedNode
let deep' = (fromIntegral . fromEnum) deep
onException (do
result <- propagateGError $ webkit_dom_document_import_node self' importedNode' deep'
checkUnexpectedReturnNULL "dOMDocumentImportNode" result
result' <- (newObject WebKit2WebExtension.DOMNode.DOMNode) result
touchManagedPtr self
touchManagedPtr importedNode
return result'
) (do
return ()
)
#if ENABLE_OVERLOADING
data DOMDocumentImportNodeMethodInfo
instance (signature ~ (b -> Bool -> m WebKit2WebExtension.DOMNode.DOMNode), MonadIO m, IsDOMDocument a, WebKit2WebExtension.DOMNode.IsDOMNode b) => O.MethodInfo DOMDocumentImportNodeMethodInfo a signature where
overloadedMethod _ = dOMDocumentImportNode
#endif
foreign import ccall "webkit_dom_document_query_command_enabled" webkit_dom_document_query_command_enabled ::
Ptr DOMDocument ->
CString ->
IO CInt
{-# DEPRECATED dOMDocumentQueryCommandEnabled ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentQueryCommandEnabled ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> T.Text
-> m Bool
dOMDocumentQueryCommandEnabled self command = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
command' <- textToCString command
result <- webkit_dom_document_query_command_enabled self' command'
let result' = (/= 0) result
touchManagedPtr self
freeMem command'
return result'
#if ENABLE_OVERLOADING
data DOMDocumentQueryCommandEnabledMethodInfo
instance (signature ~ (T.Text -> m Bool), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentQueryCommandEnabledMethodInfo a signature where
overloadedMethod _ = dOMDocumentQueryCommandEnabled
#endif
foreign import ccall "webkit_dom_document_query_command_indeterm" webkit_dom_document_query_command_indeterm ::
Ptr DOMDocument ->
CString ->
IO CInt
{-# DEPRECATED dOMDocumentQueryCommandIndeterm ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentQueryCommandIndeterm ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> T.Text
-> m Bool
dOMDocumentQueryCommandIndeterm self command = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
command' <- textToCString command
result <- webkit_dom_document_query_command_indeterm self' command'
let result' = (/= 0) result
touchManagedPtr self
freeMem command'
return result'
#if ENABLE_OVERLOADING
data DOMDocumentQueryCommandIndetermMethodInfo
instance (signature ~ (T.Text -> m Bool), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentQueryCommandIndetermMethodInfo a signature where
overloadedMethod _ = dOMDocumentQueryCommandIndeterm
#endif
foreign import ccall "webkit_dom_document_query_command_state" webkit_dom_document_query_command_state ::
Ptr DOMDocument ->
CString ->
IO CInt
{-# DEPRECATED dOMDocumentQueryCommandState ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentQueryCommandState ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> T.Text
-> m Bool
dOMDocumentQueryCommandState self command = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
command' <- textToCString command
result <- webkit_dom_document_query_command_state self' command'
let result' = (/= 0) result
touchManagedPtr self
freeMem command'
return result'
#if ENABLE_OVERLOADING
data DOMDocumentQueryCommandStateMethodInfo
instance (signature ~ (T.Text -> m Bool), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentQueryCommandStateMethodInfo a signature where
overloadedMethod _ = dOMDocumentQueryCommandState
#endif
foreign import ccall "webkit_dom_document_query_command_supported" webkit_dom_document_query_command_supported ::
Ptr DOMDocument ->
CString ->
IO CInt
{-# DEPRECATED dOMDocumentQueryCommandSupported ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentQueryCommandSupported ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> T.Text
-> m Bool
dOMDocumentQueryCommandSupported self command = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
command' <- textToCString command
result <- webkit_dom_document_query_command_supported self' command'
let result' = (/= 0) result
touchManagedPtr self
freeMem command'
return result'
#if ENABLE_OVERLOADING
data DOMDocumentQueryCommandSupportedMethodInfo
instance (signature ~ (T.Text -> m Bool), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentQueryCommandSupportedMethodInfo a signature where
overloadedMethod _ = dOMDocumentQueryCommandSupported
#endif
foreign import ccall "webkit_dom_document_query_command_value" webkit_dom_document_query_command_value ::
Ptr DOMDocument ->
CString ->
IO CString
{-# DEPRECATED dOMDocumentQueryCommandValue ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentQueryCommandValue ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> T.Text
-> m T.Text
dOMDocumentQueryCommandValue self command = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
command' <- textToCString command
result <- webkit_dom_document_query_command_value self' command'
checkUnexpectedReturnNULL "dOMDocumentQueryCommandValue" result
result' <- cstringToText result
freeMem result
touchManagedPtr self
freeMem command'
return result'
#if ENABLE_OVERLOADING
data DOMDocumentQueryCommandValueMethodInfo
instance (signature ~ (T.Text -> m T.Text), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentQueryCommandValueMethodInfo a signature where
overloadedMethod _ = dOMDocumentQueryCommandValue
#endif
foreign import ccall "webkit_dom_document_query_selector" webkit_dom_document_query_selector ::
Ptr DOMDocument ->
CString ->
Ptr (Ptr GError) ->
IO (Ptr WebKit2WebExtension.DOMElement.DOMElement)
{-# DEPRECATED dOMDocumentQuerySelector ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentQuerySelector ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> T.Text
-> m WebKit2WebExtension.DOMElement.DOMElement
dOMDocumentQuerySelector self selectors = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
selectors' <- textToCString selectors
onException (do
result <- propagateGError $ webkit_dom_document_query_selector self' selectors'
checkUnexpectedReturnNULL "dOMDocumentQuerySelector" result
result' <- (newObject WebKit2WebExtension.DOMElement.DOMElement) result
touchManagedPtr self
freeMem selectors'
return result'
) (do
freeMem selectors'
)
#if ENABLE_OVERLOADING
data DOMDocumentQuerySelectorMethodInfo
instance (signature ~ (T.Text -> m WebKit2WebExtension.DOMElement.DOMElement), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentQuerySelectorMethodInfo a signature where
overloadedMethod _ = dOMDocumentQuerySelector
#endif
foreign import ccall "webkit_dom_document_query_selector_all" webkit_dom_document_query_selector_all ::
Ptr DOMDocument ->
CString ->
Ptr (Ptr GError) ->
IO (Ptr WebKit2WebExtension.DOMNodeList.DOMNodeList)
{-# DEPRECATED dOMDocumentQuerySelectorAll ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentQuerySelectorAll ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> T.Text
-> m WebKit2WebExtension.DOMNodeList.DOMNodeList
dOMDocumentQuerySelectorAll self selectors = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
selectors' <- textToCString selectors
onException (do
result <- propagateGError $ webkit_dom_document_query_selector_all self' selectors'
checkUnexpectedReturnNULL "dOMDocumentQuerySelectorAll" result
result' <- (wrapObject WebKit2WebExtension.DOMNodeList.DOMNodeList) result
touchManagedPtr self
freeMem selectors'
return result'
) (do
freeMem selectors'
)
#if ENABLE_OVERLOADING
data DOMDocumentQuerySelectorAllMethodInfo
instance (signature ~ (T.Text -> m WebKit2WebExtension.DOMNodeList.DOMNodeList), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentQuerySelectorAllMethodInfo a signature where
overloadedMethod _ = dOMDocumentQuerySelectorAll
#endif
foreign import ccall "webkit_dom_document_set_body" webkit_dom_document_set_body ::
Ptr DOMDocument ->
Ptr WebKit2WebExtension.DOMHTMLElement.DOMHTMLElement ->
Ptr (Ptr GError) ->
IO ()
{-# DEPRECATED dOMDocumentSetBody ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentSetBody ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a, WebKit2WebExtension.DOMHTMLElement.IsDOMHTMLElement b) =>
a
-> b
-> m ()
dOMDocumentSetBody self value = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
value' <- unsafeManagedPtrCastPtr value
onException (do
propagateGError $ webkit_dom_document_set_body self' value'
touchManagedPtr self
touchManagedPtr value
return ()
) (do
return ()
)
#if ENABLE_OVERLOADING
data DOMDocumentSetBodyMethodInfo
instance (signature ~ (b -> m ()), MonadIO m, IsDOMDocument a, WebKit2WebExtension.DOMHTMLElement.IsDOMHTMLElement b) => O.MethodInfo DOMDocumentSetBodyMethodInfo a signature where
overloadedMethod _ = dOMDocumentSetBody
#endif
foreign import ccall "webkit_dom_document_set_charset" webkit_dom_document_set_charset ::
Ptr DOMDocument ->
CString ->
IO ()
{-# DEPRECATED dOMDocumentSetCharset ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentSetCharset ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> T.Text
-> m ()
dOMDocumentSetCharset self value = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
value' <- textToCString value
webkit_dom_document_set_charset self' value'
touchManagedPtr self
freeMem value'
return ()
#if ENABLE_OVERLOADING
data DOMDocumentSetCharsetMethodInfo
instance (signature ~ (T.Text -> m ()), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentSetCharsetMethodInfo a signature where
overloadedMethod _ = dOMDocumentSetCharset
#endif
foreign import ccall "webkit_dom_document_set_cookie" webkit_dom_document_set_cookie ::
Ptr DOMDocument ->
CString ->
Ptr (Ptr GError) ->
IO ()
{-# DEPRECATED dOMDocumentSetCookie ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentSetCookie ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> T.Text
-> m ()
dOMDocumentSetCookie self value = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
value' <- textToCString value
onException (do
propagateGError $ webkit_dom_document_set_cookie self' value'
touchManagedPtr self
freeMem value'
return ()
) (do
freeMem value'
)
#if ENABLE_OVERLOADING
data DOMDocumentSetCookieMethodInfo
instance (signature ~ (T.Text -> m ()), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentSetCookieMethodInfo a signature where
overloadedMethod _ = dOMDocumentSetCookie
#endif
foreign import ccall "webkit_dom_document_set_design_mode" webkit_dom_document_set_design_mode ::
Ptr DOMDocument ->
CString ->
IO ()
{-# DEPRECATED dOMDocumentSetDesignMode ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentSetDesignMode ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> T.Text
-> m ()
dOMDocumentSetDesignMode self value = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
value' <- textToCString value
webkit_dom_document_set_design_mode self' value'
touchManagedPtr self
freeMem value'
return ()
#if ENABLE_OVERLOADING
data DOMDocumentSetDesignModeMethodInfo
instance (signature ~ (T.Text -> m ()), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentSetDesignModeMethodInfo a signature where
overloadedMethod _ = dOMDocumentSetDesignMode
#endif
foreign import ccall "webkit_dom_document_set_dir" webkit_dom_document_set_dir ::
Ptr DOMDocument ->
CString ->
IO ()
{-# DEPRECATED dOMDocumentSetDir ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentSetDir ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> T.Text
-> m ()
dOMDocumentSetDir self value = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
value' <- textToCString value
webkit_dom_document_set_dir self' value'
touchManagedPtr self
freeMem value'
return ()
#if ENABLE_OVERLOADING
data DOMDocumentSetDirMethodInfo
instance (signature ~ (T.Text -> m ()), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentSetDirMethodInfo a signature where
overloadedMethod _ = dOMDocumentSetDir
#endif
foreign import ccall "webkit_dom_document_set_document_uri" webkit_dom_document_set_document_uri ::
Ptr DOMDocument ->
CString ->
IO ()
{-# DEPRECATED dOMDocumentSetDocumentUri ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentSetDocumentUri ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> T.Text
-> m ()
dOMDocumentSetDocumentUri self value = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
value' <- textToCString value
webkit_dom_document_set_document_uri self' value'
touchManagedPtr self
freeMem value'
return ()
#if ENABLE_OVERLOADING
data DOMDocumentSetDocumentUriMethodInfo
instance (signature ~ (T.Text -> m ()), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentSetDocumentUriMethodInfo a signature where
overloadedMethod _ = dOMDocumentSetDocumentUri
#endif
foreign import ccall "webkit_dom_document_set_selected_stylesheet_set" webkit_dom_document_set_selected_stylesheet_set ::
Ptr DOMDocument ->
CString ->
IO ()
{-# DEPRECATED dOMDocumentSetSelectedStylesheetSet ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentSetSelectedStylesheetSet ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> T.Text
-> m ()
dOMDocumentSetSelectedStylesheetSet self value = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
value' <- textToCString value
webkit_dom_document_set_selected_stylesheet_set self' value'
touchManagedPtr self
freeMem value'
return ()
#if ENABLE_OVERLOADING
data DOMDocumentSetSelectedStylesheetSetMethodInfo
instance (signature ~ (T.Text -> m ()), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentSetSelectedStylesheetSetMethodInfo a signature where
overloadedMethod _ = dOMDocumentSetSelectedStylesheetSet
#endif
foreign import ccall "webkit_dom_document_set_title" webkit_dom_document_set_title ::
Ptr DOMDocument ->
CString ->
IO ()
{-# DEPRECATED dOMDocumentSetTitle ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentSetTitle ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> T.Text
-> m ()
dOMDocumentSetTitle self value = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
value' <- textToCString value
webkit_dom_document_set_title self' value'
touchManagedPtr self
freeMem value'
return ()
#if ENABLE_OVERLOADING
data DOMDocumentSetTitleMethodInfo
instance (signature ~ (T.Text -> m ()), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentSetTitleMethodInfo a signature where
overloadedMethod _ = dOMDocumentSetTitle
#endif
foreign import ccall "webkit_dom_document_set_xml_standalone" webkit_dom_document_set_xml_standalone ::
Ptr DOMDocument ->
CInt ->
Ptr (Ptr GError) ->
IO ()
{-# DEPRECATED dOMDocumentSetXmlStandalone ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentSetXmlStandalone ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> Bool
-> m ()
dOMDocumentSetXmlStandalone self value = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
let value' = (fromIntegral . fromEnum) value
onException (do
propagateGError $ webkit_dom_document_set_xml_standalone self' value'
touchManagedPtr self
return ()
) (do
return ()
)
#if ENABLE_OVERLOADING
data DOMDocumentSetXmlStandaloneMethodInfo
instance (signature ~ (Bool -> m ()), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentSetXmlStandaloneMethodInfo a signature where
overloadedMethod _ = dOMDocumentSetXmlStandalone
#endif
foreign import ccall "webkit_dom_document_set_xml_version" webkit_dom_document_set_xml_version ::
Ptr DOMDocument ->
CString ->
Ptr (Ptr GError) ->
IO ()
{-# DEPRECATED dOMDocumentSetXmlVersion ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentSetXmlVersion ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> T.Text
-> m ()
dOMDocumentSetXmlVersion self value = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
value' <- textToCString value
onException (do
propagateGError $ webkit_dom_document_set_xml_version self' value'
touchManagedPtr self
freeMem value'
return ()
) (do
freeMem value'
)
#if ENABLE_OVERLOADING
data DOMDocumentSetXmlVersionMethodInfo
instance (signature ~ (T.Text -> m ()), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentSetXmlVersionMethodInfo a signature where
overloadedMethod _ = dOMDocumentSetXmlVersion
#endif
foreign import ccall "webkit_dom_document_webkit_cancel_fullscreen" webkit_dom_document_webkit_cancel_fullscreen ::
Ptr DOMDocument ->
IO ()
{-# DEPRECATED dOMDocumentWebkitCancelFullscreen ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentWebkitCancelFullscreen ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> m ()
dOMDocumentWebkitCancelFullscreen self = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
webkit_dom_document_webkit_cancel_fullscreen self'
touchManagedPtr self
return ()
#if ENABLE_OVERLOADING
data DOMDocumentWebkitCancelFullscreenMethodInfo
instance (signature ~ (m ()), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentWebkitCancelFullscreenMethodInfo a signature where
overloadedMethod _ = dOMDocumentWebkitCancelFullscreen
#endif
foreign import ccall "webkit_dom_document_webkit_exit_fullscreen" webkit_dom_document_webkit_exit_fullscreen ::
Ptr DOMDocument ->
IO ()
{-# DEPRECATED dOMDocumentWebkitExitFullscreen ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
dOMDocumentWebkitExitFullscreen ::
(B.CallStack.HasCallStack, MonadIO m, IsDOMDocument a) =>
a
-> m ()
dOMDocumentWebkitExitFullscreen self = liftIO $ do
self' <- unsafeManagedPtrCastPtr self
webkit_dom_document_webkit_exit_fullscreen self'
touchManagedPtr self
return ()
#if ENABLE_OVERLOADING
data DOMDocumentWebkitExitFullscreenMethodInfo
instance (signature ~ (m ()), MonadIO m, IsDOMDocument a) => O.MethodInfo DOMDocumentWebkitExitFullscreenMethodInfo a signature where
overloadedMethod _ = dOMDocumentWebkitExitFullscreen
#endif