{-# LINE 2 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}
{-# OPTIONS_HADDOCK hide #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
-- -*-haskell-*-
-- -------------------- automatically generated file - do not edit ----------
-- Object hierarchy for the GIMP Toolkit (GTK) Binding for Haskell
--
-- Author : Axel Simon
--
-- Copyright (C) 2001-2005 Axel Simon
--
-- This library is free software; you can redistribute it and/or
-- modify it under the terms of the GNU Lesser General Public
-- License as published by the Free Software Foundation; either
-- version 2.1 of the License, or (at your option) any later version.
--
-- This library is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-- Lesser General Public License for more details.
--
-- #hide

-- |
-- Maintainer : gtk2hs-users@lists.sourceforge.net
-- Stability : provisional
-- Portability : portable (depends on GHC)
--
-- This file reflects the Gtk+ object hierarchy in terms of Haskell classes.
--
-- Note: the mk... functions were originally meant to simply be an alias
-- for the constructor. However, in order to communicate the destructor
-- of an object to objectNew, the mk... functions are now a tuple containing
-- Haskell constructor and the destructor function pointer. This hack avoids
-- changing all modules that simply pass mk... to objectNew.
--
module Graphics.UI.Gtk.WebKit.Types (

  module Graphics.UI.Gtk.WebKit.GtkInternals,
  WebView(WebView), WebViewClass,
  toWebView,
  mkWebView, unWebView,
  castToWebView, gTypeWebView,
  WebFrame(WebFrame), WebFrameClass,
  toWebFrame,
  mkWebFrame, unWebFrame,
  castToWebFrame, gTypeWebFrame,
  WebSettings(WebSettings), WebSettingsClass,
  toWebSettings,
  mkWebSettings, unWebSettings,
  castToWebSettings, gTypeWebSettings,
  NetworkRequest(NetworkRequest), NetworkRequestClass,
  toNetworkRequest,
  mkNetworkRequest, unNetworkRequest,
  castToNetworkRequest, gTypeNetworkRequest,
  NetworkResponse(NetworkResponse), NetworkResponseClass,
  toNetworkResponse,
  mkNetworkResponse, unNetworkResponse,
  castToNetworkResponse, gTypeNetworkResponse,
  Download(Download), DownloadClass,
  toDownload,
  mkDownload, unDownload,
  castToDownload, gTypeDownload,
  WebBackForwardList(WebBackForwardList), WebBackForwardListClass,
  toWebBackForwardList,
  mkWebBackForwardList, unWebBackForwardList,
  castToWebBackForwardList, gTypeWebBackForwardList,
  WebHistoryItem(WebHistoryItem), WebHistoryItemClass,
  toWebHistoryItem,
  mkWebHistoryItem, unWebHistoryItem,
  castToWebHistoryItem, gTypeWebHistoryItem,
  WebInspector(WebInspector), WebInspectorClass,
  toWebInspector,
  mkWebInspector, unWebInspector,
  castToWebInspector, gTypeWebInspector,
  HitTestResult(HitTestResult), HitTestResultClass,
  toHitTestResult,
  mkHitTestResult, unHitTestResult,
  castToHitTestResult, gTypeHitTestResult,
  SecurityOrigin(SecurityOrigin), SecurityOriginClass,
  toSecurityOrigin,
  mkSecurityOrigin, unSecurityOrigin,
  castToSecurityOrigin, gTypeSecurityOrigin,
  SoupAuthDialog(SoupAuthDialog), SoupAuthDialogClass,
  toSoupAuthDialog,
  mkSoupAuthDialog, unSoupAuthDialog,
  castToSoupAuthDialog, gTypeSoupAuthDialog,
  WebDatabase(WebDatabase), WebDatabaseClass,
  toWebDatabase,
  mkWebDatabase, unWebDatabase,
  castToWebDatabase, gTypeWebDatabase,
  WebDataSource(WebDataSource), WebDataSourceClass,
  toWebDataSource,
  mkWebDataSource, unWebDataSource,
  castToWebDataSource, gTypeWebDataSource,
  WebNavigationAction(WebNavigationAction), WebNavigationActionClass,
  toWebNavigationAction,
  mkWebNavigationAction, unWebNavigationAction,
  castToWebNavigationAction, gTypeWebNavigationAction,
  WebPolicyDecision(WebPolicyDecision), WebPolicyDecisionClass,
  toWebPolicyDecision,
  mkWebPolicyDecision, unWebPolicyDecision,
  castToWebPolicyDecision, gTypeWebPolicyDecision,
  WebResource(WebResource), WebResourceClass,
  toWebResource,
  mkWebResource, unWebResource,
  castToWebResource, gTypeWebResource,
  WebWindowFeatures(WebWindowFeatures), WebWindowFeaturesClass,
  toWebWindowFeatures,
  mkWebWindowFeatures, unWebWindowFeatures,
  castToWebWindowFeatures, gTypeWebWindowFeatures,
  GeolocationPolicyDecision(GeolocationPolicyDecision), GeolocationPolicyDecisionClass,
  toGeolocationPolicyDecision,
  mkGeolocationPolicyDecision, unGeolocationPolicyDecision,
  castToGeolocationPolicyDecision, gTypeGeolocationPolicyDecision,
  AudioTrack(AudioTrack), AudioTrackClass,
  toAudioTrack,
  mkAudioTrack, unAudioTrack,
  castToAudioTrack, gTypeAudioTrack,
  BarProp(BarProp), BarPropClass,
  toBarProp,
  mkBarProp, unBarProp,
  castToBarProp, gTypeBarProp,
  Blob(Blob), BlobClass,
  toBlob,
  mkBlob, unBlob,
  castToBlob, gTypeBlob,
  File(File), FileClass,
  toFile,
  mkFile, unFile,
  castToFile, gTypeFile,
  CSS(CSS), CSSClass,
  toCSS,
  mkCSS, unCSS,
  castToCSS, gTypeCSS,
  CSSRule(CSSRule), CSSRuleClass,
  toCSSRule,
  mkCSSRule, unCSSRule,
  castToCSSRule, gTypeCSSRule,
  CSSRuleList(CSSRuleList), CSSRuleListClass,
  toCSSRuleList,
  mkCSSRuleList, unCSSRuleList,
  castToCSSRuleList, gTypeCSSRuleList,
  CSSStyleDeclaration(CSSStyleDeclaration), CSSStyleDeclarationClass,
  toCSSStyleDeclaration,
  mkCSSStyleDeclaration, unCSSStyleDeclaration,
  castToCSSStyleDeclaration, gTypeCSSStyleDeclaration,
  CSSValue(CSSValue), CSSValueClass,
  toCSSValue,
  mkCSSValue, unCSSValue,
  castToCSSValue, gTypeCSSValue,
  DOMImplementation(DOMImplementation), DOMImplementationClass,
  toDOMImplementation,
  mkDOMImplementation, unDOMImplementation,
  castToDOMImplementation, gTypeDOMImplementation,
  DOMNamedFlowCollection(DOMNamedFlowCollection), DOMNamedFlowCollectionClass,
  toDOMNamedFlowCollection,
  mkDOMNamedFlowCollection, unDOMNamedFlowCollection,
  castToDOMNamedFlowCollection, gTypeDOMNamedFlowCollection,
  DOMStringList(DOMStringList), DOMStringListClass,
  toDOMStringList,
  mkDOMStringList, unDOMStringList,
  castToDOMStringList, gTypeDOMStringList,
  DOMTokenList(DOMTokenList), DOMTokenListClass,
  toDOMTokenList,
  mkDOMTokenList, unDOMTokenList,
  castToDOMTokenList, gTypeDOMTokenList,
  DOMSettableTokenList(DOMSettableTokenList), DOMSettableTokenListClass,
  toDOMSettableTokenList,
  mkDOMSettableTokenList, unDOMSettableTokenList,
  castToDOMSettableTokenList, gTypeDOMSettableTokenList,
  Event(Event), EventClass,
  toEvent,
  mkEvent, unEvent,
  castToEvent, gTypeEvent,
  UIEvent(UIEvent), UIEventClass,
  toUIEvent,
  mkUIEvent, unUIEvent,
  castToUIEvent, gTypeUIEvent,
  KeyboardEvent(KeyboardEvent), KeyboardEventClass,
  toKeyboardEvent,
  mkKeyboardEvent, unKeyboardEvent,
  castToKeyboardEvent, gTypeKeyboardEvent,
  MouseEvent(MouseEvent), MouseEventClass,
  toMouseEvent,
  mkMouseEvent, unMouseEvent,
  castToMouseEvent, gTypeMouseEvent,
  WheelEvent(WheelEvent), WheelEventClass,
  toWheelEvent,
  mkWheelEvent, unWheelEvent,
  castToWheelEvent, gTypeWheelEvent,
  EventTarget(EventTarget), EventTargetClass,
  toEventTarget,
  mkEventTarget, unEventTarget,
  castToEventTarget, gTypeEventTarget,
  ApplicationCache(ApplicationCache), ApplicationCacheClass,
  toApplicationCache,
  mkApplicationCache, unApplicationCache,
  castToApplicationCache, gTypeApplicationCache,
  AudioTrackList(AudioTrackList), AudioTrackListClass,
  toAudioTrackList,
  mkAudioTrackList, unAudioTrackList,
  castToAudioTrackList, gTypeAudioTrackList,
  BatteryManager(BatteryManager), BatteryManagerClass,
  toBatteryManager,
  mkBatteryManager, unBatteryManager,
  castToBatteryManager, gTypeBatteryManager,
  MessagePort(MessagePort), MessagePortClass,
  toMessagePort,
  mkMessagePort, unMessagePort,
  castToMessagePort, gTypeMessagePort,
  Node(Node), NodeClass,
  toNode,
  mkNode, unNode,
  castToNode, gTypeNode,
  Attr(Attr), AttrClass,
  toAttr,
  mkAttr, unAttr,
  castToAttr, gTypeAttr,
  CharacterData(CharacterData), CharacterDataClass,
  toCharacterData,
  mkCharacterData, unCharacterData,
  castToCharacterData, gTypeCharacterData,
  Comment(Comment), CommentClass,
  toComment,
  mkComment, unComment,
  castToComment, gTypeComment,
  ProcessingInstruction(ProcessingInstruction), ProcessingInstructionClass,
  toProcessingInstruction,
  mkProcessingInstruction, unProcessingInstruction,
  castToProcessingInstruction, gTypeProcessingInstruction,
  Text(Text), TextClass,
  toText,
  mkText, unText,
  castToText, gTypeText,
  CDATASection(CDATASection), CDATASectionClass,
  toCDATASection,
  mkCDATASection, unCDATASection,
  castToCDATASection, gTypeCDATASection,
  Document(Document), DocumentClass,
  toDocument,
  mkDocument, unDocument,
  castToDocument, gTypeDocument,
  HTMLDocument(HTMLDocument), HTMLDocumentClass,
  toHTMLDocument,
  mkHTMLDocument, unHTMLDocument,
  castToHTMLDocument, gTypeHTMLDocument,
  DocumentFragment(DocumentFragment), DocumentFragmentClass,
  toDocumentFragment,
  mkDocumentFragment, unDocumentFragment,
  castToDocumentFragment, gTypeDocumentFragment,
  DocumentType(DocumentType), DocumentTypeClass,
  toDocumentType,
  mkDocumentType, unDocumentType,
  castToDocumentType, gTypeDocumentType,
  Element(Element), ElementClass,
  toElement,
  mkElement, unElement,
  castToElement, gTypeElement,
  HTMLElement(HTMLElement), HTMLElementClass,
  toHTMLElement,
  mkHTMLElement, unHTMLElement,
  castToHTMLElement, gTypeHTMLElement,
  HTMLAnchorElement(HTMLAnchorElement), HTMLAnchorElementClass,
  toHTMLAnchorElement,
  mkHTMLAnchorElement, unHTMLAnchorElement,
  castToHTMLAnchorElement, gTypeHTMLAnchorElement,
  HTMLAppletElement(HTMLAppletElement), HTMLAppletElementClass,
  toHTMLAppletElement,
  mkHTMLAppletElement, unHTMLAppletElement,
  castToHTMLAppletElement, gTypeHTMLAppletElement,
  HTMLAreaElement(HTMLAreaElement), HTMLAreaElementClass,
  toHTMLAreaElement,
  mkHTMLAreaElement, unHTMLAreaElement,
  castToHTMLAreaElement, gTypeHTMLAreaElement,
  HTMLBRElement(HTMLBRElement), HTMLBRElementClass,
  toHTMLBRElement,
  mkHTMLBRElement, unHTMLBRElement,
  castToHTMLBRElement, gTypeHTMLBRElement,
  HTMLBaseElement(HTMLBaseElement), HTMLBaseElementClass,
  toHTMLBaseElement,
  mkHTMLBaseElement, unHTMLBaseElement,
  castToHTMLBaseElement, gTypeHTMLBaseElement,
  HTMLBaseFontElement(HTMLBaseFontElement), HTMLBaseFontElementClass,
  toHTMLBaseFontElement,
  mkHTMLBaseFontElement, unHTMLBaseFontElement,
  castToHTMLBaseFontElement, gTypeHTMLBaseFontElement,
  HTMLBodyElement(HTMLBodyElement), HTMLBodyElementClass,
  toHTMLBodyElement,
  mkHTMLBodyElement, unHTMLBodyElement,
  castToHTMLBodyElement, gTypeHTMLBodyElement,
  HTMLButtonElement(HTMLButtonElement), HTMLButtonElementClass,
  toHTMLButtonElement,
  mkHTMLButtonElement, unHTMLButtonElement,
  castToHTMLButtonElement, gTypeHTMLButtonElement,
  HTMLCanvasElement(HTMLCanvasElement), HTMLCanvasElementClass,
  toHTMLCanvasElement,
  mkHTMLCanvasElement, unHTMLCanvasElement,
  castToHTMLCanvasElement, gTypeHTMLCanvasElement,
  HTMLDListElement(HTMLDListElement), HTMLDListElementClass,
  toHTMLDListElement,
  mkHTMLDListElement, unHTMLDListElement,
  castToHTMLDListElement, gTypeHTMLDListElement,
  HTMLDetailsElement(HTMLDetailsElement), HTMLDetailsElementClass,
  toHTMLDetailsElement,
  mkHTMLDetailsElement, unHTMLDetailsElement,
  castToHTMLDetailsElement, gTypeHTMLDetailsElement,
  HTMLDirectoryElement(HTMLDirectoryElement), HTMLDirectoryElementClass,
  toHTMLDirectoryElement,
  mkHTMLDirectoryElement, unHTMLDirectoryElement,
  castToHTMLDirectoryElement, gTypeHTMLDirectoryElement,
  HTMLDivElement(HTMLDivElement), HTMLDivElementClass,
  toHTMLDivElement,
  mkHTMLDivElement, unHTMLDivElement,
  castToHTMLDivElement, gTypeHTMLDivElement,
  HTMLEmbedElement(HTMLEmbedElement), HTMLEmbedElementClass,
  toHTMLEmbedElement,
  mkHTMLEmbedElement, unHTMLEmbedElement,
  castToHTMLEmbedElement, gTypeHTMLEmbedElement,
  HTMLFieldSetElement(HTMLFieldSetElement), HTMLFieldSetElementClass,
  toHTMLFieldSetElement,
  mkHTMLFieldSetElement, unHTMLFieldSetElement,
  castToHTMLFieldSetElement, gTypeHTMLFieldSetElement,
  HTMLFontElement(HTMLFontElement), HTMLFontElementClass,
  toHTMLFontElement,
  mkHTMLFontElement, unHTMLFontElement,
  castToHTMLFontElement, gTypeHTMLFontElement,
  HTMLFormElement(HTMLFormElement), HTMLFormElementClass,
  toHTMLFormElement,
  mkHTMLFormElement, unHTMLFormElement,
  castToHTMLFormElement, gTypeHTMLFormElement,
  HTMLFrameElement(HTMLFrameElement), HTMLFrameElementClass,
  toHTMLFrameElement,
  mkHTMLFrameElement, unHTMLFrameElement,
  castToHTMLFrameElement, gTypeHTMLFrameElement,
  HTMLFrameSetElement(HTMLFrameSetElement), HTMLFrameSetElementClass,
  toHTMLFrameSetElement,
  mkHTMLFrameSetElement, unHTMLFrameSetElement,
  castToHTMLFrameSetElement, gTypeHTMLFrameSetElement,
  HTMLHRElement(HTMLHRElement), HTMLHRElementClass,
  toHTMLHRElement,
  mkHTMLHRElement, unHTMLHRElement,
  castToHTMLHRElement, gTypeHTMLHRElement,
  HTMLHeadElement(HTMLHeadElement), HTMLHeadElementClass,
  toHTMLHeadElement,
  mkHTMLHeadElement, unHTMLHeadElement,
  castToHTMLHeadElement, gTypeHTMLHeadElement,
  HTMLHeadingElement(HTMLHeadingElement), HTMLHeadingElementClass,
  toHTMLHeadingElement,
  mkHTMLHeadingElement, unHTMLHeadingElement,
  castToHTMLHeadingElement, gTypeHTMLHeadingElement,
  HTMLHtmlElement(HTMLHtmlElement), HTMLHtmlElementClass,
  toHTMLHtmlElement,
  mkHTMLHtmlElement, unHTMLHtmlElement,
  castToHTMLHtmlElement, gTypeHTMLHtmlElement,
  HTMLIFrameElement(HTMLIFrameElement), HTMLIFrameElementClass,
  toHTMLIFrameElement,
  mkHTMLIFrameElement, unHTMLIFrameElement,
  castToHTMLIFrameElement, gTypeHTMLIFrameElement,
  HTMLImageElement(HTMLImageElement), HTMLImageElementClass,
  toHTMLImageElement,
  mkHTMLImageElement, unHTMLImageElement,
  castToHTMLImageElement, gTypeHTMLImageElement,
  HTMLInputElement(HTMLInputElement), HTMLInputElementClass,
  toHTMLInputElement,
  mkHTMLInputElement, unHTMLInputElement,
  castToHTMLInputElement, gTypeHTMLInputElement,
  HTMLKeygenElement(HTMLKeygenElement), HTMLKeygenElementClass,
  toHTMLKeygenElement,
  mkHTMLKeygenElement, unHTMLKeygenElement,
  castToHTMLKeygenElement, gTypeHTMLKeygenElement,
  HTMLLIElement(HTMLLIElement), HTMLLIElementClass,
  toHTMLLIElement,
  mkHTMLLIElement, unHTMLLIElement,
  castToHTMLLIElement, gTypeHTMLLIElement,
  HTMLLabelElement(HTMLLabelElement), HTMLLabelElementClass,
  toHTMLLabelElement,
  mkHTMLLabelElement, unHTMLLabelElement,
  castToHTMLLabelElement, gTypeHTMLLabelElement,
  HTMLLegendElement(HTMLLegendElement), HTMLLegendElementClass,
  toHTMLLegendElement,
  mkHTMLLegendElement, unHTMLLegendElement,
  castToHTMLLegendElement, gTypeHTMLLegendElement,
  HTMLLinkElement(HTMLLinkElement), HTMLLinkElementClass,
  toHTMLLinkElement,
  mkHTMLLinkElement, unHTMLLinkElement,
  castToHTMLLinkElement, gTypeHTMLLinkElement,
  HTMLMapElement(HTMLMapElement), HTMLMapElementClass,
  toHTMLMapElement,
  mkHTMLMapElement, unHTMLMapElement,
  castToHTMLMapElement, gTypeHTMLMapElement,
  HTMLMarqueeElement(HTMLMarqueeElement), HTMLMarqueeElementClass,
  toHTMLMarqueeElement,
  mkHTMLMarqueeElement, unHTMLMarqueeElement,
  castToHTMLMarqueeElement, gTypeHTMLMarqueeElement,
  HTMLMenuElement(HTMLMenuElement), HTMLMenuElementClass,
  toHTMLMenuElement,
  mkHTMLMenuElement, unHTMLMenuElement,
  castToHTMLMenuElement, gTypeHTMLMenuElement,
  HTMLMetaElement(HTMLMetaElement), HTMLMetaElementClass,
  toHTMLMetaElement,
  mkHTMLMetaElement, unHTMLMetaElement,
  castToHTMLMetaElement, gTypeHTMLMetaElement,
  HTMLModElement(HTMLModElement), HTMLModElementClass,
  toHTMLModElement,
  mkHTMLModElement, unHTMLModElement,
  castToHTMLModElement, gTypeHTMLModElement,
  HTMLOListElement(HTMLOListElement), HTMLOListElementClass,
  toHTMLOListElement,
  mkHTMLOListElement, unHTMLOListElement,
  castToHTMLOListElement, gTypeHTMLOListElement,
  HTMLObjectElement(HTMLObjectElement), HTMLObjectElementClass,
  toHTMLObjectElement,
  mkHTMLObjectElement, unHTMLObjectElement,
  castToHTMLObjectElement, gTypeHTMLObjectElement,
  HTMLOptGroupElement(HTMLOptGroupElement), HTMLOptGroupElementClass,
  toHTMLOptGroupElement,
  mkHTMLOptGroupElement, unHTMLOptGroupElement,
  castToHTMLOptGroupElement, gTypeHTMLOptGroupElement,
  HTMLOptionElement(HTMLOptionElement), HTMLOptionElementClass,
  toHTMLOptionElement,
  mkHTMLOptionElement, unHTMLOptionElement,
  castToHTMLOptionElement, gTypeHTMLOptionElement,
  HTMLParagraphElement(HTMLParagraphElement), HTMLParagraphElementClass,
  toHTMLParagraphElement,
  mkHTMLParagraphElement, unHTMLParagraphElement,
  castToHTMLParagraphElement, gTypeHTMLParagraphElement,
  HTMLParamElement(HTMLParamElement), HTMLParamElementClass,
  toHTMLParamElement,
  mkHTMLParamElement, unHTMLParamElement,
  castToHTMLParamElement, gTypeHTMLParamElement,
  HTMLPreElement(HTMLPreElement), HTMLPreElementClass,
  toHTMLPreElement,
  mkHTMLPreElement, unHTMLPreElement,
  castToHTMLPreElement, gTypeHTMLPreElement,
  HTMLQuoteElement(HTMLQuoteElement), HTMLQuoteElementClass,
  toHTMLQuoteElement,
  mkHTMLQuoteElement, unHTMLQuoteElement,
  castToHTMLQuoteElement, gTypeHTMLQuoteElement,
  HTMLScriptElement(HTMLScriptElement), HTMLScriptElementClass,
  toHTMLScriptElement,
  mkHTMLScriptElement, unHTMLScriptElement,
  castToHTMLScriptElement, gTypeHTMLScriptElement,
  HTMLSelectElement(HTMLSelectElement), HTMLSelectElementClass,
  toHTMLSelectElement,
  mkHTMLSelectElement, unHTMLSelectElement,
  castToHTMLSelectElement, gTypeHTMLSelectElement,
  HTMLStyleElement(HTMLStyleElement), HTMLStyleElementClass,
  toHTMLStyleElement,
  mkHTMLStyleElement, unHTMLStyleElement,
  castToHTMLStyleElement, gTypeHTMLStyleElement,
  HTMLTableCaptionElement(HTMLTableCaptionElement), HTMLTableCaptionElementClass,
  toHTMLTableCaptionElement,
  mkHTMLTableCaptionElement, unHTMLTableCaptionElement,
  castToHTMLTableCaptionElement, gTypeHTMLTableCaptionElement,
  HTMLTableCellElement(HTMLTableCellElement), HTMLTableCellElementClass,
  toHTMLTableCellElement,
  mkHTMLTableCellElement, unHTMLTableCellElement,
  castToHTMLTableCellElement, gTypeHTMLTableCellElement,
  HTMLTableColElement(HTMLTableColElement), HTMLTableColElementClass,
  toHTMLTableColElement,
  mkHTMLTableColElement, unHTMLTableColElement,
  castToHTMLTableColElement, gTypeHTMLTableColElement,
  HTMLTableElement(HTMLTableElement), HTMLTableElementClass,
  toHTMLTableElement,
  mkHTMLTableElement, unHTMLTableElement,
  castToHTMLTableElement, gTypeHTMLTableElement,
  HTMLTableRowElement(HTMLTableRowElement), HTMLTableRowElementClass,
  toHTMLTableRowElement,
  mkHTMLTableRowElement, unHTMLTableRowElement,
  castToHTMLTableRowElement, gTypeHTMLTableRowElement,
  HTMLTableSectionElement(HTMLTableSectionElement), HTMLTableSectionElementClass,
  toHTMLTableSectionElement,
  mkHTMLTableSectionElement, unHTMLTableSectionElement,
  castToHTMLTableSectionElement, gTypeHTMLTableSectionElement,
  HTMLTextAreaElement(HTMLTextAreaElement), HTMLTextAreaElementClass,
  toHTMLTextAreaElement,
  mkHTMLTextAreaElement, unHTMLTextAreaElement,
  castToHTMLTextAreaElement, gTypeHTMLTextAreaElement,
  HTMLTitleElement(HTMLTitleElement), HTMLTitleElementClass,
  toHTMLTitleElement,
  mkHTMLTitleElement, unHTMLTitleElement,
  castToHTMLTitleElement, gTypeHTMLTitleElement,
  HTMLUListElement(HTMLUListElement), HTMLUListElementClass,
  toHTMLUListElement,
  mkHTMLUListElement, unHTMLUListElement,
  castToHTMLUListElement, gTypeHTMLUListElement,
  EntityReference(EntityReference), EntityReferenceClass,
  toEntityReference,
  mkEntityReference, unEntityReference,
  castToEntityReference, gTypeEntityReference,
  Performance(Performance), PerformanceClass,
  toPerformance,
  mkPerformance, unPerformance,
  castToPerformance, gTypePerformance,
  TextTrack(TextTrack), TextTrackClass,
  toTextTrack,
  mkTextTrack, unTextTrack,
  castToTextTrack, gTypeTextTrack,
  TextTrackCue(TextTrackCue), TextTrackCueClass,
  toTextTrackCue,
  mkTextTrackCue, unTextTrackCue,
  castToTextTrackCue, gTypeTextTrackCue,
  TextTrackList(TextTrackList), TextTrackListClass,
  toTextTrackList,
  mkTextTrackList, unTextTrackList,
  castToTextTrackList, gTypeTextTrackList,
  VideoTrackList(VideoTrackList), VideoTrackListClass,
  toVideoTrackList,
  mkVideoTrackList, unVideoTrackList,
  castToVideoTrackList, gTypeVideoTrackList,
  WebKitNamedFlow(WebKitNamedFlow), WebKitNamedFlowClass,
  toWebKitNamedFlow,
  mkWebKitNamedFlow, unWebKitNamedFlow,
  castToWebKitNamedFlow, gTypeWebKitNamedFlow,
  Window(Window), WindowClass,
  toWindow,
  mkWindow, unWindow,
  castToWindow, gTypeWindow,
  FileList(FileList), FileListClass,
  toFileList,
  mkFileList, unFileList,
  castToFileList, gTypeFileList,
  Geolocation(Geolocation), GeolocationClass,
  toGeolocation,
  mkGeolocation, unGeolocation,
  castToGeolocation, gTypeGeolocation,
  HTMLCollection(HTMLCollection), HTMLCollectionClass,
  toHTMLCollection,
  mkHTMLCollection, unHTMLCollection,
  castToHTMLCollection, gTypeHTMLCollection,
  HTMLOptionsCollection(HTMLOptionsCollection), HTMLOptionsCollectionClass,
  toHTMLOptionsCollection,
  mkHTMLOptionsCollection, unHTMLOptionsCollection,
  castToHTMLOptionsCollection, gTypeHTMLOptionsCollection,
  HTMLMediaElement(HTMLMediaElement), HTMLMediaElementClass,
  toHTMLMediaElement,
  mkHTMLMediaElement, unHTMLMediaElement,
  castToHTMLMediaElement, gTypeHTMLMediaElement,
  HTMLAudioElement(HTMLAudioElement), HTMLAudioElementClass,
  toHTMLAudioElement,
  mkHTMLAudioElement, unHTMLAudioElement,
  castToHTMLAudioElement, gTypeHTMLAudioElement,
  HTMLVideoElement(HTMLVideoElement), HTMLVideoElementClass,
  toHTMLVideoElement,
  mkHTMLVideoElement, unHTMLVideoElement,
  castToHTMLVideoElement, gTypeHTMLVideoElement,
  History(History), HistoryClass,
  toHistory,
  mkHistory, unHistory,
  castToHistory, gTypeHistory,
  Location(Location), LocationClass,
  toLocation,
  mkLocation, unLocation,
  castToLocation, gTypeLocation,
  MediaError(MediaError), MediaErrorClass,
  toMediaError,
  mkMediaError, unMediaError,
  castToMediaError, gTypeMediaError,
  MediaList(MediaList), MediaListClass,
  toMediaList,
  mkMediaList, unMediaList,
  castToMediaList, gTypeMediaList,
  MediaQueryList(MediaQueryList), MediaQueryListClass,
  toMediaQueryList,
  mkMediaQueryList, unMediaQueryList,
  castToMediaQueryList, gTypeMediaQueryList,
  MimeType(MimeType), MimeTypeClass,
  toMimeType,
  mkMimeType, unMimeType,
  castToMimeType, gTypeMimeType,
  MimeTypeArray(MimeTypeArray), MimeTypeArrayClass,
  toMimeTypeArray,
  mkMimeTypeArray, unMimeTypeArray,
  castToMimeTypeArray, gTypeMimeTypeArray,
  NamedNodeMap(NamedNodeMap), NamedNodeMapClass,
  toNamedNodeMap,
  mkNamedNodeMap, unNamedNodeMap,
  castToNamedNodeMap, gTypeNamedNodeMap,
  Navigator(Navigator), NavigatorClass,
  toNavigator,
  mkNavigator, unNavigator,
  castToNavigator, gTypeNavigator,
  NodeFilter(NodeFilter), NodeFilterClass,
  toNodeFilter,
  mkNodeFilter, unNodeFilter,
  castToNodeFilter, gTypeNodeFilter,
  NodeIterator(NodeIterator), NodeIteratorClass,
  toNodeIterator,
  mkNodeIterator, unNodeIterator,
  castToNodeIterator, gTypeNodeIterator,
  NodeList(NodeList), NodeListClass,
  toNodeList,
  mkNodeList, unNodeList,
  castToNodeList, gTypeNodeList,
  PerformanceNavigation(PerformanceNavigation), PerformanceNavigationClass,
  toPerformanceNavigation,
  mkPerformanceNavigation, unPerformanceNavigation,
  castToPerformanceNavigation, gTypePerformanceNavigation,
  PerformanceTiming(PerformanceTiming), PerformanceTimingClass,
  toPerformanceTiming,
  mkPerformanceTiming, unPerformanceTiming,
  castToPerformanceTiming, gTypePerformanceTiming,
  Plugin(Plugin), PluginClass,
  toPlugin,
  mkPlugin, unPlugin,
  castToPlugin, gTypePlugin,
  PluginArray(PluginArray), PluginArrayClass,
  toPluginArray,
  mkPluginArray, unPluginArray,
  castToPluginArray, gTypePluginArray,
  Range(Range), RangeClass,
  toRange,
  mkRange, unRange,
  castToRange, gTypeRange,
  Screen(Screen), ScreenClass,
  toScreen,
  mkScreen, unScreen,
  castToScreen, gTypeScreen,
  SecurityPolicy(SecurityPolicy), SecurityPolicyClass,
  toSecurityPolicy,
  mkSecurityPolicy, unSecurityPolicy,
  castToSecurityPolicy, gTypeSecurityPolicy,
  Selection(Selection), SelectionClass,
  toSelection,
  mkSelection, unSelection,
  castToSelection, gTypeSelection,
  Storage(Storage), StorageClass,
  toStorage,
  mkStorage, unStorage,
  castToStorage, gTypeStorage,
  StorageInfo(StorageInfo), StorageInfoClass,
  toStorageInfo,
  mkStorageInfo, unStorageInfo,
  castToStorageInfo, gTypeStorageInfo,
  StorageQuota(StorageQuota), StorageQuotaClass,
  toStorageQuota,
  mkStorageQuota, unStorageQuota,
  castToStorageQuota, gTypeStorageQuota,
  StyleMedia(StyleMedia), StyleMediaClass,
  toStyleMedia,
  mkStyleMedia, unStyleMedia,
  castToStyleMedia, gTypeStyleMedia,
  StyleSheet(StyleSheet), StyleSheetClass,
  toStyleSheet,
  mkStyleSheet, unStyleSheet,
  castToStyleSheet, gTypeStyleSheet,
  CSSStyleSheet(CSSStyleSheet), CSSStyleSheetClass,
  toCSSStyleSheet,
  mkCSSStyleSheet, unCSSStyleSheet,
  castToCSSStyleSheet, gTypeCSSStyleSheet,
  StyleSheetList(StyleSheetList), StyleSheetListClass,
  toStyleSheetList,
  mkStyleSheetList, unStyleSheetList,
  castToStyleSheetList, gTypeStyleSheetList,
  TextTrackCueList(TextTrackCueList), TextTrackCueListClass,
  toTextTrackCueList,
  mkTextTrackCueList, unTextTrackCueList,
  castToTextTrackCueList, gTypeTextTrackCueList,
  TimeRanges(TimeRanges), TimeRangesClass,
  toTimeRanges,
  mkTimeRanges, unTimeRanges,
  castToTimeRanges, gTypeTimeRanges,
  Touch(Touch), TouchClass,
  toTouch,
  mkTouch, unTouch,
  castToTouch, gTypeTouch,
  TreeWalker(TreeWalker), TreeWalkerClass,
  toTreeWalker,
  mkTreeWalker, unTreeWalker,
  castToTreeWalker, gTypeTreeWalker,
  ValidityState(ValidityState), ValidityStateClass,
  toValidityState,
  mkValidityState, unValidityState,
  castToValidityState, gTypeValidityState,
  VideoTrack(VideoTrack), VideoTrackClass,
  toVideoTrack,
  mkVideoTrack, unVideoTrack,
  castToVideoTrack, gTypeVideoTrack,
  WebKitPoint(WebKitPoint), WebKitPointClass,
  toWebKitPoint,
  mkWebKitPoint, unWebKitPoint,
  castToWebKitPoint, gTypeWebKitPoint,
  XPathExpression(XPathExpression), XPathExpressionClass,
  toXPathExpression,
  mkXPathExpression, unXPathExpression,
  castToXPathExpression, gTypeXPathExpression,
  XPathNSResolver(XPathNSResolver), XPathNSResolverClass,
  toXPathNSResolver,
  mkXPathNSResolver, unXPathNSResolver,
  castToXPathNSResolver, gTypeXPathNSResolver,
  XPathResult(XPathResult), XPathResultClass,
  toXPathResult,
  mkXPathResult, unXPathResult,
  castToXPathResult, gTypeXPathResult
  ) where

import Foreign.ForeignPtr (ForeignPtr, castForeignPtr)

import Foreign.ForeignPtr.Unsafe (unsafeForeignPtrToPtr)



import Foreign.C.Types (CULong(..), CUInt(..), CULLong(..))
import System.Glib.GType (GType, typeInstanceIsA)
import Graphics.UI.Gtk.WebKit.GtkInternals


{-# LINE 709 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- The usage of foreignPtrToPtr should be safe as the evaluation will only be
-- forced if the object is used afterwards
--
castTo :: (GObjectClass obj, GObjectClass obj') => GType -> String
                                                -> (obj -> obj')
castTo gtype objTypeName obj =
  case toGObject obj of
    gobj@(GObject objFPtr)
      | typeInstanceIsA ((unsafeForeignPtrToPtr.castForeignPtr) objFPtr) gtype
                  -> unsafeCastGObject gobj
      | otherwise -> error $ "Cannot cast object to " ++ objTypeName


-- ******************************************************************** WebView

newtype WebView = WebView (ForeignPtr (WebView)) deriving (Eq,Ord)

mkWebView = (WebView, objectUnrefFromMainloop)
unWebView (WebView o) = o

class ContainerClass o => WebViewClass o
toWebView :: WebViewClass o => o -> WebView
toWebView = unsafeCastGObject . toGObject

instance WebViewClass WebView
instance ContainerClass WebView
instance WidgetClass WebView
instance GObjectClass WebView where
  toGObject = GObject . castForeignPtr . unWebView
  unsafeCastGObject = WebView . castForeignPtr . unGObject

castToWebView :: GObjectClass obj => obj -> WebView
castToWebView = castTo gTypeWebView "WebView"

gTypeWebView :: GType
gTypeWebView =
  webkit_web_view_get_type
{-# LINE 747 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ******************************************************************* WebFrame

newtype WebFrame = WebFrame (ForeignPtr (WebFrame)) deriving (Eq,Ord)

mkWebFrame = (WebFrame, objectUnrefFromMainloop)
unWebFrame (WebFrame o) = o

class GObjectClass o => WebFrameClass o
toWebFrame :: WebFrameClass o => o -> WebFrame
toWebFrame = unsafeCastGObject . toGObject

instance WebFrameClass WebFrame
instance GObjectClass WebFrame where
  toGObject = GObject . castForeignPtr . unWebFrame
  unsafeCastGObject = WebFrame . castForeignPtr . unGObject

castToWebFrame :: GObjectClass obj => obj -> WebFrame
castToWebFrame = castTo gTypeWebFrame "WebFrame"

gTypeWebFrame :: GType
gTypeWebFrame =
  webkit_web_frame_get_type
{-# LINE 770 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- **************************************************************** WebSettings

newtype WebSettings = WebSettings (ForeignPtr (WebSettings)) deriving (Eq,Ord)

mkWebSettings = (WebSettings, objectUnrefFromMainloop)
unWebSettings (WebSettings o) = o

class GObjectClass o => WebSettingsClass o
toWebSettings :: WebSettingsClass o => o -> WebSettings
toWebSettings = unsafeCastGObject . toGObject

instance WebSettingsClass WebSettings
instance GObjectClass WebSettings where
  toGObject = GObject . castForeignPtr . unWebSettings
  unsafeCastGObject = WebSettings . castForeignPtr . unGObject

castToWebSettings :: GObjectClass obj => obj -> WebSettings
castToWebSettings = castTo gTypeWebSettings "WebSettings"

gTypeWebSettings :: GType
gTypeWebSettings =
  webkit_web_settings_get_type
{-# LINE 793 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ************************************************************* NetworkRequest

newtype NetworkRequest = NetworkRequest (ForeignPtr (NetworkRequest)) deriving (Eq,Ord)

mkNetworkRequest = (NetworkRequest, objectUnrefFromMainloop)
unNetworkRequest (NetworkRequest o) = o

class GObjectClass o => NetworkRequestClass o
toNetworkRequest :: NetworkRequestClass o => o -> NetworkRequest
toNetworkRequest = unsafeCastGObject . toGObject

instance NetworkRequestClass NetworkRequest
instance GObjectClass NetworkRequest where
  toGObject = GObject . castForeignPtr . unNetworkRequest
  unsafeCastGObject = NetworkRequest . castForeignPtr . unGObject

castToNetworkRequest :: GObjectClass obj => obj -> NetworkRequest
castToNetworkRequest = castTo gTypeNetworkRequest "NetworkRequest"

gTypeNetworkRequest :: GType
gTypeNetworkRequest =
  webkit_network_request_get_type
{-# LINE 816 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ************************************************************ NetworkResponse

newtype NetworkResponse = NetworkResponse (ForeignPtr (NetworkResponse)) deriving (Eq,Ord)

mkNetworkResponse = (NetworkResponse, objectUnrefFromMainloop)
unNetworkResponse (NetworkResponse o) = o

class GObjectClass o => NetworkResponseClass o
toNetworkResponse :: NetworkResponseClass o => o -> NetworkResponse
toNetworkResponse = unsafeCastGObject . toGObject

instance NetworkResponseClass NetworkResponse
instance GObjectClass NetworkResponse where
  toGObject = GObject . castForeignPtr . unNetworkResponse
  unsafeCastGObject = NetworkResponse . castForeignPtr . unGObject

castToNetworkResponse :: GObjectClass obj => obj -> NetworkResponse
castToNetworkResponse = castTo gTypeNetworkResponse "NetworkResponse"

gTypeNetworkResponse :: GType
gTypeNetworkResponse =
  webkit_network_response_get_type
{-# LINE 839 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ******************************************************************* Download

newtype Download = Download (ForeignPtr (Download)) deriving (Eq,Ord)

mkDownload = (Download, objectUnrefFromMainloop)
unDownload (Download o) = o

class GObjectClass o => DownloadClass o
toDownload :: DownloadClass o => o -> Download
toDownload = unsafeCastGObject . toGObject

instance DownloadClass Download
instance GObjectClass Download where
  toGObject = GObject . castForeignPtr . unDownload
  unsafeCastGObject = Download . castForeignPtr . unGObject

castToDownload :: GObjectClass obj => obj -> Download
castToDownload = castTo gTypeDownload "Download"

gTypeDownload :: GType
gTypeDownload =
  webkit_download_get_type
{-# LINE 862 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ********************************************************* WebBackForwardList

newtype WebBackForwardList = WebBackForwardList (ForeignPtr (WebBackForwardList)) deriving (Eq,Ord)

mkWebBackForwardList = (WebBackForwardList, objectUnrefFromMainloop)
unWebBackForwardList (WebBackForwardList o) = o

class GObjectClass o => WebBackForwardListClass o
toWebBackForwardList :: WebBackForwardListClass o => o -> WebBackForwardList
toWebBackForwardList = unsafeCastGObject . toGObject

instance WebBackForwardListClass WebBackForwardList
instance GObjectClass WebBackForwardList where
  toGObject = GObject . castForeignPtr . unWebBackForwardList
  unsafeCastGObject = WebBackForwardList . castForeignPtr . unGObject

castToWebBackForwardList :: GObjectClass obj => obj -> WebBackForwardList
castToWebBackForwardList = castTo gTypeWebBackForwardList "WebBackForwardList"

gTypeWebBackForwardList :: GType
gTypeWebBackForwardList =
  webkit_web_back_forward_list_get_type
{-# LINE 885 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ************************************************************* WebHistoryItem

newtype WebHistoryItem = WebHistoryItem (ForeignPtr (WebHistoryItem)) deriving (Eq,Ord)

mkWebHistoryItem = (WebHistoryItem, objectUnrefFromMainloop)
unWebHistoryItem (WebHistoryItem o) = o

class GObjectClass o => WebHistoryItemClass o
toWebHistoryItem :: WebHistoryItemClass o => o -> WebHistoryItem
toWebHistoryItem = unsafeCastGObject . toGObject

instance WebHistoryItemClass WebHistoryItem
instance GObjectClass WebHistoryItem where
  toGObject = GObject . castForeignPtr . unWebHistoryItem
  unsafeCastGObject = WebHistoryItem . castForeignPtr . unGObject

castToWebHistoryItem :: GObjectClass obj => obj -> WebHistoryItem
castToWebHistoryItem = castTo gTypeWebHistoryItem "WebHistoryItem"

gTypeWebHistoryItem :: GType
gTypeWebHistoryItem =
  webkit_web_history_item_get_type
{-# LINE 908 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- *************************************************************** WebInspector

newtype WebInspector = WebInspector (ForeignPtr (WebInspector)) deriving (Eq,Ord)

mkWebInspector = (WebInspector, objectUnrefFromMainloop)
unWebInspector (WebInspector o) = o

class GObjectClass o => WebInspectorClass o
toWebInspector :: WebInspectorClass o => o -> WebInspector
toWebInspector = unsafeCastGObject . toGObject

instance WebInspectorClass WebInspector
instance GObjectClass WebInspector where
  toGObject = GObject . castForeignPtr . unWebInspector
  unsafeCastGObject = WebInspector . castForeignPtr . unGObject

castToWebInspector :: GObjectClass obj => obj -> WebInspector
castToWebInspector = castTo gTypeWebInspector "WebInspector"

gTypeWebInspector :: GType
gTypeWebInspector =
  webkit_web_inspector_get_type
{-# LINE 931 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ************************************************************** HitTestResult

newtype HitTestResult = HitTestResult (ForeignPtr (HitTestResult)) deriving (Eq,Ord)

mkHitTestResult = (HitTestResult, objectUnrefFromMainloop)
unHitTestResult (HitTestResult o) = o

class GObjectClass o => HitTestResultClass o
toHitTestResult :: HitTestResultClass o => o -> HitTestResult
toHitTestResult = unsafeCastGObject . toGObject

instance HitTestResultClass HitTestResult
instance GObjectClass HitTestResult where
  toGObject = GObject . castForeignPtr . unHitTestResult
  unsafeCastGObject = HitTestResult . castForeignPtr . unGObject

castToHitTestResult :: GObjectClass obj => obj -> HitTestResult
castToHitTestResult = castTo gTypeHitTestResult "HitTestResult"

gTypeHitTestResult :: GType
gTypeHitTestResult =
  webkit_hit_test_result_get_type
{-# LINE 954 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ************************************************************* SecurityOrigin

newtype SecurityOrigin = SecurityOrigin (ForeignPtr (SecurityOrigin)) deriving (Eq,Ord)

mkSecurityOrigin = (SecurityOrigin, objectUnrefFromMainloop)
unSecurityOrigin (SecurityOrigin o) = o

class GObjectClass o => SecurityOriginClass o
toSecurityOrigin :: SecurityOriginClass o => o -> SecurityOrigin
toSecurityOrigin = unsafeCastGObject . toGObject

instance SecurityOriginClass SecurityOrigin
instance GObjectClass SecurityOrigin where
  toGObject = GObject . castForeignPtr . unSecurityOrigin
  unsafeCastGObject = SecurityOrigin . castForeignPtr . unGObject

castToSecurityOrigin :: GObjectClass obj => obj -> SecurityOrigin
castToSecurityOrigin = castTo gTypeSecurityOrigin "SecurityOrigin"

gTypeSecurityOrigin :: GType
gTypeSecurityOrigin =
  webkit_security_origin_get_type
{-# LINE 977 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ************************************************************* SoupAuthDialog

newtype SoupAuthDialog = SoupAuthDialog (ForeignPtr (SoupAuthDialog)) deriving (Eq,Ord)

mkSoupAuthDialog = (SoupAuthDialog, objectUnrefFromMainloop)
unSoupAuthDialog (SoupAuthDialog o) = o

class GObjectClass o => SoupAuthDialogClass o
toSoupAuthDialog :: SoupAuthDialogClass o => o -> SoupAuthDialog
toSoupAuthDialog = unsafeCastGObject . toGObject

instance SoupAuthDialogClass SoupAuthDialog
instance GObjectClass SoupAuthDialog where
  toGObject = GObject . castForeignPtr . unSoupAuthDialog
  unsafeCastGObject = SoupAuthDialog . castForeignPtr . unGObject

castToSoupAuthDialog :: GObjectClass obj => obj -> SoupAuthDialog
castToSoupAuthDialog = castTo gTypeSoupAuthDialog "SoupAuthDialog"

gTypeSoupAuthDialog :: GType
gTypeSoupAuthDialog =
  webkit_soup_auth_dialog_get_type
{-# LINE 1000 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- **************************************************************** WebDatabase

newtype WebDatabase = WebDatabase (ForeignPtr (WebDatabase)) deriving (Eq,Ord)

mkWebDatabase = (WebDatabase, objectUnrefFromMainloop)
unWebDatabase (WebDatabase o) = o

class GObjectClass o => WebDatabaseClass o
toWebDatabase :: WebDatabaseClass o => o -> WebDatabase
toWebDatabase = unsafeCastGObject . toGObject

instance WebDatabaseClass WebDatabase
instance GObjectClass WebDatabase where
  toGObject = GObject . castForeignPtr . unWebDatabase
  unsafeCastGObject = WebDatabase . castForeignPtr . unGObject

castToWebDatabase :: GObjectClass obj => obj -> WebDatabase
castToWebDatabase = castTo gTypeWebDatabase "WebDatabase"

gTypeWebDatabase :: GType
gTypeWebDatabase =
  webkit_web_database_get_type
{-# LINE 1023 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ************************************************************** WebDataSource

newtype WebDataSource = WebDataSource (ForeignPtr (WebDataSource)) deriving (Eq,Ord)

mkWebDataSource = (WebDataSource, objectUnrefFromMainloop)
unWebDataSource (WebDataSource o) = o

class GObjectClass o => WebDataSourceClass o
toWebDataSource :: WebDataSourceClass o => o -> WebDataSource
toWebDataSource = unsafeCastGObject . toGObject

instance WebDataSourceClass WebDataSource
instance GObjectClass WebDataSource where
  toGObject = GObject . castForeignPtr . unWebDataSource
  unsafeCastGObject = WebDataSource . castForeignPtr . unGObject

castToWebDataSource :: GObjectClass obj => obj -> WebDataSource
castToWebDataSource = castTo gTypeWebDataSource "WebDataSource"

gTypeWebDataSource :: GType
gTypeWebDataSource =
  webkit_web_data_source_get_type
{-# LINE 1046 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ******************************************************** WebNavigationAction

newtype WebNavigationAction = WebNavigationAction (ForeignPtr (WebNavigationAction)) deriving (Eq,Ord)

mkWebNavigationAction = (WebNavigationAction, objectUnrefFromMainloop)
unWebNavigationAction (WebNavigationAction o) = o

class GObjectClass o => WebNavigationActionClass o
toWebNavigationAction :: WebNavigationActionClass o => o -> WebNavigationAction
toWebNavigationAction = unsafeCastGObject . toGObject

instance WebNavigationActionClass WebNavigationAction
instance GObjectClass WebNavigationAction where
  toGObject = GObject . castForeignPtr . unWebNavigationAction
  unsafeCastGObject = WebNavigationAction . castForeignPtr . unGObject

castToWebNavigationAction :: GObjectClass obj => obj -> WebNavigationAction
castToWebNavigationAction = castTo gTypeWebNavigationAction "WebNavigationAction"

gTypeWebNavigationAction :: GType
gTypeWebNavigationAction =
  webkit_web_navigation_action_get_type
{-# LINE 1069 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ********************************************************** WebPolicyDecision

newtype WebPolicyDecision = WebPolicyDecision (ForeignPtr (WebPolicyDecision)) deriving (Eq,Ord)

mkWebPolicyDecision = (WebPolicyDecision, objectUnrefFromMainloop)
unWebPolicyDecision (WebPolicyDecision o) = o

class GObjectClass o => WebPolicyDecisionClass o
toWebPolicyDecision :: WebPolicyDecisionClass o => o -> WebPolicyDecision
toWebPolicyDecision = unsafeCastGObject . toGObject

instance WebPolicyDecisionClass WebPolicyDecision
instance GObjectClass WebPolicyDecision where
  toGObject = GObject . castForeignPtr . unWebPolicyDecision
  unsafeCastGObject = WebPolicyDecision . castForeignPtr . unGObject

castToWebPolicyDecision :: GObjectClass obj => obj -> WebPolicyDecision
castToWebPolicyDecision = castTo gTypeWebPolicyDecision "WebPolicyDecision"

gTypeWebPolicyDecision :: GType
gTypeWebPolicyDecision =
  webkit_web_policy_decision_get_type
{-# LINE 1092 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- **************************************************************** WebResource

newtype WebResource = WebResource (ForeignPtr (WebResource)) deriving (Eq,Ord)

mkWebResource = (WebResource, objectUnrefFromMainloop)
unWebResource (WebResource o) = o

class GObjectClass o => WebResourceClass o
toWebResource :: WebResourceClass o => o -> WebResource
toWebResource = unsafeCastGObject . toGObject

instance WebResourceClass WebResource
instance GObjectClass WebResource where
  toGObject = GObject . castForeignPtr . unWebResource
  unsafeCastGObject = WebResource . castForeignPtr . unGObject

castToWebResource :: GObjectClass obj => obj -> WebResource
castToWebResource = castTo gTypeWebResource "WebResource"

gTypeWebResource :: GType
gTypeWebResource =
  webkit_web_resource_get_type
{-# LINE 1115 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ********************************************************** WebWindowFeatures

newtype WebWindowFeatures = WebWindowFeatures (ForeignPtr (WebWindowFeatures)) deriving (Eq,Ord)

mkWebWindowFeatures = (WebWindowFeatures, objectUnrefFromMainloop)
unWebWindowFeatures (WebWindowFeatures o) = o

class GObjectClass o => WebWindowFeaturesClass o
toWebWindowFeatures :: WebWindowFeaturesClass o => o -> WebWindowFeatures
toWebWindowFeatures = unsafeCastGObject . toGObject

instance WebWindowFeaturesClass WebWindowFeatures
instance GObjectClass WebWindowFeatures where
  toGObject = GObject . castForeignPtr . unWebWindowFeatures
  unsafeCastGObject = WebWindowFeatures . castForeignPtr . unGObject

castToWebWindowFeatures :: GObjectClass obj => obj -> WebWindowFeatures
castToWebWindowFeatures = castTo gTypeWebWindowFeatures "WebWindowFeatures"

gTypeWebWindowFeatures :: GType
gTypeWebWindowFeatures =
  webkit_web_window_features_get_type
{-# LINE 1138 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ************************************************** GeolocationPolicyDecision

newtype GeolocationPolicyDecision = GeolocationPolicyDecision (ForeignPtr (GeolocationPolicyDecision)) deriving (Eq,Ord)

mkGeolocationPolicyDecision = (GeolocationPolicyDecision, objectUnrefFromMainloop)
unGeolocationPolicyDecision (GeolocationPolicyDecision o) = o

class GObjectClass o => GeolocationPolicyDecisionClass o
toGeolocationPolicyDecision :: GeolocationPolicyDecisionClass o => o -> GeolocationPolicyDecision
toGeolocationPolicyDecision = unsafeCastGObject . toGObject

instance GeolocationPolicyDecisionClass GeolocationPolicyDecision
instance GObjectClass GeolocationPolicyDecision where
  toGObject = GObject . castForeignPtr . unGeolocationPolicyDecision
  unsafeCastGObject = GeolocationPolicyDecision . castForeignPtr . unGObject

castToGeolocationPolicyDecision :: GObjectClass obj => obj -> GeolocationPolicyDecision
castToGeolocationPolicyDecision = castTo gTypeGeolocationPolicyDecision "GeolocationPolicyDecision"

gTypeGeolocationPolicyDecision :: GType
gTypeGeolocationPolicyDecision =
  webkit_geolocation_policy_decision_get_type
{-# LINE 1161 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ***************************************************************** AudioTrack

newtype AudioTrack = AudioTrack (ForeignPtr (AudioTrack)) deriving (Eq,Ord)

mkAudioTrack = (AudioTrack, objectUnrefFromMainloop)
unAudioTrack (AudioTrack o) = o

class GObjectClass o => AudioTrackClass o
toAudioTrack :: AudioTrackClass o => o -> AudioTrack
toAudioTrack = unsafeCastGObject . toGObject

instance AudioTrackClass AudioTrack
instance GObjectClass AudioTrack where
  toGObject = GObject . castForeignPtr . unAudioTrack
  unsafeCastGObject = AudioTrack . castForeignPtr . unGObject

castToAudioTrack :: GObjectClass obj => obj -> AudioTrack
castToAudioTrack = castTo gTypeAudioTrack "AudioTrack"

gTypeAudioTrack :: GType
gTypeAudioTrack =
  webkit_dom_audio_track_get_type
{-# LINE 1184 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ******************************************************************** BarProp

newtype BarProp = BarProp (ForeignPtr (BarProp)) deriving (Eq,Ord)

mkBarProp = (BarProp, objectUnrefFromMainloop)
unBarProp (BarProp o) = o

class GObjectClass o => BarPropClass o
toBarProp :: BarPropClass o => o -> BarProp
toBarProp = unsafeCastGObject . toGObject

instance BarPropClass BarProp
instance GObjectClass BarProp where
  toGObject = GObject . castForeignPtr . unBarProp
  unsafeCastGObject = BarProp . castForeignPtr . unGObject

castToBarProp :: GObjectClass obj => obj -> BarProp
castToBarProp = castTo gTypeBarProp "BarProp"

gTypeBarProp :: GType
gTypeBarProp =
  webkit_dom_bar_prop_get_type
{-# LINE 1207 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- *********************************************************************** Blob

newtype Blob = Blob (ForeignPtr (Blob)) deriving (Eq,Ord)

mkBlob = (Blob, objectUnrefFromMainloop)
unBlob (Blob o) = o

class GObjectClass o => BlobClass o
toBlob :: BlobClass o => o -> Blob
toBlob = unsafeCastGObject . toGObject

instance BlobClass Blob
instance GObjectClass Blob where
  toGObject = GObject . castForeignPtr . unBlob
  unsafeCastGObject = Blob . castForeignPtr . unGObject

castToBlob :: GObjectClass obj => obj -> Blob
castToBlob = castTo gTypeBlob "Blob"

gTypeBlob :: GType
gTypeBlob =
  webkit_dom_blob_get_type
{-# LINE 1230 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- *********************************************************************** File

newtype File = File (ForeignPtr (File)) deriving (Eq,Ord)

mkFile = (File, objectUnrefFromMainloop)
unFile (File o) = o

class BlobClass o => FileClass o
toFile :: FileClass o => o -> File
toFile = unsafeCastGObject . toGObject

instance FileClass File
instance BlobClass File
instance GObjectClass File where
  toGObject = GObject . castForeignPtr . unFile
  unsafeCastGObject = File . castForeignPtr . unGObject

castToFile :: GObjectClass obj => obj -> File
castToFile = castTo gTypeFile "File"

gTypeFile :: GType
gTypeFile =
  webkit_dom_file_get_type
{-# LINE 1254 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ************************************************************************ CSS

newtype CSS = CSS (ForeignPtr (CSS)) deriving (Eq,Ord)

mkCSS = (CSS, objectUnrefFromMainloop)
unCSS (CSS o) = o

class GObjectClass o => CSSClass o
toCSS :: CSSClass o => o -> CSS
toCSS = unsafeCastGObject . toGObject

instance CSSClass CSS
instance GObjectClass CSS where
  toGObject = GObject . castForeignPtr . unCSS
  unsafeCastGObject = CSS . castForeignPtr . unGObject

castToCSS :: GObjectClass obj => obj -> CSS
castToCSS = castTo gTypeCSS "CSS"

gTypeCSS :: GType
gTypeCSS =
  webkit_dom_dom_window_css_get_type
{-# LINE 1277 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ******************************************************************** CSSRule

newtype CSSRule = CSSRule (ForeignPtr (CSSRule)) deriving (Eq,Ord)

mkCSSRule = (CSSRule, objectUnrefFromMainloop)
unCSSRule (CSSRule o) = o

class GObjectClass o => CSSRuleClass o
toCSSRule :: CSSRuleClass o => o -> CSSRule
toCSSRule = unsafeCastGObject . toGObject

instance CSSRuleClass CSSRule
instance GObjectClass CSSRule where
  toGObject = GObject . castForeignPtr . unCSSRule
  unsafeCastGObject = CSSRule . castForeignPtr . unGObject

castToCSSRule :: GObjectClass obj => obj -> CSSRule
castToCSSRule = castTo gTypeCSSRule "CSSRule"

gTypeCSSRule :: GType
gTypeCSSRule =
  webkit_dom_css_rule_get_type
{-# LINE 1300 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- **************************************************************** CSSRuleList

newtype CSSRuleList = CSSRuleList (ForeignPtr (CSSRuleList)) deriving (Eq,Ord)

mkCSSRuleList = (CSSRuleList, objectUnrefFromMainloop)
unCSSRuleList (CSSRuleList o) = o

class GObjectClass o => CSSRuleListClass o
toCSSRuleList :: CSSRuleListClass o => o -> CSSRuleList
toCSSRuleList = unsafeCastGObject . toGObject

instance CSSRuleListClass CSSRuleList
instance GObjectClass CSSRuleList where
  toGObject = GObject . castForeignPtr . unCSSRuleList
  unsafeCastGObject = CSSRuleList . castForeignPtr . unGObject

castToCSSRuleList :: GObjectClass obj => obj -> CSSRuleList
castToCSSRuleList = castTo gTypeCSSRuleList "CSSRuleList"

gTypeCSSRuleList :: GType
gTypeCSSRuleList =
  webkit_dom_css_rule_list_get_type
{-# LINE 1323 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ******************************************************** CSSStyleDeclaration

newtype CSSStyleDeclaration = CSSStyleDeclaration (ForeignPtr (CSSStyleDeclaration)) deriving (Eq,Ord)

mkCSSStyleDeclaration = (CSSStyleDeclaration, objectUnrefFromMainloop)
unCSSStyleDeclaration (CSSStyleDeclaration o) = o

class GObjectClass o => CSSStyleDeclarationClass o
toCSSStyleDeclaration :: CSSStyleDeclarationClass o => o -> CSSStyleDeclaration
toCSSStyleDeclaration = unsafeCastGObject . toGObject

instance CSSStyleDeclarationClass CSSStyleDeclaration
instance GObjectClass CSSStyleDeclaration where
  toGObject = GObject . castForeignPtr . unCSSStyleDeclaration
  unsafeCastGObject = CSSStyleDeclaration . castForeignPtr . unGObject

castToCSSStyleDeclaration :: GObjectClass obj => obj -> CSSStyleDeclaration
castToCSSStyleDeclaration = castTo gTypeCSSStyleDeclaration "CSSStyleDeclaration"

gTypeCSSStyleDeclaration :: GType
gTypeCSSStyleDeclaration =
  webkit_dom_css_style_declaration_get_type
{-# LINE 1346 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ******************************************************************* CSSValue

newtype CSSValue = CSSValue (ForeignPtr (CSSValue)) deriving (Eq,Ord)

mkCSSValue = (CSSValue, objectUnrefFromMainloop)
unCSSValue (CSSValue o) = o

class GObjectClass o => CSSValueClass o
toCSSValue :: CSSValueClass o => o -> CSSValue
toCSSValue = unsafeCastGObject . toGObject

instance CSSValueClass CSSValue
instance GObjectClass CSSValue where
  toGObject = GObject . castForeignPtr . unCSSValue
  unsafeCastGObject = CSSValue . castForeignPtr . unGObject

castToCSSValue :: GObjectClass obj => obj -> CSSValue
castToCSSValue = castTo gTypeCSSValue "CSSValue"

gTypeCSSValue :: GType
gTypeCSSValue =
  webkit_dom_css_value_get_type
{-# LINE 1369 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ********************************************************** DOMImplementation

newtype DOMImplementation = DOMImplementation (ForeignPtr (DOMImplementation)) deriving (Eq,Ord)

mkDOMImplementation = (DOMImplementation, objectUnrefFromMainloop)
unDOMImplementation (DOMImplementation o) = o

class GObjectClass o => DOMImplementationClass o
toDOMImplementation :: DOMImplementationClass o => o -> DOMImplementation
toDOMImplementation = unsafeCastGObject . toGObject

instance DOMImplementationClass DOMImplementation
instance GObjectClass DOMImplementation where
  toGObject = GObject . castForeignPtr . unDOMImplementation
  unsafeCastGObject = DOMImplementation . castForeignPtr . unGObject

castToDOMImplementation :: GObjectClass obj => obj -> DOMImplementation
castToDOMImplementation = castTo gTypeDOMImplementation "DOMImplementation"

gTypeDOMImplementation :: GType
gTypeDOMImplementation =
  webkit_dom_dom_implementation_get_type
{-# LINE 1392 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ***************************************************** DOMNamedFlowCollection

newtype DOMNamedFlowCollection = DOMNamedFlowCollection (ForeignPtr (DOMNamedFlowCollection)) deriving (Eq,Ord)

mkDOMNamedFlowCollection = (DOMNamedFlowCollection, objectUnrefFromMainloop)
unDOMNamedFlowCollection (DOMNamedFlowCollection o) = o

class GObjectClass o => DOMNamedFlowCollectionClass o
toDOMNamedFlowCollection :: DOMNamedFlowCollectionClass o => o -> DOMNamedFlowCollection
toDOMNamedFlowCollection = unsafeCastGObject . toGObject

instance DOMNamedFlowCollectionClass DOMNamedFlowCollection
instance GObjectClass DOMNamedFlowCollection where
  toGObject = GObject . castForeignPtr . unDOMNamedFlowCollection
  unsafeCastGObject = DOMNamedFlowCollection . castForeignPtr . unGObject

castToDOMNamedFlowCollection :: GObjectClass obj => obj -> DOMNamedFlowCollection
castToDOMNamedFlowCollection = castTo gTypeDOMNamedFlowCollection "DOMNamedFlowCollection"

gTypeDOMNamedFlowCollection :: GType
gTypeDOMNamedFlowCollection =
  webkit_dom_dom_named_flow_collection_get_type
{-# LINE 1415 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ************************************************************** DOMStringList

newtype DOMStringList = DOMStringList (ForeignPtr (DOMStringList)) deriving (Eq,Ord)

mkDOMStringList = (DOMStringList, objectUnrefFromMainloop)
unDOMStringList (DOMStringList o) = o

class GObjectClass o => DOMStringListClass o
toDOMStringList :: DOMStringListClass o => o -> DOMStringList
toDOMStringList = unsafeCastGObject . toGObject

instance DOMStringListClass DOMStringList
instance GObjectClass DOMStringList where
  toGObject = GObject . castForeignPtr . unDOMStringList
  unsafeCastGObject = DOMStringList . castForeignPtr . unGObject

castToDOMStringList :: GObjectClass obj => obj -> DOMStringList
castToDOMStringList = castTo gTypeDOMStringList "DOMStringList"

gTypeDOMStringList :: GType
gTypeDOMStringList =
  webkit_dom_dom_string_list_get_type
{-# LINE 1438 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- *************************************************************** DOMTokenList

newtype DOMTokenList = DOMTokenList (ForeignPtr (DOMTokenList)) deriving (Eq,Ord)

mkDOMTokenList = (DOMTokenList, objectUnrefFromMainloop)
unDOMTokenList (DOMTokenList o) = o

class GObjectClass o => DOMTokenListClass o
toDOMTokenList :: DOMTokenListClass o => o -> DOMTokenList
toDOMTokenList = unsafeCastGObject . toGObject

instance DOMTokenListClass DOMTokenList
instance GObjectClass DOMTokenList where
  toGObject = GObject . castForeignPtr . unDOMTokenList
  unsafeCastGObject = DOMTokenList . castForeignPtr . unGObject

castToDOMTokenList :: GObjectClass obj => obj -> DOMTokenList
castToDOMTokenList = castTo gTypeDOMTokenList "DOMTokenList"

gTypeDOMTokenList :: GType
gTypeDOMTokenList =
  webkit_dom_dom_token_list_get_type
{-# LINE 1461 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ******************************************************* DOMSettableTokenList

newtype DOMSettableTokenList = DOMSettableTokenList (ForeignPtr (DOMSettableTokenList)) deriving (Eq,Ord)

mkDOMSettableTokenList = (DOMSettableTokenList, objectUnrefFromMainloop)
unDOMSettableTokenList (DOMSettableTokenList o) = o

class DOMTokenListClass o => DOMSettableTokenListClass o
toDOMSettableTokenList :: DOMSettableTokenListClass o => o -> DOMSettableTokenList
toDOMSettableTokenList = unsafeCastGObject . toGObject

instance DOMSettableTokenListClass DOMSettableTokenList
instance DOMTokenListClass DOMSettableTokenList
instance GObjectClass DOMSettableTokenList where
  toGObject = GObject . castForeignPtr . unDOMSettableTokenList
  unsafeCastGObject = DOMSettableTokenList . castForeignPtr . unGObject

castToDOMSettableTokenList :: GObjectClass obj => obj -> DOMSettableTokenList
castToDOMSettableTokenList = castTo gTypeDOMSettableTokenList "DOMSettableTokenList"

gTypeDOMSettableTokenList :: GType
gTypeDOMSettableTokenList =
  webkit_dom_dom_settable_token_list_get_type
{-# LINE 1485 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ********************************************************************** Event

newtype Event = Event (ForeignPtr (Event)) deriving (Eq,Ord)

mkEvent = (Event, objectUnrefFromMainloop)
unEvent (Event o) = o

class GObjectClass o => EventClass o
toEvent :: EventClass o => o -> Event
toEvent = unsafeCastGObject . toGObject

instance EventClass Event
instance GObjectClass Event where
  toGObject = GObject . castForeignPtr . unEvent
  unsafeCastGObject = Event . castForeignPtr . unGObject

castToEvent :: GObjectClass obj => obj -> Event
castToEvent = castTo gTypeEvent "Event"

gTypeEvent :: GType
gTypeEvent =
  webkit_dom_event_get_type
{-# LINE 1508 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ******************************************************************** UIEvent

newtype UIEvent = UIEvent (ForeignPtr (UIEvent)) deriving (Eq,Ord)

mkUIEvent = (UIEvent, objectUnrefFromMainloop)
unUIEvent (UIEvent o) = o

class EventClass o => UIEventClass o
toUIEvent :: UIEventClass o => o -> UIEvent
toUIEvent = unsafeCastGObject . toGObject

instance UIEventClass UIEvent
instance EventClass UIEvent
instance GObjectClass UIEvent where
  toGObject = GObject . castForeignPtr . unUIEvent
  unsafeCastGObject = UIEvent . castForeignPtr . unGObject

castToUIEvent :: GObjectClass obj => obj -> UIEvent
castToUIEvent = castTo gTypeUIEvent "UIEvent"

gTypeUIEvent :: GType
gTypeUIEvent =
  webkit_dom_ui_event_get_type
{-# LINE 1532 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ************************************************************** KeyboardEvent

newtype KeyboardEvent = KeyboardEvent (ForeignPtr (KeyboardEvent)) deriving (Eq,Ord)

mkKeyboardEvent = (KeyboardEvent, objectUnrefFromMainloop)
unKeyboardEvent (KeyboardEvent o) = o

class UIEventClass o => KeyboardEventClass o
toKeyboardEvent :: KeyboardEventClass o => o -> KeyboardEvent
toKeyboardEvent = unsafeCastGObject . toGObject

instance KeyboardEventClass KeyboardEvent
instance UIEventClass KeyboardEvent
instance EventClass KeyboardEvent
instance GObjectClass KeyboardEvent where
  toGObject = GObject . castForeignPtr . unKeyboardEvent
  unsafeCastGObject = KeyboardEvent . castForeignPtr . unGObject

castToKeyboardEvent :: GObjectClass obj => obj -> KeyboardEvent
castToKeyboardEvent = castTo gTypeKeyboardEvent "KeyboardEvent"

gTypeKeyboardEvent :: GType
gTypeKeyboardEvent =
  webkit_dom_keyboard_event_get_type
{-# LINE 1557 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ***************************************************************** MouseEvent

newtype MouseEvent = MouseEvent (ForeignPtr (MouseEvent)) deriving (Eq,Ord)

mkMouseEvent = (MouseEvent, objectUnrefFromMainloop)
unMouseEvent (MouseEvent o) = o

class UIEventClass o => MouseEventClass o
toMouseEvent :: MouseEventClass o => o -> MouseEvent
toMouseEvent = unsafeCastGObject . toGObject

instance MouseEventClass MouseEvent
instance UIEventClass MouseEvent
instance EventClass MouseEvent
instance GObjectClass MouseEvent where
  toGObject = GObject . castForeignPtr . unMouseEvent
  unsafeCastGObject = MouseEvent . castForeignPtr . unGObject

castToMouseEvent :: GObjectClass obj => obj -> MouseEvent
castToMouseEvent = castTo gTypeMouseEvent "MouseEvent"

gTypeMouseEvent :: GType
gTypeMouseEvent =
  webkit_dom_mouse_event_get_type
{-# LINE 1582 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ***************************************************************** WheelEvent

newtype WheelEvent = WheelEvent (ForeignPtr (WheelEvent)) deriving (Eq,Ord)

mkWheelEvent = (WheelEvent, objectUnrefFromMainloop)
unWheelEvent (WheelEvent o) = o

class MouseEventClass o => WheelEventClass o
toWheelEvent :: WheelEventClass o => o -> WheelEvent
toWheelEvent = unsafeCastGObject . toGObject

instance WheelEventClass WheelEvent
instance MouseEventClass WheelEvent
instance UIEventClass WheelEvent
instance EventClass WheelEvent
instance GObjectClass WheelEvent where
  toGObject = GObject . castForeignPtr . unWheelEvent
  unsafeCastGObject = WheelEvent . castForeignPtr . unGObject

castToWheelEvent :: GObjectClass obj => obj -> WheelEvent
castToWheelEvent = castTo gTypeWheelEvent "WheelEvent"

gTypeWheelEvent :: GType
gTypeWheelEvent =
  webkit_dom_wheel_event_get_type
{-# LINE 1608 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- **************************************************************** EventTarget

newtype EventTarget = EventTarget (ForeignPtr (EventTarget)) deriving (Eq,Ord)

mkEventTarget = (EventTarget, objectUnrefFromMainloop)
unEventTarget (EventTarget o) = o

class GObjectClass o => EventTargetClass o
toEventTarget :: EventTargetClass o => o -> EventTarget
toEventTarget = unsafeCastGObject . toGObject

instance EventTargetClass EventTarget
instance GObjectClass EventTarget where
  toGObject = GObject . castForeignPtr . unEventTarget
  unsafeCastGObject = EventTarget . castForeignPtr . unGObject

castToEventTarget :: GObjectClass obj => obj -> EventTarget
castToEventTarget = castTo gTypeEventTarget "EventTarget"

gTypeEventTarget :: GType
gTypeEventTarget =
  webkit_dom_event_target_get_type
{-# LINE 1631 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- *********************************************************** ApplicationCache

newtype ApplicationCache = ApplicationCache (ForeignPtr (ApplicationCache)) deriving (Eq,Ord)

mkApplicationCache = (ApplicationCache, objectUnrefFromMainloop)
unApplicationCache (ApplicationCache o) = o

class EventTargetClass o => ApplicationCacheClass o
toApplicationCache :: ApplicationCacheClass o => o -> ApplicationCache
toApplicationCache = unsafeCastGObject . toGObject

instance ApplicationCacheClass ApplicationCache
instance EventTargetClass ApplicationCache
instance GObjectClass ApplicationCache where
  toGObject = GObject . castForeignPtr . unApplicationCache
  unsafeCastGObject = ApplicationCache . castForeignPtr . unGObject

castToApplicationCache :: GObjectClass obj => obj -> ApplicationCache
castToApplicationCache = castTo gTypeApplicationCache "ApplicationCache"

gTypeApplicationCache :: GType
gTypeApplicationCache =
  webkit_dom_dom_application_cache_get_type
{-# LINE 1655 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ************************************************************* AudioTrackList

newtype AudioTrackList = AudioTrackList (ForeignPtr (AudioTrackList)) deriving (Eq,Ord)

mkAudioTrackList = (AudioTrackList, objectUnrefFromMainloop)
unAudioTrackList (AudioTrackList o) = o

class EventTargetClass o => AudioTrackListClass o
toAudioTrackList :: AudioTrackListClass o => o -> AudioTrackList
toAudioTrackList = unsafeCastGObject . toGObject

instance AudioTrackListClass AudioTrackList
instance EventTargetClass AudioTrackList
instance GObjectClass AudioTrackList where
  toGObject = GObject . castForeignPtr . unAudioTrackList
  unsafeCastGObject = AudioTrackList . castForeignPtr . unGObject

castToAudioTrackList :: GObjectClass obj => obj -> AudioTrackList
castToAudioTrackList = castTo gTypeAudioTrackList "AudioTrackList"

gTypeAudioTrackList :: GType
gTypeAudioTrackList =
  webkit_dom_audio_track_list_get_type
{-# LINE 1679 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ************************************************************* BatteryManager

newtype BatteryManager = BatteryManager (ForeignPtr (BatteryManager)) deriving (Eq,Ord)

mkBatteryManager = (BatteryManager, objectUnrefFromMainloop)
unBatteryManager (BatteryManager o) = o

class EventTargetClass o => BatteryManagerClass o
toBatteryManager :: BatteryManagerClass o => o -> BatteryManager
toBatteryManager = unsafeCastGObject . toGObject

instance BatteryManagerClass BatteryManager
instance EventTargetClass BatteryManager
instance GObjectClass BatteryManager where
  toGObject = GObject . castForeignPtr . unBatteryManager
  unsafeCastGObject = BatteryManager . castForeignPtr . unGObject

castToBatteryManager :: GObjectClass obj => obj -> BatteryManager
castToBatteryManager = castTo gTypeBatteryManager "BatteryManager"

gTypeBatteryManager :: GType
gTypeBatteryManager =
  webkit_dom_battery_manager_get_type
{-# LINE 1703 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- **************************************************************** MessagePort

newtype MessagePort = MessagePort (ForeignPtr (MessagePort)) deriving (Eq,Ord)

mkMessagePort = (MessagePort, objectUnrefFromMainloop)
unMessagePort (MessagePort o) = o

class EventTargetClass o => MessagePortClass o
toMessagePort :: MessagePortClass o => o -> MessagePort
toMessagePort = unsafeCastGObject . toGObject

instance MessagePortClass MessagePort
instance EventTargetClass MessagePort
instance GObjectClass MessagePort where
  toGObject = GObject . castForeignPtr . unMessagePort
  unsafeCastGObject = MessagePort . castForeignPtr . unGObject

castToMessagePort :: GObjectClass obj => obj -> MessagePort
castToMessagePort = castTo gTypeMessagePort "MessagePort"

gTypeMessagePort :: GType
gTypeMessagePort =
  webkit_dom_message_port_get_type
{-# LINE 1727 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- *********************************************************************** Node

newtype Node = Node (ForeignPtr (Node)) deriving (Eq,Ord)

mkNode = (Node, objectUnrefFromMainloop)
unNode (Node o) = o

class EventTargetClass o => NodeClass o
toNode :: NodeClass o => o -> Node
toNode = unsafeCastGObject . toGObject

instance NodeClass Node
instance EventTargetClass Node
instance GObjectClass Node where
  toGObject = GObject . castForeignPtr . unNode
  unsafeCastGObject = Node . castForeignPtr . unGObject

castToNode :: GObjectClass obj => obj -> Node
castToNode = castTo gTypeNode "Node"

gTypeNode :: GType
gTypeNode =
  webkit_dom_node_get_type
{-# LINE 1751 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- *********************************************************************** Attr

newtype Attr = Attr (ForeignPtr (Attr)) deriving (Eq,Ord)

mkAttr = (Attr, objectUnrefFromMainloop)
unAttr (Attr o) = o

class NodeClass o => AttrClass o
toAttr :: AttrClass o => o -> Attr
toAttr = unsafeCastGObject . toGObject

instance AttrClass Attr
instance NodeClass Attr
instance EventTargetClass Attr
instance GObjectClass Attr where
  toGObject = GObject . castForeignPtr . unAttr
  unsafeCastGObject = Attr . castForeignPtr . unGObject

castToAttr :: GObjectClass obj => obj -> Attr
castToAttr = castTo gTypeAttr "Attr"

gTypeAttr :: GType
gTypeAttr =
  webkit_dom_attr_get_type
{-# LINE 1776 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ************************************************************** CharacterData

newtype CharacterData = CharacterData (ForeignPtr (CharacterData)) deriving (Eq,Ord)

mkCharacterData = (CharacterData, objectUnrefFromMainloop)
unCharacterData (CharacterData o) = o

class NodeClass o => CharacterDataClass o
toCharacterData :: CharacterDataClass o => o -> CharacterData
toCharacterData = unsafeCastGObject . toGObject

instance CharacterDataClass CharacterData
instance NodeClass CharacterData
instance EventTargetClass CharacterData
instance GObjectClass CharacterData where
  toGObject = GObject . castForeignPtr . unCharacterData
  unsafeCastGObject = CharacterData . castForeignPtr . unGObject

castToCharacterData :: GObjectClass obj => obj -> CharacterData
castToCharacterData = castTo gTypeCharacterData "CharacterData"

gTypeCharacterData :: GType
gTypeCharacterData =
  webkit_dom_character_data_get_type
{-# LINE 1801 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ******************************************************************** Comment

newtype Comment = Comment (ForeignPtr (Comment)) deriving (Eq,Ord)

mkComment = (Comment, objectUnrefFromMainloop)
unComment (Comment o) = o

class CharacterDataClass o => CommentClass o
toComment :: CommentClass o => o -> Comment
toComment = unsafeCastGObject . toGObject

instance CommentClass Comment
instance CharacterDataClass Comment
instance NodeClass Comment
instance EventTargetClass Comment
instance GObjectClass Comment where
  toGObject = GObject . castForeignPtr . unComment
  unsafeCastGObject = Comment . castForeignPtr . unGObject

castToComment :: GObjectClass obj => obj -> Comment
castToComment = castTo gTypeComment "Comment"

gTypeComment :: GType
gTypeComment =
  webkit_dom_comment_get_type
{-# LINE 1827 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ****************************************************** ProcessingInstruction

newtype ProcessingInstruction = ProcessingInstruction (ForeignPtr (ProcessingInstruction)) deriving (Eq,Ord)

mkProcessingInstruction = (ProcessingInstruction, objectUnrefFromMainloop)
unProcessingInstruction (ProcessingInstruction o) = o

class CharacterDataClass o => ProcessingInstructionClass o
toProcessingInstruction :: ProcessingInstructionClass o => o -> ProcessingInstruction
toProcessingInstruction = unsafeCastGObject . toGObject

instance ProcessingInstructionClass ProcessingInstruction
instance CharacterDataClass ProcessingInstruction
instance NodeClass ProcessingInstruction
instance EventTargetClass ProcessingInstruction
instance GObjectClass ProcessingInstruction where
  toGObject = GObject . castForeignPtr . unProcessingInstruction
  unsafeCastGObject = ProcessingInstruction . castForeignPtr . unGObject

castToProcessingInstruction :: GObjectClass obj => obj -> ProcessingInstruction
castToProcessingInstruction = castTo gTypeProcessingInstruction "ProcessingInstruction"

gTypeProcessingInstruction :: GType
gTypeProcessingInstruction =
  webkit_dom_processing_instruction_get_type
{-# LINE 1853 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- *********************************************************************** Text

newtype Text = Text (ForeignPtr (Text)) deriving (Eq,Ord)

mkText = (Text, objectUnrefFromMainloop)
unText (Text o) = o

class CharacterDataClass o => TextClass o
toText :: TextClass o => o -> Text
toText = unsafeCastGObject . toGObject

instance TextClass Text
instance CharacterDataClass Text
instance NodeClass Text
instance EventTargetClass Text
instance GObjectClass Text where
  toGObject = GObject . castForeignPtr . unText
  unsafeCastGObject = Text . castForeignPtr . unGObject

castToText :: GObjectClass obj => obj -> Text
castToText = castTo gTypeText "Text"

gTypeText :: GType
gTypeText =
  webkit_dom_text_get_type
{-# LINE 1879 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- *************************************************************** CDATASection

newtype CDATASection = CDATASection (ForeignPtr (CDATASection)) deriving (Eq,Ord)

mkCDATASection = (CDATASection, objectUnrefFromMainloop)
unCDATASection (CDATASection o) = o

class TextClass o => CDATASectionClass o
toCDATASection :: CDATASectionClass o => o -> CDATASection
toCDATASection = unsafeCastGObject . toGObject

instance CDATASectionClass CDATASection
instance TextClass CDATASection
instance CharacterDataClass CDATASection
instance NodeClass CDATASection
instance EventTargetClass CDATASection
instance GObjectClass CDATASection where
  toGObject = GObject . castForeignPtr . unCDATASection
  unsafeCastGObject = CDATASection . castForeignPtr . unGObject

castToCDATASection :: GObjectClass obj => obj -> CDATASection
castToCDATASection = castTo gTypeCDATASection "CDATASection"

gTypeCDATASection :: GType
gTypeCDATASection =
  webkit_dom_cdata_section_get_type
{-# LINE 1906 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ******************************************************************* Document

newtype Document = Document (ForeignPtr (Document)) deriving (Eq,Ord)

mkDocument = (Document, objectUnrefFromMainloop)
unDocument (Document o) = o

class NodeClass o => DocumentClass o
toDocument :: DocumentClass o => o -> Document
toDocument = unsafeCastGObject . toGObject

instance DocumentClass Document
instance NodeClass Document
instance EventTargetClass Document
instance GObjectClass Document where
  toGObject = GObject . castForeignPtr . unDocument
  unsafeCastGObject = Document . castForeignPtr . unGObject

castToDocument :: GObjectClass obj => obj -> Document
castToDocument = castTo gTypeDocument "Document"

gTypeDocument :: GType
gTypeDocument =
  webkit_dom_document_get_type
{-# LINE 1931 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- *************************************************************** HTMLDocument

newtype HTMLDocument = HTMLDocument (ForeignPtr (HTMLDocument)) deriving (Eq,Ord)

mkHTMLDocument = (HTMLDocument, objectUnrefFromMainloop)
unHTMLDocument (HTMLDocument o) = o

class DocumentClass o => HTMLDocumentClass o
toHTMLDocument :: HTMLDocumentClass o => o -> HTMLDocument
toHTMLDocument = unsafeCastGObject . toGObject

instance HTMLDocumentClass HTMLDocument
instance DocumentClass HTMLDocument
instance NodeClass HTMLDocument
instance EventTargetClass HTMLDocument
instance GObjectClass HTMLDocument where
  toGObject = GObject . castForeignPtr . unHTMLDocument
  unsafeCastGObject = HTMLDocument . castForeignPtr . unGObject

castToHTMLDocument :: GObjectClass obj => obj -> HTMLDocument
castToHTMLDocument = castTo gTypeHTMLDocument "HTMLDocument"

gTypeHTMLDocument :: GType
gTypeHTMLDocument =
  webkit_dom_html_document_get_type
{-# LINE 1957 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- *********************************************************** DocumentFragment

newtype DocumentFragment = DocumentFragment (ForeignPtr (DocumentFragment)) deriving (Eq,Ord)

mkDocumentFragment = (DocumentFragment, objectUnrefFromMainloop)
unDocumentFragment (DocumentFragment o) = o

class NodeClass o => DocumentFragmentClass o
toDocumentFragment :: DocumentFragmentClass o => o -> DocumentFragment
toDocumentFragment = unsafeCastGObject . toGObject

instance DocumentFragmentClass DocumentFragment
instance NodeClass DocumentFragment
instance EventTargetClass DocumentFragment
instance GObjectClass DocumentFragment where
  toGObject = GObject . castForeignPtr . unDocumentFragment
  unsafeCastGObject = DocumentFragment . castForeignPtr . unGObject

castToDocumentFragment :: GObjectClass obj => obj -> DocumentFragment
castToDocumentFragment = castTo gTypeDocumentFragment "DocumentFragment"

gTypeDocumentFragment :: GType
gTypeDocumentFragment =
  webkit_dom_document_fragment_get_type
{-# LINE 1982 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- *************************************************************** DocumentType

newtype DocumentType = DocumentType (ForeignPtr (DocumentType)) deriving (Eq,Ord)

mkDocumentType = (DocumentType, objectUnrefFromMainloop)
unDocumentType (DocumentType o) = o

class NodeClass o => DocumentTypeClass o
toDocumentType :: DocumentTypeClass o => o -> DocumentType
toDocumentType = unsafeCastGObject . toGObject

instance DocumentTypeClass DocumentType
instance NodeClass DocumentType
instance EventTargetClass DocumentType
instance GObjectClass DocumentType where
  toGObject = GObject . castForeignPtr . unDocumentType
  unsafeCastGObject = DocumentType . castForeignPtr . unGObject

castToDocumentType :: GObjectClass obj => obj -> DocumentType
castToDocumentType = castTo gTypeDocumentType "DocumentType"

gTypeDocumentType :: GType
gTypeDocumentType =
  webkit_dom_document_type_get_type
{-# LINE 2007 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ******************************************************************** Element

newtype Element = Element (ForeignPtr (Element)) deriving (Eq,Ord)

mkElement = (Element, objectUnrefFromMainloop)
unElement (Element o) = o

class NodeClass o => ElementClass o
toElement :: ElementClass o => o -> Element
toElement = unsafeCastGObject . toGObject

instance ElementClass Element
instance NodeClass Element
instance EventTargetClass Element
instance GObjectClass Element where
  toGObject = GObject . castForeignPtr . unElement
  unsafeCastGObject = Element . castForeignPtr . unGObject

castToElement :: GObjectClass obj => obj -> Element
castToElement = castTo gTypeElement "Element"

gTypeElement :: GType
gTypeElement =
  webkit_dom_element_get_type
{-# LINE 2032 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- **************************************************************** HTMLElement

newtype HTMLElement = HTMLElement (ForeignPtr (HTMLElement)) deriving (Eq,Ord)

mkHTMLElement = (HTMLElement, objectUnrefFromMainloop)
unHTMLElement (HTMLElement o) = o

class ElementClass o => HTMLElementClass o
toHTMLElement :: HTMLElementClass o => o -> HTMLElement
toHTMLElement = unsafeCastGObject . toGObject

instance HTMLElementClass HTMLElement
instance ElementClass HTMLElement
instance NodeClass HTMLElement
instance EventTargetClass HTMLElement
instance GObjectClass HTMLElement where
  toGObject = GObject . castForeignPtr . unHTMLElement
  unsafeCastGObject = HTMLElement . castForeignPtr . unGObject

castToHTMLElement :: GObjectClass obj => obj -> HTMLElement
castToHTMLElement = castTo gTypeHTMLElement "HTMLElement"

gTypeHTMLElement :: GType
gTypeHTMLElement =
  webkit_dom_html_element_get_type
{-# LINE 2058 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ********************************************************** HTMLAnchorElement

newtype HTMLAnchorElement = HTMLAnchorElement (ForeignPtr (HTMLAnchorElement)) deriving (Eq,Ord)

mkHTMLAnchorElement = (HTMLAnchorElement, objectUnrefFromMainloop)
unHTMLAnchorElement (HTMLAnchorElement o) = o

class HTMLElementClass o => HTMLAnchorElementClass o
toHTMLAnchorElement :: HTMLAnchorElementClass o => o -> HTMLAnchorElement
toHTMLAnchorElement = unsafeCastGObject . toGObject

instance HTMLAnchorElementClass HTMLAnchorElement
instance HTMLElementClass HTMLAnchorElement
instance ElementClass HTMLAnchorElement
instance NodeClass HTMLAnchorElement
instance EventTargetClass HTMLAnchorElement
instance GObjectClass HTMLAnchorElement where
  toGObject = GObject . castForeignPtr . unHTMLAnchorElement
  unsafeCastGObject = HTMLAnchorElement . castForeignPtr . unGObject

castToHTMLAnchorElement :: GObjectClass obj => obj -> HTMLAnchorElement
castToHTMLAnchorElement = castTo gTypeHTMLAnchorElement "HTMLAnchorElement"

gTypeHTMLAnchorElement :: GType
gTypeHTMLAnchorElement =
  webkit_dom_html_anchor_element_get_type
{-# LINE 2085 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ********************************************************** HTMLAppletElement

newtype HTMLAppletElement = HTMLAppletElement (ForeignPtr (HTMLAppletElement)) deriving (Eq,Ord)

mkHTMLAppletElement = (HTMLAppletElement, objectUnrefFromMainloop)
unHTMLAppletElement (HTMLAppletElement o) = o

class HTMLElementClass o => HTMLAppletElementClass o
toHTMLAppletElement :: HTMLAppletElementClass o => o -> HTMLAppletElement
toHTMLAppletElement = unsafeCastGObject . toGObject

instance HTMLAppletElementClass HTMLAppletElement
instance HTMLElementClass HTMLAppletElement
instance ElementClass HTMLAppletElement
instance NodeClass HTMLAppletElement
instance EventTargetClass HTMLAppletElement
instance GObjectClass HTMLAppletElement where
  toGObject = GObject . castForeignPtr . unHTMLAppletElement
  unsafeCastGObject = HTMLAppletElement . castForeignPtr . unGObject

castToHTMLAppletElement :: GObjectClass obj => obj -> HTMLAppletElement
castToHTMLAppletElement = castTo gTypeHTMLAppletElement "HTMLAppletElement"

gTypeHTMLAppletElement :: GType
gTypeHTMLAppletElement =
  webkit_dom_html_applet_element_get_type
{-# LINE 2112 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ************************************************************ HTMLAreaElement

newtype HTMLAreaElement = HTMLAreaElement (ForeignPtr (HTMLAreaElement)) deriving (Eq,Ord)

mkHTMLAreaElement = (HTMLAreaElement, objectUnrefFromMainloop)
unHTMLAreaElement (HTMLAreaElement o) = o

class HTMLElementClass o => HTMLAreaElementClass o
toHTMLAreaElement :: HTMLAreaElementClass o => o -> HTMLAreaElement
toHTMLAreaElement = unsafeCastGObject . toGObject

instance HTMLAreaElementClass HTMLAreaElement
instance HTMLElementClass HTMLAreaElement
instance ElementClass HTMLAreaElement
instance NodeClass HTMLAreaElement
instance EventTargetClass HTMLAreaElement
instance GObjectClass HTMLAreaElement where
  toGObject = GObject . castForeignPtr . unHTMLAreaElement
  unsafeCastGObject = HTMLAreaElement . castForeignPtr . unGObject

castToHTMLAreaElement :: GObjectClass obj => obj -> HTMLAreaElement
castToHTMLAreaElement = castTo gTypeHTMLAreaElement "HTMLAreaElement"

gTypeHTMLAreaElement :: GType
gTypeHTMLAreaElement =
  webkit_dom_html_area_element_get_type
{-# LINE 2139 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ************************************************************** HTMLBRElement

newtype HTMLBRElement = HTMLBRElement (ForeignPtr (HTMLBRElement)) deriving (Eq,Ord)

mkHTMLBRElement = (HTMLBRElement, objectUnrefFromMainloop)
unHTMLBRElement (HTMLBRElement o) = o

class HTMLElementClass o => HTMLBRElementClass o
toHTMLBRElement :: HTMLBRElementClass o => o -> HTMLBRElement
toHTMLBRElement = unsafeCastGObject . toGObject

instance HTMLBRElementClass HTMLBRElement
instance HTMLElementClass HTMLBRElement
instance ElementClass HTMLBRElement
instance NodeClass HTMLBRElement
instance EventTargetClass HTMLBRElement
instance GObjectClass HTMLBRElement where
  toGObject = GObject . castForeignPtr . unHTMLBRElement
  unsafeCastGObject = HTMLBRElement . castForeignPtr . unGObject

castToHTMLBRElement :: GObjectClass obj => obj -> HTMLBRElement
castToHTMLBRElement = castTo gTypeHTMLBRElement "HTMLBRElement"

gTypeHTMLBRElement :: GType
gTypeHTMLBRElement =
  webkit_dom_htmlbr_element_get_type
{-# LINE 2166 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ************************************************************ HTMLBaseElement

newtype HTMLBaseElement = HTMLBaseElement (ForeignPtr (HTMLBaseElement)) deriving (Eq,Ord)

mkHTMLBaseElement = (HTMLBaseElement, objectUnrefFromMainloop)
unHTMLBaseElement (HTMLBaseElement o) = o

class HTMLElementClass o => HTMLBaseElementClass o
toHTMLBaseElement :: HTMLBaseElementClass o => o -> HTMLBaseElement
toHTMLBaseElement = unsafeCastGObject . toGObject

instance HTMLBaseElementClass HTMLBaseElement
instance HTMLElementClass HTMLBaseElement
instance ElementClass HTMLBaseElement
instance NodeClass HTMLBaseElement
instance EventTargetClass HTMLBaseElement
instance GObjectClass HTMLBaseElement where
  toGObject = GObject . castForeignPtr . unHTMLBaseElement
  unsafeCastGObject = HTMLBaseElement . castForeignPtr . unGObject

castToHTMLBaseElement :: GObjectClass obj => obj -> HTMLBaseElement
castToHTMLBaseElement = castTo gTypeHTMLBaseElement "HTMLBaseElement"

gTypeHTMLBaseElement :: GType
gTypeHTMLBaseElement =
  webkit_dom_html_base_element_get_type
{-# LINE 2193 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ******************************************************** HTMLBaseFontElement

newtype HTMLBaseFontElement = HTMLBaseFontElement (ForeignPtr (HTMLBaseFontElement)) deriving (Eq,Ord)

mkHTMLBaseFontElement = (HTMLBaseFontElement, objectUnrefFromMainloop)
unHTMLBaseFontElement (HTMLBaseFontElement o) = o

class HTMLElementClass o => HTMLBaseFontElementClass o
toHTMLBaseFontElement :: HTMLBaseFontElementClass o => o -> HTMLBaseFontElement
toHTMLBaseFontElement = unsafeCastGObject . toGObject

instance HTMLBaseFontElementClass HTMLBaseFontElement
instance HTMLElementClass HTMLBaseFontElement
instance ElementClass HTMLBaseFontElement
instance NodeClass HTMLBaseFontElement
instance EventTargetClass HTMLBaseFontElement
instance GObjectClass HTMLBaseFontElement where
  toGObject = GObject . castForeignPtr . unHTMLBaseFontElement
  unsafeCastGObject = HTMLBaseFontElement . castForeignPtr . unGObject

castToHTMLBaseFontElement :: GObjectClass obj => obj -> HTMLBaseFontElement
castToHTMLBaseFontElement = castTo gTypeHTMLBaseFontElement "HTMLBaseFontElement"

gTypeHTMLBaseFontElement :: GType
gTypeHTMLBaseFontElement =
  webkit_dom_html_base_font_element_get_type
{-# LINE 2220 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ************************************************************ HTMLBodyElement

newtype HTMLBodyElement = HTMLBodyElement (ForeignPtr (HTMLBodyElement)) deriving (Eq,Ord)

mkHTMLBodyElement = (HTMLBodyElement, objectUnrefFromMainloop)
unHTMLBodyElement (HTMLBodyElement o) = o

class HTMLElementClass o => HTMLBodyElementClass o
toHTMLBodyElement :: HTMLBodyElementClass o => o -> HTMLBodyElement
toHTMLBodyElement = unsafeCastGObject . toGObject

instance HTMLBodyElementClass HTMLBodyElement
instance HTMLElementClass HTMLBodyElement
instance ElementClass HTMLBodyElement
instance NodeClass HTMLBodyElement
instance EventTargetClass HTMLBodyElement
instance GObjectClass HTMLBodyElement where
  toGObject = GObject . castForeignPtr . unHTMLBodyElement
  unsafeCastGObject = HTMLBodyElement . castForeignPtr . unGObject

castToHTMLBodyElement :: GObjectClass obj => obj -> HTMLBodyElement
castToHTMLBodyElement = castTo gTypeHTMLBodyElement "HTMLBodyElement"

gTypeHTMLBodyElement :: GType
gTypeHTMLBodyElement =
  webkit_dom_html_body_element_get_type
{-# LINE 2247 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ********************************************************** HTMLButtonElement

newtype HTMLButtonElement = HTMLButtonElement (ForeignPtr (HTMLButtonElement)) deriving (Eq,Ord)

mkHTMLButtonElement = (HTMLButtonElement, objectUnrefFromMainloop)
unHTMLButtonElement (HTMLButtonElement o) = o

class HTMLElementClass o => HTMLButtonElementClass o
toHTMLButtonElement :: HTMLButtonElementClass o => o -> HTMLButtonElement
toHTMLButtonElement = unsafeCastGObject . toGObject

instance HTMLButtonElementClass HTMLButtonElement
instance HTMLElementClass HTMLButtonElement
instance ElementClass HTMLButtonElement
instance NodeClass HTMLButtonElement
instance EventTargetClass HTMLButtonElement
instance GObjectClass HTMLButtonElement where
  toGObject = GObject . castForeignPtr . unHTMLButtonElement
  unsafeCastGObject = HTMLButtonElement . castForeignPtr . unGObject

castToHTMLButtonElement :: GObjectClass obj => obj -> HTMLButtonElement
castToHTMLButtonElement = castTo gTypeHTMLButtonElement "HTMLButtonElement"

gTypeHTMLButtonElement :: GType
gTypeHTMLButtonElement =
  webkit_dom_html_button_element_get_type
{-# LINE 2274 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ********************************************************** HTMLCanvasElement

newtype HTMLCanvasElement = HTMLCanvasElement (ForeignPtr (HTMLCanvasElement)) deriving (Eq,Ord)

mkHTMLCanvasElement = (HTMLCanvasElement, objectUnrefFromMainloop)
unHTMLCanvasElement (HTMLCanvasElement o) = o

class HTMLElementClass o => HTMLCanvasElementClass o
toHTMLCanvasElement :: HTMLCanvasElementClass o => o -> HTMLCanvasElement
toHTMLCanvasElement = unsafeCastGObject . toGObject

instance HTMLCanvasElementClass HTMLCanvasElement
instance HTMLElementClass HTMLCanvasElement
instance ElementClass HTMLCanvasElement
instance NodeClass HTMLCanvasElement
instance EventTargetClass HTMLCanvasElement
instance GObjectClass HTMLCanvasElement where
  toGObject = GObject . castForeignPtr . unHTMLCanvasElement
  unsafeCastGObject = HTMLCanvasElement . castForeignPtr . unGObject

castToHTMLCanvasElement :: GObjectClass obj => obj -> HTMLCanvasElement
castToHTMLCanvasElement = castTo gTypeHTMLCanvasElement "HTMLCanvasElement"

gTypeHTMLCanvasElement :: GType
gTypeHTMLCanvasElement =
  webkit_dom_html_canvas_element_get_type
{-# LINE 2301 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- *********************************************************** HTMLDListElement

newtype HTMLDListElement = HTMLDListElement (ForeignPtr (HTMLDListElement)) deriving (Eq,Ord)

mkHTMLDListElement = (HTMLDListElement, objectUnrefFromMainloop)
unHTMLDListElement (HTMLDListElement o) = o

class HTMLElementClass o => HTMLDListElementClass o
toHTMLDListElement :: HTMLDListElementClass o => o -> HTMLDListElement
toHTMLDListElement = unsafeCastGObject . toGObject

instance HTMLDListElementClass HTMLDListElement
instance HTMLElementClass HTMLDListElement
instance ElementClass HTMLDListElement
instance NodeClass HTMLDListElement
instance EventTargetClass HTMLDListElement
instance GObjectClass HTMLDListElement where
  toGObject = GObject . castForeignPtr . unHTMLDListElement
  unsafeCastGObject = HTMLDListElement . castForeignPtr . unGObject

castToHTMLDListElement :: GObjectClass obj => obj -> HTMLDListElement
castToHTMLDListElement = castTo gTypeHTMLDListElement "HTMLDListElement"

gTypeHTMLDListElement :: GType
gTypeHTMLDListElement =
  webkit_dom_htmld_list_element_get_type
{-# LINE 2328 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ********************************************************* HTMLDetailsElement

newtype HTMLDetailsElement = HTMLDetailsElement (ForeignPtr (HTMLDetailsElement)) deriving (Eq,Ord)

mkHTMLDetailsElement = (HTMLDetailsElement, objectUnrefFromMainloop)
unHTMLDetailsElement (HTMLDetailsElement o) = o

class HTMLElementClass o => HTMLDetailsElementClass o
toHTMLDetailsElement :: HTMLDetailsElementClass o => o -> HTMLDetailsElement
toHTMLDetailsElement = unsafeCastGObject . toGObject

instance HTMLDetailsElementClass HTMLDetailsElement
instance HTMLElementClass HTMLDetailsElement
instance ElementClass HTMLDetailsElement
instance NodeClass HTMLDetailsElement
instance EventTargetClass HTMLDetailsElement
instance GObjectClass HTMLDetailsElement where
  toGObject = GObject . castForeignPtr . unHTMLDetailsElement
  unsafeCastGObject = HTMLDetailsElement . castForeignPtr . unGObject

castToHTMLDetailsElement :: GObjectClass obj => obj -> HTMLDetailsElement
castToHTMLDetailsElement = castTo gTypeHTMLDetailsElement "HTMLDetailsElement"

gTypeHTMLDetailsElement :: GType
gTypeHTMLDetailsElement =
  webkit_dom_html_details_element_get_type
{-# LINE 2355 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ******************************************************* HTMLDirectoryElement

newtype HTMLDirectoryElement = HTMLDirectoryElement (ForeignPtr (HTMLDirectoryElement)) deriving (Eq,Ord)

mkHTMLDirectoryElement = (HTMLDirectoryElement, objectUnrefFromMainloop)
unHTMLDirectoryElement (HTMLDirectoryElement o) = o

class HTMLElementClass o => HTMLDirectoryElementClass o
toHTMLDirectoryElement :: HTMLDirectoryElementClass o => o -> HTMLDirectoryElement
toHTMLDirectoryElement = unsafeCastGObject . toGObject

instance HTMLDirectoryElementClass HTMLDirectoryElement
instance HTMLElementClass HTMLDirectoryElement
instance ElementClass HTMLDirectoryElement
instance NodeClass HTMLDirectoryElement
instance EventTargetClass HTMLDirectoryElement
instance GObjectClass HTMLDirectoryElement where
  toGObject = GObject . castForeignPtr . unHTMLDirectoryElement
  unsafeCastGObject = HTMLDirectoryElement . castForeignPtr . unGObject

castToHTMLDirectoryElement :: GObjectClass obj => obj -> HTMLDirectoryElement
castToHTMLDirectoryElement = castTo gTypeHTMLDirectoryElement "HTMLDirectoryElement"

gTypeHTMLDirectoryElement :: GType
gTypeHTMLDirectoryElement =
  webkit_dom_html_directory_element_get_type
{-# LINE 2382 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ************************************************************* HTMLDivElement

newtype HTMLDivElement = HTMLDivElement (ForeignPtr (HTMLDivElement)) deriving (Eq,Ord)

mkHTMLDivElement = (HTMLDivElement, objectUnrefFromMainloop)
unHTMLDivElement (HTMLDivElement o) = o

class HTMLElementClass o => HTMLDivElementClass o
toHTMLDivElement :: HTMLDivElementClass o => o -> HTMLDivElement
toHTMLDivElement = unsafeCastGObject . toGObject

instance HTMLDivElementClass HTMLDivElement
instance HTMLElementClass HTMLDivElement
instance ElementClass HTMLDivElement
instance NodeClass HTMLDivElement
instance EventTargetClass HTMLDivElement
instance GObjectClass HTMLDivElement where
  toGObject = GObject . castForeignPtr . unHTMLDivElement
  unsafeCastGObject = HTMLDivElement . castForeignPtr . unGObject

castToHTMLDivElement :: GObjectClass obj => obj -> HTMLDivElement
castToHTMLDivElement = castTo gTypeHTMLDivElement "HTMLDivElement"

gTypeHTMLDivElement :: GType
gTypeHTMLDivElement =
  webkit_dom_html_div_element_get_type
{-# LINE 2409 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- *********************************************************** HTMLEmbedElement

newtype HTMLEmbedElement = HTMLEmbedElement (ForeignPtr (HTMLEmbedElement)) deriving (Eq,Ord)

mkHTMLEmbedElement = (HTMLEmbedElement, objectUnrefFromMainloop)
unHTMLEmbedElement (HTMLEmbedElement o) = o

class HTMLElementClass o => HTMLEmbedElementClass o
toHTMLEmbedElement :: HTMLEmbedElementClass o => o -> HTMLEmbedElement
toHTMLEmbedElement = unsafeCastGObject . toGObject

instance HTMLEmbedElementClass HTMLEmbedElement
instance HTMLElementClass HTMLEmbedElement
instance ElementClass HTMLEmbedElement
instance NodeClass HTMLEmbedElement
instance EventTargetClass HTMLEmbedElement
instance GObjectClass HTMLEmbedElement where
  toGObject = GObject . castForeignPtr . unHTMLEmbedElement
  unsafeCastGObject = HTMLEmbedElement . castForeignPtr . unGObject

castToHTMLEmbedElement :: GObjectClass obj => obj -> HTMLEmbedElement
castToHTMLEmbedElement = castTo gTypeHTMLEmbedElement "HTMLEmbedElement"

gTypeHTMLEmbedElement :: GType
gTypeHTMLEmbedElement =
  webkit_dom_html_embed_element_get_type
{-# LINE 2436 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ******************************************************** HTMLFieldSetElement

newtype HTMLFieldSetElement = HTMLFieldSetElement (ForeignPtr (HTMLFieldSetElement)) deriving (Eq,Ord)

mkHTMLFieldSetElement = (HTMLFieldSetElement, objectUnrefFromMainloop)
unHTMLFieldSetElement (HTMLFieldSetElement o) = o

class HTMLElementClass o => HTMLFieldSetElementClass o
toHTMLFieldSetElement :: HTMLFieldSetElementClass o => o -> HTMLFieldSetElement
toHTMLFieldSetElement = unsafeCastGObject . toGObject

instance HTMLFieldSetElementClass HTMLFieldSetElement
instance HTMLElementClass HTMLFieldSetElement
instance ElementClass HTMLFieldSetElement
instance NodeClass HTMLFieldSetElement
instance EventTargetClass HTMLFieldSetElement
instance GObjectClass HTMLFieldSetElement where
  toGObject = GObject . castForeignPtr . unHTMLFieldSetElement
  unsafeCastGObject = HTMLFieldSetElement . castForeignPtr . unGObject

castToHTMLFieldSetElement :: GObjectClass obj => obj -> HTMLFieldSetElement
castToHTMLFieldSetElement = castTo gTypeHTMLFieldSetElement "HTMLFieldSetElement"

gTypeHTMLFieldSetElement :: GType
gTypeHTMLFieldSetElement =
  webkit_dom_html_field_set_element_get_type
{-# LINE 2463 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ************************************************************ HTMLFontElement

newtype HTMLFontElement = HTMLFontElement (ForeignPtr (HTMLFontElement)) deriving (Eq,Ord)

mkHTMLFontElement = (HTMLFontElement, objectUnrefFromMainloop)
unHTMLFontElement (HTMLFontElement o) = o

class HTMLElementClass o => HTMLFontElementClass o
toHTMLFontElement :: HTMLFontElementClass o => o -> HTMLFontElement
toHTMLFontElement = unsafeCastGObject . toGObject

instance HTMLFontElementClass HTMLFontElement
instance HTMLElementClass HTMLFontElement
instance ElementClass HTMLFontElement
instance NodeClass HTMLFontElement
instance EventTargetClass HTMLFontElement
instance GObjectClass HTMLFontElement where
  toGObject = GObject . castForeignPtr . unHTMLFontElement
  unsafeCastGObject = HTMLFontElement . castForeignPtr . unGObject

castToHTMLFontElement :: GObjectClass obj => obj -> HTMLFontElement
castToHTMLFontElement = castTo gTypeHTMLFontElement "HTMLFontElement"

gTypeHTMLFontElement :: GType
gTypeHTMLFontElement =
  webkit_dom_html_font_element_get_type
{-# LINE 2490 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ************************************************************ HTMLFormElement

newtype HTMLFormElement = HTMLFormElement (ForeignPtr (HTMLFormElement)) deriving (Eq,Ord)

mkHTMLFormElement = (HTMLFormElement, objectUnrefFromMainloop)
unHTMLFormElement (HTMLFormElement o) = o

class HTMLElementClass o => HTMLFormElementClass o
toHTMLFormElement :: HTMLFormElementClass o => o -> HTMLFormElement
toHTMLFormElement = unsafeCastGObject . toGObject

instance HTMLFormElementClass HTMLFormElement
instance HTMLElementClass HTMLFormElement
instance ElementClass HTMLFormElement
instance NodeClass HTMLFormElement
instance EventTargetClass HTMLFormElement
instance GObjectClass HTMLFormElement where
  toGObject = GObject . castForeignPtr . unHTMLFormElement
  unsafeCastGObject = HTMLFormElement . castForeignPtr . unGObject

castToHTMLFormElement :: GObjectClass obj => obj -> HTMLFormElement
castToHTMLFormElement = castTo gTypeHTMLFormElement "HTMLFormElement"

gTypeHTMLFormElement :: GType
gTypeHTMLFormElement =
  webkit_dom_html_form_element_get_type
{-# LINE 2517 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- *********************************************************** HTMLFrameElement

newtype HTMLFrameElement = HTMLFrameElement (ForeignPtr (HTMLFrameElement)) deriving (Eq,Ord)

mkHTMLFrameElement = (HTMLFrameElement, objectUnrefFromMainloop)
unHTMLFrameElement (HTMLFrameElement o) = o

class HTMLElementClass o => HTMLFrameElementClass o
toHTMLFrameElement :: HTMLFrameElementClass o => o -> HTMLFrameElement
toHTMLFrameElement = unsafeCastGObject . toGObject

instance HTMLFrameElementClass HTMLFrameElement
instance HTMLElementClass HTMLFrameElement
instance ElementClass HTMLFrameElement
instance NodeClass HTMLFrameElement
instance EventTargetClass HTMLFrameElement
instance GObjectClass HTMLFrameElement where
  toGObject = GObject . castForeignPtr . unHTMLFrameElement
  unsafeCastGObject = HTMLFrameElement . castForeignPtr . unGObject

castToHTMLFrameElement :: GObjectClass obj => obj -> HTMLFrameElement
castToHTMLFrameElement = castTo gTypeHTMLFrameElement "HTMLFrameElement"

gTypeHTMLFrameElement :: GType
gTypeHTMLFrameElement =
  webkit_dom_html_frame_element_get_type
{-# LINE 2544 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ******************************************************** HTMLFrameSetElement

newtype HTMLFrameSetElement = HTMLFrameSetElement (ForeignPtr (HTMLFrameSetElement)) deriving (Eq,Ord)

mkHTMLFrameSetElement = (HTMLFrameSetElement, objectUnrefFromMainloop)
unHTMLFrameSetElement (HTMLFrameSetElement o) = o

class HTMLElementClass o => HTMLFrameSetElementClass o
toHTMLFrameSetElement :: HTMLFrameSetElementClass o => o -> HTMLFrameSetElement
toHTMLFrameSetElement = unsafeCastGObject . toGObject

instance HTMLFrameSetElementClass HTMLFrameSetElement
instance HTMLElementClass HTMLFrameSetElement
instance ElementClass HTMLFrameSetElement
instance NodeClass HTMLFrameSetElement
instance EventTargetClass HTMLFrameSetElement
instance GObjectClass HTMLFrameSetElement where
  toGObject = GObject . castForeignPtr . unHTMLFrameSetElement
  unsafeCastGObject = HTMLFrameSetElement . castForeignPtr . unGObject

castToHTMLFrameSetElement :: GObjectClass obj => obj -> HTMLFrameSetElement
castToHTMLFrameSetElement = castTo gTypeHTMLFrameSetElement "HTMLFrameSetElement"

gTypeHTMLFrameSetElement :: GType
gTypeHTMLFrameSetElement =
  webkit_dom_html_frame_set_element_get_type
{-# LINE 2571 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ************************************************************** HTMLHRElement

newtype HTMLHRElement = HTMLHRElement (ForeignPtr (HTMLHRElement)) deriving (Eq,Ord)

mkHTMLHRElement = (HTMLHRElement, objectUnrefFromMainloop)
unHTMLHRElement (HTMLHRElement o) = o

class HTMLElementClass o => HTMLHRElementClass o
toHTMLHRElement :: HTMLHRElementClass o => o -> HTMLHRElement
toHTMLHRElement = unsafeCastGObject . toGObject

instance HTMLHRElementClass HTMLHRElement
instance HTMLElementClass HTMLHRElement
instance ElementClass HTMLHRElement
instance NodeClass HTMLHRElement
instance EventTargetClass HTMLHRElement
instance GObjectClass HTMLHRElement where
  toGObject = GObject . castForeignPtr . unHTMLHRElement
  unsafeCastGObject = HTMLHRElement . castForeignPtr . unGObject

castToHTMLHRElement :: GObjectClass obj => obj -> HTMLHRElement
castToHTMLHRElement = castTo gTypeHTMLHRElement "HTMLHRElement"

gTypeHTMLHRElement :: GType
gTypeHTMLHRElement =
  webkit_dom_htmlhr_element_get_type
{-# LINE 2598 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ************************************************************ HTMLHeadElement

newtype HTMLHeadElement = HTMLHeadElement (ForeignPtr (HTMLHeadElement)) deriving (Eq,Ord)

mkHTMLHeadElement = (HTMLHeadElement, objectUnrefFromMainloop)
unHTMLHeadElement (HTMLHeadElement o) = o

class HTMLElementClass o => HTMLHeadElementClass o
toHTMLHeadElement :: HTMLHeadElementClass o => o -> HTMLHeadElement
toHTMLHeadElement = unsafeCastGObject . toGObject

instance HTMLHeadElementClass HTMLHeadElement
instance HTMLElementClass HTMLHeadElement
instance ElementClass HTMLHeadElement
instance NodeClass HTMLHeadElement
instance EventTargetClass HTMLHeadElement
instance GObjectClass HTMLHeadElement where
  toGObject = GObject . castForeignPtr . unHTMLHeadElement
  unsafeCastGObject = HTMLHeadElement . castForeignPtr . unGObject

castToHTMLHeadElement :: GObjectClass obj => obj -> HTMLHeadElement
castToHTMLHeadElement = castTo gTypeHTMLHeadElement "HTMLHeadElement"

gTypeHTMLHeadElement :: GType
gTypeHTMLHeadElement =
  webkit_dom_html_head_element_get_type
{-# LINE 2625 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ********************************************************* HTMLHeadingElement

newtype HTMLHeadingElement = HTMLHeadingElement (ForeignPtr (HTMLHeadingElement)) deriving (Eq,Ord)

mkHTMLHeadingElement = (HTMLHeadingElement, objectUnrefFromMainloop)
unHTMLHeadingElement (HTMLHeadingElement o) = o

class HTMLElementClass o => HTMLHeadingElementClass o
toHTMLHeadingElement :: HTMLHeadingElementClass o => o -> HTMLHeadingElement
toHTMLHeadingElement = unsafeCastGObject . toGObject

instance HTMLHeadingElementClass HTMLHeadingElement
instance HTMLElementClass HTMLHeadingElement
instance ElementClass HTMLHeadingElement
instance NodeClass HTMLHeadingElement
instance EventTargetClass HTMLHeadingElement
instance GObjectClass HTMLHeadingElement where
  toGObject = GObject . castForeignPtr . unHTMLHeadingElement
  unsafeCastGObject = HTMLHeadingElement . castForeignPtr . unGObject

castToHTMLHeadingElement :: GObjectClass obj => obj -> HTMLHeadingElement
castToHTMLHeadingElement = castTo gTypeHTMLHeadingElement "HTMLHeadingElement"

gTypeHTMLHeadingElement :: GType
gTypeHTMLHeadingElement =
  webkit_dom_html_heading_element_get_type
{-# LINE 2652 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ************************************************************ HTMLHtmlElement

newtype HTMLHtmlElement = HTMLHtmlElement (ForeignPtr (HTMLHtmlElement)) deriving (Eq,Ord)

mkHTMLHtmlElement = (HTMLHtmlElement, objectUnrefFromMainloop)
unHTMLHtmlElement (HTMLHtmlElement o) = o

class HTMLElementClass o => HTMLHtmlElementClass o
toHTMLHtmlElement :: HTMLHtmlElementClass o => o -> HTMLHtmlElement
toHTMLHtmlElement = unsafeCastGObject . toGObject

instance HTMLHtmlElementClass HTMLHtmlElement
instance HTMLElementClass HTMLHtmlElement
instance ElementClass HTMLHtmlElement
instance NodeClass HTMLHtmlElement
instance EventTargetClass HTMLHtmlElement
instance GObjectClass HTMLHtmlElement where
  toGObject = GObject . castForeignPtr . unHTMLHtmlElement
  unsafeCastGObject = HTMLHtmlElement . castForeignPtr . unGObject

castToHTMLHtmlElement :: GObjectClass obj => obj -> HTMLHtmlElement
castToHTMLHtmlElement = castTo gTypeHTMLHtmlElement "HTMLHtmlElement"

gTypeHTMLHtmlElement :: GType
gTypeHTMLHtmlElement =
  webkit_dom_html_html_element_get_type
{-# LINE 2679 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ********************************************************** HTMLIFrameElement

newtype HTMLIFrameElement = HTMLIFrameElement (ForeignPtr (HTMLIFrameElement)) deriving (Eq,Ord)

mkHTMLIFrameElement = (HTMLIFrameElement, objectUnrefFromMainloop)
unHTMLIFrameElement (HTMLIFrameElement o) = o

class HTMLElementClass o => HTMLIFrameElementClass o
toHTMLIFrameElement :: HTMLIFrameElementClass o => o -> HTMLIFrameElement
toHTMLIFrameElement = unsafeCastGObject . toGObject

instance HTMLIFrameElementClass HTMLIFrameElement
instance HTMLElementClass HTMLIFrameElement
instance ElementClass HTMLIFrameElement
instance NodeClass HTMLIFrameElement
instance EventTargetClass HTMLIFrameElement
instance GObjectClass HTMLIFrameElement where
  toGObject = GObject . castForeignPtr . unHTMLIFrameElement
  unsafeCastGObject = HTMLIFrameElement . castForeignPtr . unGObject

castToHTMLIFrameElement :: GObjectClass obj => obj -> HTMLIFrameElement
castToHTMLIFrameElement = castTo gTypeHTMLIFrameElement "HTMLIFrameElement"

gTypeHTMLIFrameElement :: GType
gTypeHTMLIFrameElement =
  webkit_dom_html_iframe_element_get_type
{-# LINE 2706 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- *********************************************************** HTMLImageElement

newtype HTMLImageElement = HTMLImageElement (ForeignPtr (HTMLImageElement)) deriving (Eq,Ord)

mkHTMLImageElement = (HTMLImageElement, objectUnrefFromMainloop)
unHTMLImageElement (HTMLImageElement o) = o

class HTMLElementClass o => HTMLImageElementClass o
toHTMLImageElement :: HTMLImageElementClass o => o -> HTMLImageElement
toHTMLImageElement = unsafeCastGObject . toGObject

instance HTMLImageElementClass HTMLImageElement
instance HTMLElementClass HTMLImageElement
instance ElementClass HTMLImageElement
instance NodeClass HTMLImageElement
instance EventTargetClass HTMLImageElement
instance GObjectClass HTMLImageElement where
  toGObject = GObject . castForeignPtr . unHTMLImageElement
  unsafeCastGObject = HTMLImageElement . castForeignPtr . unGObject

castToHTMLImageElement :: GObjectClass obj => obj -> HTMLImageElement
castToHTMLImageElement = castTo gTypeHTMLImageElement "HTMLImageElement"

gTypeHTMLImageElement :: GType
gTypeHTMLImageElement =
  webkit_dom_html_image_element_get_type
{-# LINE 2733 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- *********************************************************** HTMLInputElement

newtype HTMLInputElement = HTMLInputElement (ForeignPtr (HTMLInputElement)) deriving (Eq,Ord)

mkHTMLInputElement = (HTMLInputElement, objectUnrefFromMainloop)
unHTMLInputElement (HTMLInputElement o) = o

class HTMLElementClass o => HTMLInputElementClass o
toHTMLInputElement :: HTMLInputElementClass o => o -> HTMLInputElement
toHTMLInputElement = unsafeCastGObject . toGObject

instance HTMLInputElementClass HTMLInputElement
instance HTMLElementClass HTMLInputElement
instance ElementClass HTMLInputElement
instance NodeClass HTMLInputElement
instance EventTargetClass HTMLInputElement
instance GObjectClass HTMLInputElement where
  toGObject = GObject . castForeignPtr . unHTMLInputElement
  unsafeCastGObject = HTMLInputElement . castForeignPtr . unGObject

castToHTMLInputElement :: GObjectClass obj => obj -> HTMLInputElement
castToHTMLInputElement = castTo gTypeHTMLInputElement "HTMLInputElement"

gTypeHTMLInputElement :: GType
gTypeHTMLInputElement =
  webkit_dom_html_input_element_get_type
{-# LINE 2760 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ********************************************************** HTMLKeygenElement

newtype HTMLKeygenElement = HTMLKeygenElement (ForeignPtr (HTMLKeygenElement)) deriving (Eq,Ord)

mkHTMLKeygenElement = (HTMLKeygenElement, objectUnrefFromMainloop)
unHTMLKeygenElement (HTMLKeygenElement o) = o

class HTMLElementClass o => HTMLKeygenElementClass o
toHTMLKeygenElement :: HTMLKeygenElementClass o => o -> HTMLKeygenElement
toHTMLKeygenElement = unsafeCastGObject . toGObject

instance HTMLKeygenElementClass HTMLKeygenElement
instance HTMLElementClass HTMLKeygenElement
instance ElementClass HTMLKeygenElement
instance NodeClass HTMLKeygenElement
instance EventTargetClass HTMLKeygenElement
instance GObjectClass HTMLKeygenElement where
  toGObject = GObject . castForeignPtr . unHTMLKeygenElement
  unsafeCastGObject = HTMLKeygenElement . castForeignPtr . unGObject

castToHTMLKeygenElement :: GObjectClass obj => obj -> HTMLKeygenElement
castToHTMLKeygenElement = castTo gTypeHTMLKeygenElement "HTMLKeygenElement"

gTypeHTMLKeygenElement :: GType
gTypeHTMLKeygenElement =
  webkit_dom_html_keygen_element_get_type
{-# LINE 2787 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ************************************************************** HTMLLIElement

newtype HTMLLIElement = HTMLLIElement (ForeignPtr (HTMLLIElement)) deriving (Eq,Ord)

mkHTMLLIElement = (HTMLLIElement, objectUnrefFromMainloop)
unHTMLLIElement (HTMLLIElement o) = o

class HTMLElementClass o => HTMLLIElementClass o
toHTMLLIElement :: HTMLLIElementClass o => o -> HTMLLIElement
toHTMLLIElement = unsafeCastGObject . toGObject

instance HTMLLIElementClass HTMLLIElement
instance HTMLElementClass HTMLLIElement
instance ElementClass HTMLLIElement
instance NodeClass HTMLLIElement
instance EventTargetClass HTMLLIElement
instance GObjectClass HTMLLIElement where
  toGObject = GObject . castForeignPtr . unHTMLLIElement
  unsafeCastGObject = HTMLLIElement . castForeignPtr . unGObject

castToHTMLLIElement :: GObjectClass obj => obj -> HTMLLIElement
castToHTMLLIElement = castTo gTypeHTMLLIElement "HTMLLIElement"

gTypeHTMLLIElement :: GType
gTypeHTMLLIElement =
  webkit_dom_htmlli_element_get_type
{-# LINE 2814 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- *********************************************************** HTMLLabelElement

newtype HTMLLabelElement = HTMLLabelElement (ForeignPtr (HTMLLabelElement)) deriving (Eq,Ord)

mkHTMLLabelElement = (HTMLLabelElement, objectUnrefFromMainloop)
unHTMLLabelElement (HTMLLabelElement o) = o

class HTMLElementClass o => HTMLLabelElementClass o
toHTMLLabelElement :: HTMLLabelElementClass o => o -> HTMLLabelElement
toHTMLLabelElement = unsafeCastGObject . toGObject

instance HTMLLabelElementClass HTMLLabelElement
instance HTMLElementClass HTMLLabelElement
instance ElementClass HTMLLabelElement
instance NodeClass HTMLLabelElement
instance EventTargetClass HTMLLabelElement
instance GObjectClass HTMLLabelElement where
  toGObject = GObject . castForeignPtr . unHTMLLabelElement
  unsafeCastGObject = HTMLLabelElement . castForeignPtr . unGObject

castToHTMLLabelElement :: GObjectClass obj => obj -> HTMLLabelElement
castToHTMLLabelElement = castTo gTypeHTMLLabelElement "HTMLLabelElement"

gTypeHTMLLabelElement :: GType
gTypeHTMLLabelElement =
  webkit_dom_html_label_element_get_type
{-# LINE 2841 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ********************************************************** HTMLLegendElement

newtype HTMLLegendElement = HTMLLegendElement (ForeignPtr (HTMLLegendElement)) deriving (Eq,Ord)

mkHTMLLegendElement = (HTMLLegendElement, objectUnrefFromMainloop)
unHTMLLegendElement (HTMLLegendElement o) = o

class HTMLElementClass o => HTMLLegendElementClass o
toHTMLLegendElement :: HTMLLegendElementClass o => o -> HTMLLegendElement
toHTMLLegendElement = unsafeCastGObject . toGObject

instance HTMLLegendElementClass HTMLLegendElement
instance HTMLElementClass HTMLLegendElement
instance ElementClass HTMLLegendElement
instance NodeClass HTMLLegendElement
instance EventTargetClass HTMLLegendElement
instance GObjectClass HTMLLegendElement where
  toGObject = GObject . castForeignPtr . unHTMLLegendElement
  unsafeCastGObject = HTMLLegendElement . castForeignPtr . unGObject

castToHTMLLegendElement :: GObjectClass obj => obj -> HTMLLegendElement
castToHTMLLegendElement = castTo gTypeHTMLLegendElement "HTMLLegendElement"

gTypeHTMLLegendElement :: GType
gTypeHTMLLegendElement =
  webkit_dom_html_legend_element_get_type
{-# LINE 2868 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ************************************************************ HTMLLinkElement

newtype HTMLLinkElement = HTMLLinkElement (ForeignPtr (HTMLLinkElement)) deriving (Eq,Ord)

mkHTMLLinkElement = (HTMLLinkElement, objectUnrefFromMainloop)
unHTMLLinkElement (HTMLLinkElement o) = o

class HTMLElementClass o => HTMLLinkElementClass o
toHTMLLinkElement :: HTMLLinkElementClass o => o -> HTMLLinkElement
toHTMLLinkElement = unsafeCastGObject . toGObject

instance HTMLLinkElementClass HTMLLinkElement
instance HTMLElementClass HTMLLinkElement
instance ElementClass HTMLLinkElement
instance NodeClass HTMLLinkElement
instance EventTargetClass HTMLLinkElement
instance GObjectClass HTMLLinkElement where
  toGObject = GObject . castForeignPtr . unHTMLLinkElement
  unsafeCastGObject = HTMLLinkElement . castForeignPtr . unGObject

castToHTMLLinkElement :: GObjectClass obj => obj -> HTMLLinkElement
castToHTMLLinkElement = castTo gTypeHTMLLinkElement "HTMLLinkElement"

gTypeHTMLLinkElement :: GType
gTypeHTMLLinkElement =
  webkit_dom_html_link_element_get_type
{-# LINE 2895 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ************************************************************* HTMLMapElement

newtype HTMLMapElement = HTMLMapElement (ForeignPtr (HTMLMapElement)) deriving (Eq,Ord)

mkHTMLMapElement = (HTMLMapElement, objectUnrefFromMainloop)
unHTMLMapElement (HTMLMapElement o) = o

class HTMLElementClass o => HTMLMapElementClass o
toHTMLMapElement :: HTMLMapElementClass o => o -> HTMLMapElement
toHTMLMapElement = unsafeCastGObject . toGObject

instance HTMLMapElementClass HTMLMapElement
instance HTMLElementClass HTMLMapElement
instance ElementClass HTMLMapElement
instance NodeClass HTMLMapElement
instance EventTargetClass HTMLMapElement
instance GObjectClass HTMLMapElement where
  toGObject = GObject . castForeignPtr . unHTMLMapElement
  unsafeCastGObject = HTMLMapElement . castForeignPtr . unGObject

castToHTMLMapElement :: GObjectClass obj => obj -> HTMLMapElement
castToHTMLMapElement = castTo gTypeHTMLMapElement "HTMLMapElement"

gTypeHTMLMapElement :: GType
gTypeHTMLMapElement =
  webkit_dom_html_map_element_get_type
{-# LINE 2922 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ********************************************************* HTMLMarqueeElement

newtype HTMLMarqueeElement = HTMLMarqueeElement (ForeignPtr (HTMLMarqueeElement)) deriving (Eq,Ord)

mkHTMLMarqueeElement = (HTMLMarqueeElement, objectUnrefFromMainloop)
unHTMLMarqueeElement (HTMLMarqueeElement o) = o

class HTMLElementClass o => HTMLMarqueeElementClass o
toHTMLMarqueeElement :: HTMLMarqueeElementClass o => o -> HTMLMarqueeElement
toHTMLMarqueeElement = unsafeCastGObject . toGObject

instance HTMLMarqueeElementClass HTMLMarqueeElement
instance HTMLElementClass HTMLMarqueeElement
instance ElementClass HTMLMarqueeElement
instance NodeClass HTMLMarqueeElement
instance EventTargetClass HTMLMarqueeElement
instance GObjectClass HTMLMarqueeElement where
  toGObject = GObject . castForeignPtr . unHTMLMarqueeElement
  unsafeCastGObject = HTMLMarqueeElement . castForeignPtr . unGObject

castToHTMLMarqueeElement :: GObjectClass obj => obj -> HTMLMarqueeElement
castToHTMLMarqueeElement = castTo gTypeHTMLMarqueeElement "HTMLMarqueeElement"

gTypeHTMLMarqueeElement :: GType
gTypeHTMLMarqueeElement =
  webkit_dom_html_marquee_element_get_type
{-# LINE 2949 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ************************************************************ HTMLMenuElement

newtype HTMLMenuElement = HTMLMenuElement (ForeignPtr (HTMLMenuElement)) deriving (Eq,Ord)

mkHTMLMenuElement = (HTMLMenuElement, objectUnrefFromMainloop)
unHTMLMenuElement (HTMLMenuElement o) = o

class HTMLElementClass o => HTMLMenuElementClass o
toHTMLMenuElement :: HTMLMenuElementClass o => o -> HTMLMenuElement
toHTMLMenuElement = unsafeCastGObject . toGObject

instance HTMLMenuElementClass HTMLMenuElement
instance HTMLElementClass HTMLMenuElement
instance ElementClass HTMLMenuElement
instance NodeClass HTMLMenuElement
instance EventTargetClass HTMLMenuElement
instance GObjectClass HTMLMenuElement where
  toGObject = GObject . castForeignPtr . unHTMLMenuElement
  unsafeCastGObject = HTMLMenuElement . castForeignPtr . unGObject

castToHTMLMenuElement :: GObjectClass obj => obj -> HTMLMenuElement
castToHTMLMenuElement = castTo gTypeHTMLMenuElement "HTMLMenuElement"

gTypeHTMLMenuElement :: GType
gTypeHTMLMenuElement =
  webkit_dom_html_menu_element_get_type
{-# LINE 2976 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ************************************************************ HTMLMetaElement

newtype HTMLMetaElement = HTMLMetaElement (ForeignPtr (HTMLMetaElement)) deriving (Eq,Ord)

mkHTMLMetaElement = (HTMLMetaElement, objectUnrefFromMainloop)
unHTMLMetaElement (HTMLMetaElement o) = o

class HTMLElementClass o => HTMLMetaElementClass o
toHTMLMetaElement :: HTMLMetaElementClass o => o -> HTMLMetaElement
toHTMLMetaElement = unsafeCastGObject . toGObject

instance HTMLMetaElementClass HTMLMetaElement
instance HTMLElementClass HTMLMetaElement
instance ElementClass HTMLMetaElement
instance NodeClass HTMLMetaElement
instance EventTargetClass HTMLMetaElement
instance GObjectClass HTMLMetaElement where
  toGObject = GObject . castForeignPtr . unHTMLMetaElement
  unsafeCastGObject = HTMLMetaElement . castForeignPtr . unGObject

castToHTMLMetaElement :: GObjectClass obj => obj -> HTMLMetaElement
castToHTMLMetaElement = castTo gTypeHTMLMetaElement "HTMLMetaElement"

gTypeHTMLMetaElement :: GType
gTypeHTMLMetaElement =
  webkit_dom_html_meta_element_get_type
{-# LINE 3003 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ************************************************************* HTMLModElement

newtype HTMLModElement = HTMLModElement (ForeignPtr (HTMLModElement)) deriving (Eq,Ord)

mkHTMLModElement = (HTMLModElement, objectUnrefFromMainloop)
unHTMLModElement (HTMLModElement o) = o

class HTMLElementClass o => HTMLModElementClass o
toHTMLModElement :: HTMLModElementClass o => o -> HTMLModElement
toHTMLModElement = unsafeCastGObject . toGObject

instance HTMLModElementClass HTMLModElement
instance HTMLElementClass HTMLModElement
instance ElementClass HTMLModElement
instance NodeClass HTMLModElement
instance EventTargetClass HTMLModElement
instance GObjectClass HTMLModElement where
  toGObject = GObject . castForeignPtr . unHTMLModElement
  unsafeCastGObject = HTMLModElement . castForeignPtr . unGObject

castToHTMLModElement :: GObjectClass obj => obj -> HTMLModElement
castToHTMLModElement = castTo gTypeHTMLModElement "HTMLModElement"

gTypeHTMLModElement :: GType
gTypeHTMLModElement =
  webkit_dom_html_mod_element_get_type
{-# LINE 3030 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- *********************************************************** HTMLOListElement

newtype HTMLOListElement = HTMLOListElement (ForeignPtr (HTMLOListElement)) deriving (Eq,Ord)

mkHTMLOListElement = (HTMLOListElement, objectUnrefFromMainloop)
unHTMLOListElement (HTMLOListElement o) = o

class HTMLElementClass o => HTMLOListElementClass o
toHTMLOListElement :: HTMLOListElementClass o => o -> HTMLOListElement
toHTMLOListElement = unsafeCastGObject . toGObject

instance HTMLOListElementClass HTMLOListElement
instance HTMLElementClass HTMLOListElement
instance ElementClass HTMLOListElement
instance NodeClass HTMLOListElement
instance EventTargetClass HTMLOListElement
instance GObjectClass HTMLOListElement where
  toGObject = GObject . castForeignPtr . unHTMLOListElement
  unsafeCastGObject = HTMLOListElement . castForeignPtr . unGObject

castToHTMLOListElement :: GObjectClass obj => obj -> HTMLOListElement
castToHTMLOListElement = castTo gTypeHTMLOListElement "HTMLOListElement"

gTypeHTMLOListElement :: GType
gTypeHTMLOListElement =
  webkit_dom_htmlo_list_element_get_type
{-# LINE 3057 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ********************************************************** HTMLObjectElement

newtype HTMLObjectElement = HTMLObjectElement (ForeignPtr (HTMLObjectElement)) deriving (Eq,Ord)

mkHTMLObjectElement = (HTMLObjectElement, objectUnrefFromMainloop)
unHTMLObjectElement (HTMLObjectElement o) = o

class HTMLElementClass o => HTMLObjectElementClass o
toHTMLObjectElement :: HTMLObjectElementClass o => o -> HTMLObjectElement
toHTMLObjectElement = unsafeCastGObject . toGObject

instance HTMLObjectElementClass HTMLObjectElement
instance HTMLElementClass HTMLObjectElement
instance ElementClass HTMLObjectElement
instance NodeClass HTMLObjectElement
instance EventTargetClass HTMLObjectElement
instance GObjectClass HTMLObjectElement where
  toGObject = GObject . castForeignPtr . unHTMLObjectElement
  unsafeCastGObject = HTMLObjectElement . castForeignPtr . unGObject

castToHTMLObjectElement :: GObjectClass obj => obj -> HTMLObjectElement
castToHTMLObjectElement = castTo gTypeHTMLObjectElement "HTMLObjectElement"

gTypeHTMLObjectElement :: GType
gTypeHTMLObjectElement =
  webkit_dom_html_object_element_get_type
{-# LINE 3084 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ******************************************************** HTMLOptGroupElement

newtype HTMLOptGroupElement = HTMLOptGroupElement (ForeignPtr (HTMLOptGroupElement)) deriving (Eq,Ord)

mkHTMLOptGroupElement = (HTMLOptGroupElement, objectUnrefFromMainloop)
unHTMLOptGroupElement (HTMLOptGroupElement o) = o

class HTMLElementClass o => HTMLOptGroupElementClass o
toHTMLOptGroupElement :: HTMLOptGroupElementClass o => o -> HTMLOptGroupElement
toHTMLOptGroupElement = unsafeCastGObject . toGObject

instance HTMLOptGroupElementClass HTMLOptGroupElement
instance HTMLElementClass HTMLOptGroupElement
instance ElementClass HTMLOptGroupElement
instance NodeClass HTMLOptGroupElement
instance EventTargetClass HTMLOptGroupElement
instance GObjectClass HTMLOptGroupElement where
  toGObject = GObject . castForeignPtr . unHTMLOptGroupElement
  unsafeCastGObject = HTMLOptGroupElement . castForeignPtr . unGObject

castToHTMLOptGroupElement :: GObjectClass obj => obj -> HTMLOptGroupElement
castToHTMLOptGroupElement = castTo gTypeHTMLOptGroupElement "HTMLOptGroupElement"

gTypeHTMLOptGroupElement :: GType
gTypeHTMLOptGroupElement =
  webkit_dom_html_opt_group_element_get_type
{-# LINE 3111 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ********************************************************** HTMLOptionElement

newtype HTMLOptionElement = HTMLOptionElement (ForeignPtr (HTMLOptionElement)) deriving (Eq,Ord)

mkHTMLOptionElement = (HTMLOptionElement, objectUnrefFromMainloop)
unHTMLOptionElement (HTMLOptionElement o) = o

class HTMLElementClass o => HTMLOptionElementClass o
toHTMLOptionElement :: HTMLOptionElementClass o => o -> HTMLOptionElement
toHTMLOptionElement = unsafeCastGObject . toGObject

instance HTMLOptionElementClass HTMLOptionElement
instance HTMLElementClass HTMLOptionElement
instance ElementClass HTMLOptionElement
instance NodeClass HTMLOptionElement
instance EventTargetClass HTMLOptionElement
instance GObjectClass HTMLOptionElement where
  toGObject = GObject . castForeignPtr . unHTMLOptionElement
  unsafeCastGObject = HTMLOptionElement . castForeignPtr . unGObject

castToHTMLOptionElement :: GObjectClass obj => obj -> HTMLOptionElement
castToHTMLOptionElement = castTo gTypeHTMLOptionElement "HTMLOptionElement"

gTypeHTMLOptionElement :: GType
gTypeHTMLOptionElement =
  webkit_dom_html_option_element_get_type
{-# LINE 3138 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ******************************************************* HTMLParagraphElement

newtype HTMLParagraphElement = HTMLParagraphElement (ForeignPtr (HTMLParagraphElement)) deriving (Eq,Ord)

mkHTMLParagraphElement = (HTMLParagraphElement, objectUnrefFromMainloop)
unHTMLParagraphElement (HTMLParagraphElement o) = o

class HTMLElementClass o => HTMLParagraphElementClass o
toHTMLParagraphElement :: HTMLParagraphElementClass o => o -> HTMLParagraphElement
toHTMLParagraphElement = unsafeCastGObject . toGObject

instance HTMLParagraphElementClass HTMLParagraphElement
instance HTMLElementClass HTMLParagraphElement
instance ElementClass HTMLParagraphElement
instance NodeClass HTMLParagraphElement
instance EventTargetClass HTMLParagraphElement
instance GObjectClass HTMLParagraphElement where
  toGObject = GObject . castForeignPtr . unHTMLParagraphElement
  unsafeCastGObject = HTMLParagraphElement . castForeignPtr . unGObject

castToHTMLParagraphElement :: GObjectClass obj => obj -> HTMLParagraphElement
castToHTMLParagraphElement = castTo gTypeHTMLParagraphElement "HTMLParagraphElement"

gTypeHTMLParagraphElement :: GType
gTypeHTMLParagraphElement =
  webkit_dom_html_paragraph_element_get_type
{-# LINE 3165 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- *********************************************************** HTMLParamElement

newtype HTMLParamElement = HTMLParamElement (ForeignPtr (HTMLParamElement)) deriving (Eq,Ord)

mkHTMLParamElement = (HTMLParamElement, objectUnrefFromMainloop)
unHTMLParamElement (HTMLParamElement o) = o

class HTMLElementClass o => HTMLParamElementClass o
toHTMLParamElement :: HTMLParamElementClass o => o -> HTMLParamElement
toHTMLParamElement = unsafeCastGObject . toGObject

instance HTMLParamElementClass HTMLParamElement
instance HTMLElementClass HTMLParamElement
instance ElementClass HTMLParamElement
instance NodeClass HTMLParamElement
instance EventTargetClass HTMLParamElement
instance GObjectClass HTMLParamElement where
  toGObject = GObject . castForeignPtr . unHTMLParamElement
  unsafeCastGObject = HTMLParamElement . castForeignPtr . unGObject

castToHTMLParamElement :: GObjectClass obj => obj -> HTMLParamElement
castToHTMLParamElement = castTo gTypeHTMLParamElement "HTMLParamElement"

gTypeHTMLParamElement :: GType
gTypeHTMLParamElement =
  webkit_dom_html_param_element_get_type
{-# LINE 3192 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ************************************************************* HTMLPreElement

newtype HTMLPreElement = HTMLPreElement (ForeignPtr (HTMLPreElement)) deriving (Eq,Ord)

mkHTMLPreElement = (HTMLPreElement, objectUnrefFromMainloop)
unHTMLPreElement (HTMLPreElement o) = o

class HTMLElementClass o => HTMLPreElementClass o
toHTMLPreElement :: HTMLPreElementClass o => o -> HTMLPreElement
toHTMLPreElement = unsafeCastGObject . toGObject

instance HTMLPreElementClass HTMLPreElement
instance HTMLElementClass HTMLPreElement
instance ElementClass HTMLPreElement
instance NodeClass HTMLPreElement
instance EventTargetClass HTMLPreElement
instance GObjectClass HTMLPreElement where
  toGObject = GObject . castForeignPtr . unHTMLPreElement
  unsafeCastGObject = HTMLPreElement . castForeignPtr . unGObject

castToHTMLPreElement :: GObjectClass obj => obj -> HTMLPreElement
castToHTMLPreElement = castTo gTypeHTMLPreElement "HTMLPreElement"

gTypeHTMLPreElement :: GType
gTypeHTMLPreElement =
  webkit_dom_html_pre_element_get_type
{-# LINE 3219 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- *********************************************************** HTMLQuoteElement

newtype HTMLQuoteElement = HTMLQuoteElement (ForeignPtr (HTMLQuoteElement)) deriving (Eq,Ord)

mkHTMLQuoteElement = (HTMLQuoteElement, objectUnrefFromMainloop)
unHTMLQuoteElement (HTMLQuoteElement o) = o

class HTMLElementClass o => HTMLQuoteElementClass o
toHTMLQuoteElement :: HTMLQuoteElementClass o => o -> HTMLQuoteElement
toHTMLQuoteElement = unsafeCastGObject . toGObject

instance HTMLQuoteElementClass HTMLQuoteElement
instance HTMLElementClass HTMLQuoteElement
instance ElementClass HTMLQuoteElement
instance NodeClass HTMLQuoteElement
instance EventTargetClass HTMLQuoteElement
instance GObjectClass HTMLQuoteElement where
  toGObject = GObject . castForeignPtr . unHTMLQuoteElement
  unsafeCastGObject = HTMLQuoteElement . castForeignPtr . unGObject

castToHTMLQuoteElement :: GObjectClass obj => obj -> HTMLQuoteElement
castToHTMLQuoteElement = castTo gTypeHTMLQuoteElement "HTMLQuoteElement"

gTypeHTMLQuoteElement :: GType
gTypeHTMLQuoteElement =
  webkit_dom_html_quote_element_get_type
{-# LINE 3246 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ********************************************************** HTMLScriptElement

newtype HTMLScriptElement = HTMLScriptElement (ForeignPtr (HTMLScriptElement)) deriving (Eq,Ord)

mkHTMLScriptElement = (HTMLScriptElement, objectUnrefFromMainloop)
unHTMLScriptElement (HTMLScriptElement o) = o

class HTMLElementClass o => HTMLScriptElementClass o
toHTMLScriptElement :: HTMLScriptElementClass o => o -> HTMLScriptElement
toHTMLScriptElement = unsafeCastGObject . toGObject

instance HTMLScriptElementClass HTMLScriptElement
instance HTMLElementClass HTMLScriptElement
instance ElementClass HTMLScriptElement
instance NodeClass HTMLScriptElement
instance EventTargetClass HTMLScriptElement
instance GObjectClass HTMLScriptElement where
  toGObject = GObject . castForeignPtr . unHTMLScriptElement
  unsafeCastGObject = HTMLScriptElement . castForeignPtr . unGObject

castToHTMLScriptElement :: GObjectClass obj => obj -> HTMLScriptElement
castToHTMLScriptElement = castTo gTypeHTMLScriptElement "HTMLScriptElement"

gTypeHTMLScriptElement :: GType
gTypeHTMLScriptElement =
  webkit_dom_html_script_element_get_type
{-# LINE 3273 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ********************************************************** HTMLSelectElement

newtype HTMLSelectElement = HTMLSelectElement (ForeignPtr (HTMLSelectElement)) deriving (Eq,Ord)

mkHTMLSelectElement = (HTMLSelectElement, objectUnrefFromMainloop)
unHTMLSelectElement (HTMLSelectElement o) = o

class HTMLElementClass o => HTMLSelectElementClass o
toHTMLSelectElement :: HTMLSelectElementClass o => o -> HTMLSelectElement
toHTMLSelectElement = unsafeCastGObject . toGObject

instance HTMLSelectElementClass HTMLSelectElement
instance HTMLElementClass HTMLSelectElement
instance ElementClass HTMLSelectElement
instance NodeClass HTMLSelectElement
instance EventTargetClass HTMLSelectElement
instance GObjectClass HTMLSelectElement where
  toGObject = GObject . castForeignPtr . unHTMLSelectElement
  unsafeCastGObject = HTMLSelectElement . castForeignPtr . unGObject

castToHTMLSelectElement :: GObjectClass obj => obj -> HTMLSelectElement
castToHTMLSelectElement = castTo gTypeHTMLSelectElement "HTMLSelectElement"

gTypeHTMLSelectElement :: GType
gTypeHTMLSelectElement =
  webkit_dom_html_select_element_get_type
{-# LINE 3300 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- *********************************************************** HTMLStyleElement

newtype HTMLStyleElement = HTMLStyleElement (ForeignPtr (HTMLStyleElement)) deriving (Eq,Ord)

mkHTMLStyleElement = (HTMLStyleElement, objectUnrefFromMainloop)
unHTMLStyleElement (HTMLStyleElement o) = o

class HTMLElementClass o => HTMLStyleElementClass o
toHTMLStyleElement :: HTMLStyleElementClass o => o -> HTMLStyleElement
toHTMLStyleElement = unsafeCastGObject . toGObject

instance HTMLStyleElementClass HTMLStyleElement
instance HTMLElementClass HTMLStyleElement
instance ElementClass HTMLStyleElement
instance NodeClass HTMLStyleElement
instance EventTargetClass HTMLStyleElement
instance GObjectClass HTMLStyleElement where
  toGObject = GObject . castForeignPtr . unHTMLStyleElement
  unsafeCastGObject = HTMLStyleElement . castForeignPtr . unGObject

castToHTMLStyleElement :: GObjectClass obj => obj -> HTMLStyleElement
castToHTMLStyleElement = castTo gTypeHTMLStyleElement "HTMLStyleElement"

gTypeHTMLStyleElement :: GType
gTypeHTMLStyleElement =
  webkit_dom_html_style_element_get_type
{-# LINE 3327 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- **************************************************** HTMLTableCaptionElement

newtype HTMLTableCaptionElement = HTMLTableCaptionElement (ForeignPtr (HTMLTableCaptionElement)) deriving (Eq,Ord)

mkHTMLTableCaptionElement = (HTMLTableCaptionElement, objectUnrefFromMainloop)
unHTMLTableCaptionElement (HTMLTableCaptionElement o) = o

class HTMLElementClass o => HTMLTableCaptionElementClass o
toHTMLTableCaptionElement :: HTMLTableCaptionElementClass o => o -> HTMLTableCaptionElement
toHTMLTableCaptionElement = unsafeCastGObject . toGObject

instance HTMLTableCaptionElementClass HTMLTableCaptionElement
instance HTMLElementClass HTMLTableCaptionElement
instance ElementClass HTMLTableCaptionElement
instance NodeClass HTMLTableCaptionElement
instance EventTargetClass HTMLTableCaptionElement
instance GObjectClass HTMLTableCaptionElement where
  toGObject = GObject . castForeignPtr . unHTMLTableCaptionElement
  unsafeCastGObject = HTMLTableCaptionElement . castForeignPtr . unGObject

castToHTMLTableCaptionElement :: GObjectClass obj => obj -> HTMLTableCaptionElement
castToHTMLTableCaptionElement = castTo gTypeHTMLTableCaptionElement "HTMLTableCaptionElement"

gTypeHTMLTableCaptionElement :: GType
gTypeHTMLTableCaptionElement =
  webkit_dom_html_table_caption_element_get_type
{-# LINE 3354 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ******************************************************* HTMLTableCellElement

newtype HTMLTableCellElement = HTMLTableCellElement (ForeignPtr (HTMLTableCellElement)) deriving (Eq,Ord)

mkHTMLTableCellElement = (HTMLTableCellElement, objectUnrefFromMainloop)
unHTMLTableCellElement (HTMLTableCellElement o) = o

class HTMLElementClass o => HTMLTableCellElementClass o
toHTMLTableCellElement :: HTMLTableCellElementClass o => o -> HTMLTableCellElement
toHTMLTableCellElement = unsafeCastGObject . toGObject

instance HTMLTableCellElementClass HTMLTableCellElement
instance HTMLElementClass HTMLTableCellElement
instance ElementClass HTMLTableCellElement
instance NodeClass HTMLTableCellElement
instance EventTargetClass HTMLTableCellElement
instance GObjectClass HTMLTableCellElement where
  toGObject = GObject . castForeignPtr . unHTMLTableCellElement
  unsafeCastGObject = HTMLTableCellElement . castForeignPtr . unGObject

castToHTMLTableCellElement :: GObjectClass obj => obj -> HTMLTableCellElement
castToHTMLTableCellElement = castTo gTypeHTMLTableCellElement "HTMLTableCellElement"

gTypeHTMLTableCellElement :: GType
gTypeHTMLTableCellElement =
  webkit_dom_html_table_cell_element_get_type
{-# LINE 3381 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ******************************************************** HTMLTableColElement

newtype HTMLTableColElement = HTMLTableColElement (ForeignPtr (HTMLTableColElement)) deriving (Eq,Ord)

mkHTMLTableColElement = (HTMLTableColElement, objectUnrefFromMainloop)
unHTMLTableColElement (HTMLTableColElement o) = o

class HTMLElementClass o => HTMLTableColElementClass o
toHTMLTableColElement :: HTMLTableColElementClass o => o -> HTMLTableColElement
toHTMLTableColElement = unsafeCastGObject . toGObject

instance HTMLTableColElementClass HTMLTableColElement
instance HTMLElementClass HTMLTableColElement
instance ElementClass HTMLTableColElement
instance NodeClass HTMLTableColElement
instance EventTargetClass HTMLTableColElement
instance GObjectClass HTMLTableColElement where
  toGObject = GObject . castForeignPtr . unHTMLTableColElement
  unsafeCastGObject = HTMLTableColElement . castForeignPtr . unGObject

castToHTMLTableColElement :: GObjectClass obj => obj -> HTMLTableColElement
castToHTMLTableColElement = castTo gTypeHTMLTableColElement "HTMLTableColElement"

gTypeHTMLTableColElement :: GType
gTypeHTMLTableColElement =
  webkit_dom_html_table_col_element_get_type
{-# LINE 3408 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- *********************************************************** HTMLTableElement

newtype HTMLTableElement = HTMLTableElement (ForeignPtr (HTMLTableElement)) deriving (Eq,Ord)

mkHTMLTableElement = (HTMLTableElement, objectUnrefFromMainloop)
unHTMLTableElement (HTMLTableElement o) = o

class HTMLElementClass o => HTMLTableElementClass o
toHTMLTableElement :: HTMLTableElementClass o => o -> HTMLTableElement
toHTMLTableElement = unsafeCastGObject . toGObject

instance HTMLTableElementClass HTMLTableElement
instance HTMLElementClass HTMLTableElement
instance ElementClass HTMLTableElement
instance NodeClass HTMLTableElement
instance EventTargetClass HTMLTableElement
instance GObjectClass HTMLTableElement where
  toGObject = GObject . castForeignPtr . unHTMLTableElement
  unsafeCastGObject = HTMLTableElement . castForeignPtr . unGObject

castToHTMLTableElement :: GObjectClass obj => obj -> HTMLTableElement
castToHTMLTableElement = castTo gTypeHTMLTableElement "HTMLTableElement"

gTypeHTMLTableElement :: GType
gTypeHTMLTableElement =
  webkit_dom_html_table_element_get_type
{-# LINE 3435 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ******************************************************** HTMLTableRowElement

newtype HTMLTableRowElement = HTMLTableRowElement (ForeignPtr (HTMLTableRowElement)) deriving (Eq,Ord)

mkHTMLTableRowElement = (HTMLTableRowElement, objectUnrefFromMainloop)
unHTMLTableRowElement (HTMLTableRowElement o) = o

class HTMLElementClass o => HTMLTableRowElementClass o
toHTMLTableRowElement :: HTMLTableRowElementClass o => o -> HTMLTableRowElement
toHTMLTableRowElement = unsafeCastGObject . toGObject

instance HTMLTableRowElementClass HTMLTableRowElement
instance HTMLElementClass HTMLTableRowElement
instance ElementClass HTMLTableRowElement
instance NodeClass HTMLTableRowElement
instance EventTargetClass HTMLTableRowElement
instance GObjectClass HTMLTableRowElement where
  toGObject = GObject . castForeignPtr . unHTMLTableRowElement
  unsafeCastGObject = HTMLTableRowElement . castForeignPtr . unGObject

castToHTMLTableRowElement :: GObjectClass obj => obj -> HTMLTableRowElement
castToHTMLTableRowElement = castTo gTypeHTMLTableRowElement "HTMLTableRowElement"

gTypeHTMLTableRowElement :: GType
gTypeHTMLTableRowElement =
  webkit_dom_html_table_row_element_get_type
{-# LINE 3462 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- **************************************************** HTMLTableSectionElement

newtype HTMLTableSectionElement = HTMLTableSectionElement (ForeignPtr (HTMLTableSectionElement)) deriving (Eq,Ord)

mkHTMLTableSectionElement = (HTMLTableSectionElement, objectUnrefFromMainloop)
unHTMLTableSectionElement (HTMLTableSectionElement o) = o

class HTMLElementClass o => HTMLTableSectionElementClass o
toHTMLTableSectionElement :: HTMLTableSectionElementClass o => o -> HTMLTableSectionElement
toHTMLTableSectionElement = unsafeCastGObject . toGObject

instance HTMLTableSectionElementClass HTMLTableSectionElement
instance HTMLElementClass HTMLTableSectionElement
instance ElementClass HTMLTableSectionElement
instance NodeClass HTMLTableSectionElement
instance EventTargetClass HTMLTableSectionElement
instance GObjectClass HTMLTableSectionElement where
  toGObject = GObject . castForeignPtr . unHTMLTableSectionElement
  unsafeCastGObject = HTMLTableSectionElement . castForeignPtr . unGObject

castToHTMLTableSectionElement :: GObjectClass obj => obj -> HTMLTableSectionElement
castToHTMLTableSectionElement = castTo gTypeHTMLTableSectionElement "HTMLTableSectionElement"

gTypeHTMLTableSectionElement :: GType
gTypeHTMLTableSectionElement =
  webkit_dom_html_table_section_element_get_type
{-# LINE 3489 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ******************************************************** HTMLTextAreaElement

newtype HTMLTextAreaElement = HTMLTextAreaElement (ForeignPtr (HTMLTextAreaElement)) deriving (Eq,Ord)

mkHTMLTextAreaElement = (HTMLTextAreaElement, objectUnrefFromMainloop)
unHTMLTextAreaElement (HTMLTextAreaElement o) = o

class HTMLElementClass o => HTMLTextAreaElementClass o
toHTMLTextAreaElement :: HTMLTextAreaElementClass o => o -> HTMLTextAreaElement
toHTMLTextAreaElement = unsafeCastGObject . toGObject

instance HTMLTextAreaElementClass HTMLTextAreaElement
instance HTMLElementClass HTMLTextAreaElement
instance ElementClass HTMLTextAreaElement
instance NodeClass HTMLTextAreaElement
instance EventTargetClass HTMLTextAreaElement
instance GObjectClass HTMLTextAreaElement where
  toGObject = GObject . castForeignPtr . unHTMLTextAreaElement
  unsafeCastGObject = HTMLTextAreaElement . castForeignPtr . unGObject

castToHTMLTextAreaElement :: GObjectClass obj => obj -> HTMLTextAreaElement
castToHTMLTextAreaElement = castTo gTypeHTMLTextAreaElement "HTMLTextAreaElement"

gTypeHTMLTextAreaElement :: GType
gTypeHTMLTextAreaElement =
  webkit_dom_html_text_area_element_get_type
{-# LINE 3516 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- *********************************************************** HTMLTitleElement

newtype HTMLTitleElement = HTMLTitleElement (ForeignPtr (HTMLTitleElement)) deriving (Eq,Ord)

mkHTMLTitleElement = (HTMLTitleElement, objectUnrefFromMainloop)
unHTMLTitleElement (HTMLTitleElement o) = o

class HTMLElementClass o => HTMLTitleElementClass o
toHTMLTitleElement :: HTMLTitleElementClass o => o -> HTMLTitleElement
toHTMLTitleElement = unsafeCastGObject . toGObject

instance HTMLTitleElementClass HTMLTitleElement
instance HTMLElementClass HTMLTitleElement
instance ElementClass HTMLTitleElement
instance NodeClass HTMLTitleElement
instance EventTargetClass HTMLTitleElement
instance GObjectClass HTMLTitleElement where
  toGObject = GObject . castForeignPtr . unHTMLTitleElement
  unsafeCastGObject = HTMLTitleElement . castForeignPtr . unGObject

castToHTMLTitleElement :: GObjectClass obj => obj -> HTMLTitleElement
castToHTMLTitleElement = castTo gTypeHTMLTitleElement "HTMLTitleElement"

gTypeHTMLTitleElement :: GType
gTypeHTMLTitleElement =
  webkit_dom_html_title_element_get_type
{-# LINE 3543 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- *********************************************************** HTMLUListElement

newtype HTMLUListElement = HTMLUListElement (ForeignPtr (HTMLUListElement)) deriving (Eq,Ord)

mkHTMLUListElement = (HTMLUListElement, objectUnrefFromMainloop)
unHTMLUListElement (HTMLUListElement o) = o

class HTMLElementClass o => HTMLUListElementClass o
toHTMLUListElement :: HTMLUListElementClass o => o -> HTMLUListElement
toHTMLUListElement = unsafeCastGObject . toGObject

instance HTMLUListElementClass HTMLUListElement
instance HTMLElementClass HTMLUListElement
instance ElementClass HTMLUListElement
instance NodeClass HTMLUListElement
instance EventTargetClass HTMLUListElement
instance GObjectClass HTMLUListElement where
  toGObject = GObject . castForeignPtr . unHTMLUListElement
  unsafeCastGObject = HTMLUListElement . castForeignPtr . unGObject

castToHTMLUListElement :: GObjectClass obj => obj -> HTMLUListElement
castToHTMLUListElement = castTo gTypeHTMLUListElement "HTMLUListElement"

gTypeHTMLUListElement :: GType
gTypeHTMLUListElement =
  webkit_dom_htmlu_list_element_get_type
{-# LINE 3570 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ************************************************************ EntityReference

newtype EntityReference = EntityReference (ForeignPtr (EntityReference)) deriving (Eq,Ord)

mkEntityReference = (EntityReference, objectUnrefFromMainloop)
unEntityReference (EntityReference o) = o

class NodeClass o => EntityReferenceClass o
toEntityReference :: EntityReferenceClass o => o -> EntityReference
toEntityReference = unsafeCastGObject . toGObject

instance EntityReferenceClass EntityReference
instance NodeClass EntityReference
instance EventTargetClass EntityReference
instance GObjectClass EntityReference where
  toGObject = GObject . castForeignPtr . unEntityReference
  unsafeCastGObject = EntityReference . castForeignPtr . unGObject

castToEntityReference :: GObjectClass obj => obj -> EntityReference
castToEntityReference = castTo gTypeEntityReference "EntityReference"

gTypeEntityReference :: GType
gTypeEntityReference =
  webkit_dom_entity_reference_get_type
{-# LINE 3595 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- **************************************************************** Performance

newtype Performance = Performance (ForeignPtr (Performance)) deriving (Eq,Ord)

mkPerformance = (Performance, objectUnrefFromMainloop)
unPerformance (Performance o) = o

class EventTargetClass o => PerformanceClass o
toPerformance :: PerformanceClass o => o -> Performance
toPerformance = unsafeCastGObject . toGObject

instance PerformanceClass Performance
instance EventTargetClass Performance
instance GObjectClass Performance where
  toGObject = GObject . castForeignPtr . unPerformance
  unsafeCastGObject = Performance . castForeignPtr . unGObject

castToPerformance :: GObjectClass obj => obj -> Performance
castToPerformance = castTo gTypePerformance "Performance"

gTypePerformance :: GType
gTypePerformance =
  webkit_dom_performance_get_type
{-# LINE 3619 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ****************************************************************** TextTrack

newtype TextTrack = TextTrack (ForeignPtr (TextTrack)) deriving (Eq,Ord)

mkTextTrack = (TextTrack, objectUnrefFromMainloop)
unTextTrack (TextTrack o) = o

class EventTargetClass o => TextTrackClass o
toTextTrack :: TextTrackClass o => o -> TextTrack
toTextTrack = unsafeCastGObject . toGObject

instance TextTrackClass TextTrack
instance EventTargetClass TextTrack
instance GObjectClass TextTrack where
  toGObject = GObject . castForeignPtr . unTextTrack
  unsafeCastGObject = TextTrack . castForeignPtr . unGObject

castToTextTrack :: GObjectClass obj => obj -> TextTrack
castToTextTrack = castTo gTypeTextTrack "TextTrack"

gTypeTextTrack :: GType
gTypeTextTrack =
  webkit_dom_text_track_get_type
{-# LINE 3643 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- *************************************************************** TextTrackCue

newtype TextTrackCue = TextTrackCue (ForeignPtr (TextTrackCue)) deriving (Eq,Ord)

mkTextTrackCue = (TextTrackCue, objectUnrefFromMainloop)
unTextTrackCue (TextTrackCue o) = o

class EventTargetClass o => TextTrackCueClass o
toTextTrackCue :: TextTrackCueClass o => o -> TextTrackCue
toTextTrackCue = unsafeCastGObject . toGObject

instance TextTrackCueClass TextTrackCue
instance EventTargetClass TextTrackCue
instance GObjectClass TextTrackCue where
  toGObject = GObject . castForeignPtr . unTextTrackCue
  unsafeCastGObject = TextTrackCue . castForeignPtr . unGObject

castToTextTrackCue :: GObjectClass obj => obj -> TextTrackCue
castToTextTrackCue = castTo gTypeTextTrackCue "TextTrackCue"

gTypeTextTrackCue :: GType
gTypeTextTrackCue =
  webkit_dom_text_track_cue_get_type
{-# LINE 3667 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ************************************************************** TextTrackList

newtype TextTrackList = TextTrackList (ForeignPtr (TextTrackList)) deriving (Eq,Ord)

mkTextTrackList = (TextTrackList, objectUnrefFromMainloop)
unTextTrackList (TextTrackList o) = o

class EventTargetClass o => TextTrackListClass o
toTextTrackList :: TextTrackListClass o => o -> TextTrackList
toTextTrackList = unsafeCastGObject . toGObject

instance TextTrackListClass TextTrackList
instance EventTargetClass TextTrackList
instance GObjectClass TextTrackList where
  toGObject = GObject . castForeignPtr . unTextTrackList
  unsafeCastGObject = TextTrackList . castForeignPtr . unGObject

castToTextTrackList :: GObjectClass obj => obj -> TextTrackList
castToTextTrackList = castTo gTypeTextTrackList "TextTrackList"

gTypeTextTrackList :: GType
gTypeTextTrackList =
  webkit_dom_text_track_list_get_type
{-# LINE 3691 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ************************************************************* VideoTrackList

newtype VideoTrackList = VideoTrackList (ForeignPtr (VideoTrackList)) deriving (Eq,Ord)

mkVideoTrackList = (VideoTrackList, objectUnrefFromMainloop)
unVideoTrackList (VideoTrackList o) = o

class EventTargetClass o => VideoTrackListClass o
toVideoTrackList :: VideoTrackListClass o => o -> VideoTrackList
toVideoTrackList = unsafeCastGObject . toGObject

instance VideoTrackListClass VideoTrackList
instance EventTargetClass VideoTrackList
instance GObjectClass VideoTrackList where
  toGObject = GObject . castForeignPtr . unVideoTrackList
  unsafeCastGObject = VideoTrackList . castForeignPtr . unGObject

castToVideoTrackList :: GObjectClass obj => obj -> VideoTrackList
castToVideoTrackList = castTo gTypeVideoTrackList "VideoTrackList"

gTypeVideoTrackList :: GType
gTypeVideoTrackList =
  webkit_dom_video_track_list_get_type
{-# LINE 3715 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ************************************************************ WebKitNamedFlow

newtype WebKitNamedFlow = WebKitNamedFlow (ForeignPtr (WebKitNamedFlow)) deriving (Eq,Ord)

mkWebKitNamedFlow = (WebKitNamedFlow, objectUnrefFromMainloop)
unWebKitNamedFlow (WebKitNamedFlow o) = o

class EventTargetClass o => WebKitNamedFlowClass o
toWebKitNamedFlow :: WebKitNamedFlowClass o => o -> WebKitNamedFlow
toWebKitNamedFlow = unsafeCastGObject . toGObject

instance WebKitNamedFlowClass WebKitNamedFlow
instance EventTargetClass WebKitNamedFlow
instance GObjectClass WebKitNamedFlow where
  toGObject = GObject . castForeignPtr . unWebKitNamedFlow
  unsafeCastGObject = WebKitNamedFlow . castForeignPtr . unGObject

castToWebKitNamedFlow :: GObjectClass obj => obj -> WebKitNamedFlow
castToWebKitNamedFlow = castTo gTypeWebKitNamedFlow "WebKitNamedFlow"

gTypeWebKitNamedFlow :: GType
gTypeWebKitNamedFlow =
  webkit_dom_webkit_named_flow_get_type
{-# LINE 3739 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ********************************************************************* Window

newtype Window = Window (ForeignPtr (Window)) deriving (Eq,Ord)

mkWindow = (Window, objectUnrefFromMainloop)
unWindow (Window o) = o

class EventTargetClass o => WindowClass o
toWindow :: WindowClass o => o -> Window
toWindow = unsafeCastGObject . toGObject

instance WindowClass Window
instance EventTargetClass Window
instance GObjectClass Window where
  toGObject = GObject . castForeignPtr . unWindow
  unsafeCastGObject = Window . castForeignPtr . unGObject

castToWindow :: GObjectClass obj => obj -> Window
castToWindow = castTo gTypeWindow "Window"

gTypeWindow :: GType
gTypeWindow =
  webkit_dom_dom_window_get_type
{-# LINE 3763 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ******************************************************************* FileList

newtype FileList = FileList (ForeignPtr (FileList)) deriving (Eq,Ord)

mkFileList = (FileList, objectUnrefFromMainloop)
unFileList (FileList o) = o

class GObjectClass o => FileListClass o
toFileList :: FileListClass o => o -> FileList
toFileList = unsafeCastGObject . toGObject

instance FileListClass FileList
instance GObjectClass FileList where
  toGObject = GObject . castForeignPtr . unFileList
  unsafeCastGObject = FileList . castForeignPtr . unGObject

castToFileList :: GObjectClass obj => obj -> FileList
castToFileList = castTo gTypeFileList "FileList"

gTypeFileList :: GType
gTypeFileList =
  webkit_dom_file_list_get_type
{-# LINE 3786 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- **************************************************************** Geolocation

newtype Geolocation = Geolocation (ForeignPtr (Geolocation)) deriving (Eq,Ord)

mkGeolocation = (Geolocation, objectUnrefFromMainloop)
unGeolocation (Geolocation o) = o

class GObjectClass o => GeolocationClass o
toGeolocation :: GeolocationClass o => o -> Geolocation
toGeolocation = unsafeCastGObject . toGObject

instance GeolocationClass Geolocation
instance GObjectClass Geolocation where
  toGObject = GObject . castForeignPtr . unGeolocation
  unsafeCastGObject = Geolocation . castForeignPtr . unGObject

castToGeolocation :: GObjectClass obj => obj -> Geolocation
castToGeolocation = castTo gTypeGeolocation "Geolocation"

gTypeGeolocation :: GType
gTypeGeolocation =
  webkit_dom_geolocation_get_type
{-# LINE 3809 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ************************************************************* HTMLCollection

newtype HTMLCollection = HTMLCollection (ForeignPtr (HTMLCollection)) deriving (Eq,Ord)

mkHTMLCollection = (HTMLCollection, objectUnrefFromMainloop)
unHTMLCollection (HTMLCollection o) = o

class GObjectClass o => HTMLCollectionClass o
toHTMLCollection :: HTMLCollectionClass o => o -> HTMLCollection
toHTMLCollection = unsafeCastGObject . toGObject

instance HTMLCollectionClass HTMLCollection
instance GObjectClass HTMLCollection where
  toGObject = GObject . castForeignPtr . unHTMLCollection
  unsafeCastGObject = HTMLCollection . castForeignPtr . unGObject

castToHTMLCollection :: GObjectClass obj => obj -> HTMLCollection
castToHTMLCollection = castTo gTypeHTMLCollection "HTMLCollection"

gTypeHTMLCollection :: GType
gTypeHTMLCollection =
  webkit_dom_html_collection_get_type
{-# LINE 3832 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ****************************************************** HTMLOptionsCollection

newtype HTMLOptionsCollection = HTMLOptionsCollection (ForeignPtr (HTMLOptionsCollection)) deriving (Eq,Ord)

mkHTMLOptionsCollection = (HTMLOptionsCollection, objectUnrefFromMainloop)
unHTMLOptionsCollection (HTMLOptionsCollection o) = o

class HTMLCollectionClass o => HTMLOptionsCollectionClass o
toHTMLOptionsCollection :: HTMLOptionsCollectionClass o => o -> HTMLOptionsCollection
toHTMLOptionsCollection = unsafeCastGObject . toGObject

instance HTMLOptionsCollectionClass HTMLOptionsCollection
instance HTMLCollectionClass HTMLOptionsCollection
instance GObjectClass HTMLOptionsCollection where
  toGObject = GObject . castForeignPtr . unHTMLOptionsCollection
  unsafeCastGObject = HTMLOptionsCollection . castForeignPtr . unGObject

castToHTMLOptionsCollection :: GObjectClass obj => obj -> HTMLOptionsCollection
castToHTMLOptionsCollection = castTo gTypeHTMLOptionsCollection "HTMLOptionsCollection"

gTypeHTMLOptionsCollection :: GType
gTypeHTMLOptionsCollection =
  webkit_dom_html_options_collection_get_type
{-# LINE 3856 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- *********************************************************** HTMLMediaElement

newtype HTMLMediaElement = HTMLMediaElement (ForeignPtr (HTMLMediaElement)) deriving (Eq,Ord)

mkHTMLMediaElement = (HTMLMediaElement, objectUnrefFromMainloop)
unHTMLMediaElement (HTMLMediaElement o) = o

class GObjectClass o => HTMLMediaElementClass o
toHTMLMediaElement :: HTMLMediaElementClass o => o -> HTMLMediaElement
toHTMLMediaElement = unsafeCastGObject . toGObject

instance HTMLMediaElementClass HTMLMediaElement
instance GObjectClass HTMLMediaElement where
  toGObject = GObject . castForeignPtr . unHTMLMediaElement
  unsafeCastGObject = HTMLMediaElement . castForeignPtr . unGObject

castToHTMLMediaElement :: GObjectClass obj => obj -> HTMLMediaElement
castToHTMLMediaElement = castTo gTypeHTMLMediaElement "HTMLMediaElement"

gTypeHTMLMediaElement :: GType
gTypeHTMLMediaElement =
  webkit_dom_html_media_element_get_type
{-# LINE 3879 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- *********************************************************** HTMLAudioElement

newtype HTMLAudioElement = HTMLAudioElement (ForeignPtr (HTMLAudioElement)) deriving (Eq,Ord)

mkHTMLAudioElement = (HTMLAudioElement, objectUnrefFromMainloop)
unHTMLAudioElement (HTMLAudioElement o) = o

class HTMLMediaElementClass o => HTMLAudioElementClass o
toHTMLAudioElement :: HTMLAudioElementClass o => o -> HTMLAudioElement
toHTMLAudioElement = unsafeCastGObject . toGObject

instance HTMLAudioElementClass HTMLAudioElement
instance HTMLMediaElementClass HTMLAudioElement
instance GObjectClass HTMLAudioElement where
  toGObject = GObject . castForeignPtr . unHTMLAudioElement
  unsafeCastGObject = HTMLAudioElement . castForeignPtr . unGObject

castToHTMLAudioElement :: GObjectClass obj => obj -> HTMLAudioElement
castToHTMLAudioElement = castTo gTypeHTMLAudioElement "HTMLAudioElement"

gTypeHTMLAudioElement :: GType
gTypeHTMLAudioElement =
  webkit_dom_html_audio_element_get_type
{-# LINE 3903 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- *********************************************************** HTMLVideoElement

newtype HTMLVideoElement = HTMLVideoElement (ForeignPtr (HTMLVideoElement)) deriving (Eq,Ord)

mkHTMLVideoElement = (HTMLVideoElement, objectUnrefFromMainloop)
unHTMLVideoElement (HTMLVideoElement o) = o

class HTMLMediaElementClass o => HTMLVideoElementClass o
toHTMLVideoElement :: HTMLVideoElementClass o => o -> HTMLVideoElement
toHTMLVideoElement = unsafeCastGObject . toGObject

instance HTMLVideoElementClass HTMLVideoElement
instance HTMLMediaElementClass HTMLVideoElement
instance GObjectClass HTMLVideoElement where
  toGObject = GObject . castForeignPtr . unHTMLVideoElement
  unsafeCastGObject = HTMLVideoElement . castForeignPtr . unGObject

castToHTMLVideoElement :: GObjectClass obj => obj -> HTMLVideoElement
castToHTMLVideoElement = castTo gTypeHTMLVideoElement "HTMLVideoElement"

gTypeHTMLVideoElement :: GType
gTypeHTMLVideoElement =
  webkit_dom_html_video_element_get_type
{-# LINE 3927 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ******************************************************************** History

newtype History = History (ForeignPtr (History)) deriving (Eq,Ord)

mkHistory = (History, objectUnrefFromMainloop)
unHistory (History o) = o

class GObjectClass o => HistoryClass o
toHistory :: HistoryClass o => o -> History
toHistory = unsafeCastGObject . toGObject

instance HistoryClass History
instance GObjectClass History where
  toGObject = GObject . castForeignPtr . unHistory
  unsafeCastGObject = History . castForeignPtr . unGObject

castToHistory :: GObjectClass obj => obj -> History
castToHistory = castTo gTypeHistory "History"

gTypeHistory :: GType
gTypeHistory =
  webkit_dom_history_get_type
{-# LINE 3950 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ******************************************************************* Location

newtype Location = Location (ForeignPtr (Location)) deriving (Eq,Ord)

mkLocation = (Location, objectUnrefFromMainloop)
unLocation (Location o) = o

class GObjectClass o => LocationClass o
toLocation :: LocationClass o => o -> Location
toLocation = unsafeCastGObject . toGObject

instance LocationClass Location
instance GObjectClass Location where
  toGObject = GObject . castForeignPtr . unLocation
  unsafeCastGObject = Location . castForeignPtr . unGObject

castToLocation :: GObjectClass obj => obj -> Location
castToLocation = castTo gTypeLocation "Location"

gTypeLocation :: GType
gTypeLocation =
  webkit_dom_location_get_type
{-# LINE 3973 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ***************************************************************** MediaError

newtype MediaError = MediaError (ForeignPtr (MediaError)) deriving (Eq,Ord)

mkMediaError = (MediaError, objectUnrefFromMainloop)
unMediaError (MediaError o) = o

class GObjectClass o => MediaErrorClass o
toMediaError :: MediaErrorClass o => o -> MediaError
toMediaError = unsafeCastGObject . toGObject

instance MediaErrorClass MediaError
instance GObjectClass MediaError where
  toGObject = GObject . castForeignPtr . unMediaError
  unsafeCastGObject = MediaError . castForeignPtr . unGObject

castToMediaError :: GObjectClass obj => obj -> MediaError
castToMediaError = castTo gTypeMediaError "MediaError"

gTypeMediaError :: GType
gTypeMediaError =
  webkit_dom_media_error_get_type
{-# LINE 3996 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ****************************************************************** MediaList

newtype MediaList = MediaList (ForeignPtr (MediaList)) deriving (Eq,Ord)

mkMediaList = (MediaList, objectUnrefFromMainloop)
unMediaList (MediaList o) = o

class GObjectClass o => MediaListClass o
toMediaList :: MediaListClass o => o -> MediaList
toMediaList = unsafeCastGObject . toGObject

instance MediaListClass MediaList
instance GObjectClass MediaList where
  toGObject = GObject . castForeignPtr . unMediaList
  unsafeCastGObject = MediaList . castForeignPtr . unGObject

castToMediaList :: GObjectClass obj => obj -> MediaList
castToMediaList = castTo gTypeMediaList "MediaList"

gTypeMediaList :: GType
gTypeMediaList =
  webkit_dom_media_list_get_type
{-# LINE 4019 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ************************************************************* MediaQueryList

newtype MediaQueryList = MediaQueryList (ForeignPtr (MediaQueryList)) deriving (Eq,Ord)

mkMediaQueryList = (MediaQueryList, objectUnrefFromMainloop)
unMediaQueryList (MediaQueryList o) = o

class GObjectClass o => MediaQueryListClass o
toMediaQueryList :: MediaQueryListClass o => o -> MediaQueryList
toMediaQueryList = unsafeCastGObject . toGObject

instance MediaQueryListClass MediaQueryList
instance GObjectClass MediaQueryList where
  toGObject = GObject . castForeignPtr . unMediaQueryList
  unsafeCastGObject = MediaQueryList . castForeignPtr . unGObject

castToMediaQueryList :: GObjectClass obj => obj -> MediaQueryList
castToMediaQueryList = castTo gTypeMediaQueryList "MediaQueryList"

gTypeMediaQueryList :: GType
gTypeMediaQueryList =
  webkit_dom_media_query_list_get_type
{-# LINE 4042 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ******************************************************************* MimeType

newtype MimeType = MimeType (ForeignPtr (MimeType)) deriving (Eq,Ord)

mkMimeType = (MimeType, objectUnrefFromMainloop)
unMimeType (MimeType o) = o

class GObjectClass o => MimeTypeClass o
toMimeType :: MimeTypeClass o => o -> MimeType
toMimeType = unsafeCastGObject . toGObject

instance MimeTypeClass MimeType
instance GObjectClass MimeType where
  toGObject = GObject . castForeignPtr . unMimeType
  unsafeCastGObject = MimeType . castForeignPtr . unGObject

castToMimeType :: GObjectClass obj => obj -> MimeType
castToMimeType = castTo gTypeMimeType "MimeType"

gTypeMimeType :: GType
gTypeMimeType =
  webkit_dom_dom_mime_type_get_type
{-# LINE 4065 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ************************************************************** MimeTypeArray

newtype MimeTypeArray = MimeTypeArray (ForeignPtr (MimeTypeArray)) deriving (Eq,Ord)

mkMimeTypeArray = (MimeTypeArray, objectUnrefFromMainloop)
unMimeTypeArray (MimeTypeArray o) = o

class GObjectClass o => MimeTypeArrayClass o
toMimeTypeArray :: MimeTypeArrayClass o => o -> MimeTypeArray
toMimeTypeArray = unsafeCastGObject . toGObject

instance MimeTypeArrayClass MimeTypeArray
instance GObjectClass MimeTypeArray where
  toGObject = GObject . castForeignPtr . unMimeTypeArray
  unsafeCastGObject = MimeTypeArray . castForeignPtr . unGObject

castToMimeTypeArray :: GObjectClass obj => obj -> MimeTypeArray
castToMimeTypeArray = castTo gTypeMimeTypeArray "MimeTypeArray"

gTypeMimeTypeArray :: GType
gTypeMimeTypeArray =
  webkit_dom_dom_mime_type_array_get_type
{-# LINE 4088 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- *************************************************************** NamedNodeMap

newtype NamedNodeMap = NamedNodeMap (ForeignPtr (NamedNodeMap)) deriving (Eq,Ord)

mkNamedNodeMap = (NamedNodeMap, objectUnrefFromMainloop)
unNamedNodeMap (NamedNodeMap o) = o

class GObjectClass o => NamedNodeMapClass o
toNamedNodeMap :: NamedNodeMapClass o => o -> NamedNodeMap
toNamedNodeMap = unsafeCastGObject . toGObject

instance NamedNodeMapClass NamedNodeMap
instance GObjectClass NamedNodeMap where
  toGObject = GObject . castForeignPtr . unNamedNodeMap
  unsafeCastGObject = NamedNodeMap . castForeignPtr . unGObject

castToNamedNodeMap :: GObjectClass obj => obj -> NamedNodeMap
castToNamedNodeMap = castTo gTypeNamedNodeMap "NamedNodeMap"

gTypeNamedNodeMap :: GType
gTypeNamedNodeMap =
  webkit_dom_named_node_map_get_type
{-# LINE 4111 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ****************************************************************** Navigator

newtype Navigator = Navigator (ForeignPtr (Navigator)) deriving (Eq,Ord)

mkNavigator = (Navigator, objectUnrefFromMainloop)
unNavigator (Navigator o) = o

class GObjectClass o => NavigatorClass o
toNavigator :: NavigatorClass o => o -> Navigator
toNavigator = unsafeCastGObject . toGObject

instance NavigatorClass Navigator
instance GObjectClass Navigator where
  toGObject = GObject . castForeignPtr . unNavigator
  unsafeCastGObject = Navigator . castForeignPtr . unGObject

castToNavigator :: GObjectClass obj => obj -> Navigator
castToNavigator = castTo gTypeNavigator "Navigator"

gTypeNavigator :: GType
gTypeNavigator =
  webkit_dom_navigator_get_type
{-# LINE 4134 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ***************************************************************** NodeFilter

newtype NodeFilter = NodeFilter (ForeignPtr (NodeFilter)) deriving (Eq,Ord)

mkNodeFilter = (NodeFilter, objectUnrefFromMainloop)
unNodeFilter (NodeFilter o) = o

class GObjectClass o => NodeFilterClass o
toNodeFilter :: NodeFilterClass o => o -> NodeFilter
toNodeFilter = unsafeCastGObject . toGObject

instance NodeFilterClass NodeFilter
instance GObjectClass NodeFilter where
  toGObject = GObject . castForeignPtr . unNodeFilter
  unsafeCastGObject = NodeFilter . castForeignPtr . unGObject

castToNodeFilter :: GObjectClass obj => obj -> NodeFilter
castToNodeFilter = castTo gTypeNodeFilter "NodeFilter"

gTypeNodeFilter :: GType
gTypeNodeFilter =
  webkit_dom_node_filter_get_type
{-# LINE 4157 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- *************************************************************** NodeIterator

newtype NodeIterator = NodeIterator (ForeignPtr (NodeIterator)) deriving (Eq,Ord)

mkNodeIterator = (NodeIterator, objectUnrefFromMainloop)
unNodeIterator (NodeIterator o) = o

class GObjectClass o => NodeIteratorClass o
toNodeIterator :: NodeIteratorClass o => o -> NodeIterator
toNodeIterator = unsafeCastGObject . toGObject

instance NodeIteratorClass NodeIterator
instance GObjectClass NodeIterator where
  toGObject = GObject . castForeignPtr . unNodeIterator
  unsafeCastGObject = NodeIterator . castForeignPtr . unGObject

castToNodeIterator :: GObjectClass obj => obj -> NodeIterator
castToNodeIterator = castTo gTypeNodeIterator "NodeIterator"

gTypeNodeIterator :: GType
gTypeNodeIterator =
  webkit_dom_node_iterator_get_type
{-# LINE 4180 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ******************************************************************* NodeList

newtype NodeList = NodeList (ForeignPtr (NodeList)) deriving (Eq,Ord)

mkNodeList = (NodeList, objectUnrefFromMainloop)
unNodeList (NodeList o) = o

class GObjectClass o => NodeListClass o
toNodeList :: NodeListClass o => o -> NodeList
toNodeList = unsafeCastGObject . toGObject

instance NodeListClass NodeList
instance GObjectClass NodeList where
  toGObject = GObject . castForeignPtr . unNodeList
  unsafeCastGObject = NodeList . castForeignPtr . unGObject

castToNodeList :: GObjectClass obj => obj -> NodeList
castToNodeList = castTo gTypeNodeList "NodeList"

gTypeNodeList :: GType
gTypeNodeList =
  webkit_dom_node_list_get_type
{-# LINE 4203 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ****************************************************** PerformanceNavigation

newtype PerformanceNavigation = PerformanceNavigation (ForeignPtr (PerformanceNavigation)) deriving (Eq,Ord)

mkPerformanceNavigation = (PerformanceNavigation, objectUnrefFromMainloop)
unPerformanceNavigation (PerformanceNavigation o) = o

class GObjectClass o => PerformanceNavigationClass o
toPerformanceNavigation :: PerformanceNavigationClass o => o -> PerformanceNavigation
toPerformanceNavigation = unsafeCastGObject . toGObject

instance PerformanceNavigationClass PerformanceNavigation
instance GObjectClass PerformanceNavigation where
  toGObject = GObject . castForeignPtr . unPerformanceNavigation
  unsafeCastGObject = PerformanceNavigation . castForeignPtr . unGObject

castToPerformanceNavigation :: GObjectClass obj => obj -> PerformanceNavigation
castToPerformanceNavigation = castTo gTypePerformanceNavigation "PerformanceNavigation"

gTypePerformanceNavigation :: GType
gTypePerformanceNavigation =
  webkit_dom_performance_navigation_get_type
{-# LINE 4226 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ********************************************************** PerformanceTiming

newtype PerformanceTiming = PerformanceTiming (ForeignPtr (PerformanceTiming)) deriving (Eq,Ord)

mkPerformanceTiming = (PerformanceTiming, objectUnrefFromMainloop)
unPerformanceTiming (PerformanceTiming o) = o

class GObjectClass o => PerformanceTimingClass o
toPerformanceTiming :: PerformanceTimingClass o => o -> PerformanceTiming
toPerformanceTiming = unsafeCastGObject . toGObject

instance PerformanceTimingClass PerformanceTiming
instance GObjectClass PerformanceTiming where
  toGObject = GObject . castForeignPtr . unPerformanceTiming
  unsafeCastGObject = PerformanceTiming . castForeignPtr . unGObject

castToPerformanceTiming :: GObjectClass obj => obj -> PerformanceTiming
castToPerformanceTiming = castTo gTypePerformanceTiming "PerformanceTiming"

gTypePerformanceTiming :: GType
gTypePerformanceTiming =
  webkit_dom_performance_timing_get_type
{-# LINE 4249 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ********************************************************************* Plugin

newtype Plugin = Plugin (ForeignPtr (Plugin)) deriving (Eq,Ord)

mkPlugin = (Plugin, objectUnrefFromMainloop)
unPlugin (Plugin o) = o

class GObjectClass o => PluginClass o
toPlugin :: PluginClass o => o -> Plugin
toPlugin = unsafeCastGObject . toGObject

instance PluginClass Plugin
instance GObjectClass Plugin where
  toGObject = GObject . castForeignPtr . unPlugin
  unsafeCastGObject = Plugin . castForeignPtr . unGObject

castToPlugin :: GObjectClass obj => obj -> Plugin
castToPlugin = castTo gTypePlugin "Plugin"

gTypePlugin :: GType
gTypePlugin =
  webkit_dom_dom_plugin_get_type
{-# LINE 4272 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- **************************************************************** PluginArray

newtype PluginArray = PluginArray (ForeignPtr (PluginArray)) deriving (Eq,Ord)

mkPluginArray = (PluginArray, objectUnrefFromMainloop)
unPluginArray (PluginArray o) = o

class GObjectClass o => PluginArrayClass o
toPluginArray :: PluginArrayClass o => o -> PluginArray
toPluginArray = unsafeCastGObject . toGObject

instance PluginArrayClass PluginArray
instance GObjectClass PluginArray where
  toGObject = GObject . castForeignPtr . unPluginArray
  unsafeCastGObject = PluginArray . castForeignPtr . unGObject

castToPluginArray :: GObjectClass obj => obj -> PluginArray
castToPluginArray = castTo gTypePluginArray "PluginArray"

gTypePluginArray :: GType
gTypePluginArray =
  webkit_dom_dom_plugin_array_get_type
{-# LINE 4295 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ********************************************************************** Range

newtype Range = Range (ForeignPtr (Range)) deriving (Eq,Ord)

mkRange = (Range, objectUnrefFromMainloop)
unRange (Range o) = o

class GObjectClass o => RangeClass o
toRange :: RangeClass o => o -> Range
toRange = unsafeCastGObject . toGObject

instance RangeClass Range
instance GObjectClass Range where
  toGObject = GObject . castForeignPtr . unRange
  unsafeCastGObject = Range . castForeignPtr . unGObject

castToRange :: GObjectClass obj => obj -> Range
castToRange = castTo gTypeRange "Range"

gTypeRange :: GType
gTypeRange =
  webkit_dom_range_get_type
{-# LINE 4318 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ********************************************************************* Screen

newtype Screen = Screen (ForeignPtr (Screen)) deriving (Eq,Ord)

mkScreen = (Screen, objectUnrefFromMainloop)
unScreen (Screen o) = o

class GObjectClass o => ScreenClass o
toScreen :: ScreenClass o => o -> Screen
toScreen = unsafeCastGObject . toGObject

instance ScreenClass Screen
instance GObjectClass Screen where
  toGObject = GObject . castForeignPtr . unScreen
  unsafeCastGObject = Screen . castForeignPtr . unGObject

castToScreen :: GObjectClass obj => obj -> Screen
castToScreen = castTo gTypeScreen "Screen"

gTypeScreen :: GType
gTypeScreen =
  webkit_dom_screen_get_type
{-# LINE 4341 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ************************************************************* SecurityPolicy

newtype SecurityPolicy = SecurityPolicy (ForeignPtr (SecurityPolicy)) deriving (Eq,Ord)

mkSecurityPolicy = (SecurityPolicy, objectUnrefFromMainloop)
unSecurityPolicy (SecurityPolicy o) = o

class GObjectClass o => SecurityPolicyClass o
toSecurityPolicy :: SecurityPolicyClass o => o -> SecurityPolicy
toSecurityPolicy = unsafeCastGObject . toGObject

instance SecurityPolicyClass SecurityPolicy
instance GObjectClass SecurityPolicy where
  toGObject = GObject . castForeignPtr . unSecurityPolicy
  unsafeCastGObject = SecurityPolicy . castForeignPtr . unGObject

castToSecurityPolicy :: GObjectClass obj => obj -> SecurityPolicy
castToSecurityPolicy = castTo gTypeSecurityPolicy "SecurityPolicy"

gTypeSecurityPolicy :: GType
gTypeSecurityPolicy =
  webkit_dom_dom_security_policy_get_type
{-# LINE 4364 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ****************************************************************** Selection

newtype Selection = Selection (ForeignPtr (Selection)) deriving (Eq,Ord)

mkSelection = (Selection, objectUnrefFromMainloop)
unSelection (Selection o) = o

class GObjectClass o => SelectionClass o
toSelection :: SelectionClass o => o -> Selection
toSelection = unsafeCastGObject . toGObject

instance SelectionClass Selection
instance GObjectClass Selection where
  toGObject = GObject . castForeignPtr . unSelection
  unsafeCastGObject = Selection . castForeignPtr . unGObject

castToSelection :: GObjectClass obj => obj -> Selection
castToSelection = castTo gTypeSelection "Selection"

gTypeSelection :: GType
gTypeSelection =
  webkit_dom_dom_selection_get_type
{-# LINE 4387 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ******************************************************************** Storage

newtype Storage = Storage (ForeignPtr (Storage)) deriving (Eq,Ord)

mkStorage = (Storage, objectUnrefFromMainloop)
unStorage (Storage o) = o

class GObjectClass o => StorageClass o
toStorage :: StorageClass o => o -> Storage
toStorage = unsafeCastGObject . toGObject

instance StorageClass Storage
instance GObjectClass Storage where
  toGObject = GObject . castForeignPtr . unStorage
  unsafeCastGObject = Storage . castForeignPtr . unGObject

castToStorage :: GObjectClass obj => obj -> Storage
castToStorage = castTo gTypeStorage "Storage"

gTypeStorage :: GType
gTypeStorage =
  webkit_dom_storage_get_type
{-# LINE 4410 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- **************************************************************** StorageInfo

newtype StorageInfo = StorageInfo (ForeignPtr (StorageInfo)) deriving (Eq,Ord)

mkStorageInfo = (StorageInfo, objectUnrefFromMainloop)
unStorageInfo (StorageInfo o) = o

class GObjectClass o => StorageInfoClass o
toStorageInfo :: StorageInfoClass o => o -> StorageInfo
toStorageInfo = unsafeCastGObject . toGObject

instance StorageInfoClass StorageInfo
instance GObjectClass StorageInfo where
  toGObject = GObject . castForeignPtr . unStorageInfo
  unsafeCastGObject = StorageInfo . castForeignPtr . unGObject

castToStorageInfo :: GObjectClass obj => obj -> StorageInfo
castToStorageInfo = castTo gTypeStorageInfo "StorageInfo"

gTypeStorageInfo :: GType
gTypeStorageInfo =
  webkit_dom_storage_info_get_type
{-# LINE 4433 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- *************************************************************** StorageQuota

newtype StorageQuota = StorageQuota (ForeignPtr (StorageQuota)) deriving (Eq,Ord)

mkStorageQuota = (StorageQuota, objectUnrefFromMainloop)
unStorageQuota (StorageQuota o) = o

class GObjectClass o => StorageQuotaClass o
toStorageQuota :: StorageQuotaClass o => o -> StorageQuota
toStorageQuota = unsafeCastGObject . toGObject

instance StorageQuotaClass StorageQuota
instance GObjectClass StorageQuota where
  toGObject = GObject . castForeignPtr . unStorageQuota
  unsafeCastGObject = StorageQuota . castForeignPtr . unGObject

castToStorageQuota :: GObjectClass obj => obj -> StorageQuota
castToStorageQuota = castTo gTypeStorageQuota "StorageQuota"

gTypeStorageQuota :: GType
gTypeStorageQuota =
  webkit_dom_storage_quota_get_type
{-# LINE 4456 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ***************************************************************** StyleMedia

newtype StyleMedia = StyleMedia (ForeignPtr (StyleMedia)) deriving (Eq,Ord)

mkStyleMedia = (StyleMedia, objectUnrefFromMainloop)
unStyleMedia (StyleMedia o) = o

class GObjectClass o => StyleMediaClass o
toStyleMedia :: StyleMediaClass o => o -> StyleMedia
toStyleMedia = unsafeCastGObject . toGObject

instance StyleMediaClass StyleMedia
instance GObjectClass StyleMedia where
  toGObject = GObject . castForeignPtr . unStyleMedia
  unsafeCastGObject = StyleMedia . castForeignPtr . unGObject

castToStyleMedia :: GObjectClass obj => obj -> StyleMedia
castToStyleMedia = castTo gTypeStyleMedia "StyleMedia"

gTypeStyleMedia :: GType
gTypeStyleMedia =
  webkit_dom_style_media_get_type
{-# LINE 4479 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ***************************************************************** StyleSheet

newtype StyleSheet = StyleSheet (ForeignPtr (StyleSheet)) deriving (Eq,Ord)

mkStyleSheet = (StyleSheet, objectUnrefFromMainloop)
unStyleSheet (StyleSheet o) = o

class GObjectClass o => StyleSheetClass o
toStyleSheet :: StyleSheetClass o => o -> StyleSheet
toStyleSheet = unsafeCastGObject . toGObject

instance StyleSheetClass StyleSheet
instance GObjectClass StyleSheet where
  toGObject = GObject . castForeignPtr . unStyleSheet
  unsafeCastGObject = StyleSheet . castForeignPtr . unGObject

castToStyleSheet :: GObjectClass obj => obj -> StyleSheet
castToStyleSheet = castTo gTypeStyleSheet "StyleSheet"

gTypeStyleSheet :: GType
gTypeStyleSheet =
  webkit_dom_style_sheet_get_type
{-# LINE 4502 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ************************************************************** CSSStyleSheet

newtype CSSStyleSheet = CSSStyleSheet (ForeignPtr (CSSStyleSheet)) deriving (Eq,Ord)

mkCSSStyleSheet = (CSSStyleSheet, objectUnrefFromMainloop)
unCSSStyleSheet (CSSStyleSheet o) = o

class StyleSheetClass o => CSSStyleSheetClass o
toCSSStyleSheet :: CSSStyleSheetClass o => o -> CSSStyleSheet
toCSSStyleSheet = unsafeCastGObject . toGObject

instance CSSStyleSheetClass CSSStyleSheet
instance StyleSheetClass CSSStyleSheet
instance GObjectClass CSSStyleSheet where
  toGObject = GObject . castForeignPtr . unCSSStyleSheet
  unsafeCastGObject = CSSStyleSheet . castForeignPtr . unGObject

castToCSSStyleSheet :: GObjectClass obj => obj -> CSSStyleSheet
castToCSSStyleSheet = castTo gTypeCSSStyleSheet "CSSStyleSheet"

gTypeCSSStyleSheet :: GType
gTypeCSSStyleSheet =
  webkit_dom_css_style_sheet_get_type
{-# LINE 4526 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ************************************************************* StyleSheetList

newtype StyleSheetList = StyleSheetList (ForeignPtr (StyleSheetList)) deriving (Eq,Ord)

mkStyleSheetList = (StyleSheetList, objectUnrefFromMainloop)
unStyleSheetList (StyleSheetList o) = o

class GObjectClass o => StyleSheetListClass o
toStyleSheetList :: StyleSheetListClass o => o -> StyleSheetList
toStyleSheetList = unsafeCastGObject . toGObject

instance StyleSheetListClass StyleSheetList
instance GObjectClass StyleSheetList where
  toGObject = GObject . castForeignPtr . unStyleSheetList
  unsafeCastGObject = StyleSheetList . castForeignPtr . unGObject

castToStyleSheetList :: GObjectClass obj => obj -> StyleSheetList
castToStyleSheetList = castTo gTypeStyleSheetList "StyleSheetList"

gTypeStyleSheetList :: GType
gTypeStyleSheetList =
  webkit_dom_style_sheet_list_get_type
{-# LINE 4549 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- *********************************************************** TextTrackCueList

newtype TextTrackCueList = TextTrackCueList (ForeignPtr (TextTrackCueList)) deriving (Eq,Ord)

mkTextTrackCueList = (TextTrackCueList, objectUnrefFromMainloop)
unTextTrackCueList (TextTrackCueList o) = o

class GObjectClass o => TextTrackCueListClass o
toTextTrackCueList :: TextTrackCueListClass o => o -> TextTrackCueList
toTextTrackCueList = unsafeCastGObject . toGObject

instance TextTrackCueListClass TextTrackCueList
instance GObjectClass TextTrackCueList where
  toGObject = GObject . castForeignPtr . unTextTrackCueList
  unsafeCastGObject = TextTrackCueList . castForeignPtr . unGObject

castToTextTrackCueList :: GObjectClass obj => obj -> TextTrackCueList
castToTextTrackCueList = castTo gTypeTextTrackCueList "TextTrackCueList"

gTypeTextTrackCueList :: GType
gTypeTextTrackCueList =
  webkit_dom_text_track_cue_list_get_type
{-# LINE 4572 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ***************************************************************** TimeRanges

newtype TimeRanges = TimeRanges (ForeignPtr (TimeRanges)) deriving (Eq,Ord)

mkTimeRanges = (TimeRanges, objectUnrefFromMainloop)
unTimeRanges (TimeRanges o) = o

class GObjectClass o => TimeRangesClass o
toTimeRanges :: TimeRangesClass o => o -> TimeRanges
toTimeRanges = unsafeCastGObject . toGObject

instance TimeRangesClass TimeRanges
instance GObjectClass TimeRanges where
  toGObject = GObject . castForeignPtr . unTimeRanges
  unsafeCastGObject = TimeRanges . castForeignPtr . unGObject

castToTimeRanges :: GObjectClass obj => obj -> TimeRanges
castToTimeRanges = castTo gTypeTimeRanges "TimeRanges"

gTypeTimeRanges :: GType
gTypeTimeRanges =
  webkit_dom_time_ranges_get_type
{-# LINE 4595 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ********************************************************************** Touch

newtype Touch = Touch (ForeignPtr (Touch)) deriving (Eq,Ord)

mkTouch = (Touch, objectUnrefFromMainloop)
unTouch (Touch o) = o

class GObjectClass o => TouchClass o
toTouch :: TouchClass o => o -> Touch
toTouch = unsafeCastGObject . toGObject

instance TouchClass Touch
instance GObjectClass Touch where
  toGObject = GObject . castForeignPtr . unTouch
  unsafeCastGObject = Touch . castForeignPtr . unGObject

castToTouch :: GObjectClass obj => obj -> Touch
castToTouch = castTo gTypeTouch "Touch"

gTypeTouch :: GType
gTypeTouch =
  webkit_dom_touch_get_type
{-# LINE 4618 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ***************************************************************** TreeWalker

newtype TreeWalker = TreeWalker (ForeignPtr (TreeWalker)) deriving (Eq,Ord)

mkTreeWalker = (TreeWalker, objectUnrefFromMainloop)
unTreeWalker (TreeWalker o) = o

class GObjectClass o => TreeWalkerClass o
toTreeWalker :: TreeWalkerClass o => o -> TreeWalker
toTreeWalker = unsafeCastGObject . toGObject

instance TreeWalkerClass TreeWalker
instance GObjectClass TreeWalker where
  toGObject = GObject . castForeignPtr . unTreeWalker
  unsafeCastGObject = TreeWalker . castForeignPtr . unGObject

castToTreeWalker :: GObjectClass obj => obj -> TreeWalker
castToTreeWalker = castTo gTypeTreeWalker "TreeWalker"

gTypeTreeWalker :: GType
gTypeTreeWalker =
  webkit_dom_tree_walker_get_type
{-# LINE 4641 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ************************************************************** ValidityState

newtype ValidityState = ValidityState (ForeignPtr (ValidityState)) deriving (Eq,Ord)

mkValidityState = (ValidityState, objectUnrefFromMainloop)
unValidityState (ValidityState o) = o

class GObjectClass o => ValidityStateClass o
toValidityState :: ValidityStateClass o => o -> ValidityState
toValidityState = unsafeCastGObject . toGObject

instance ValidityStateClass ValidityState
instance GObjectClass ValidityState where
  toGObject = GObject . castForeignPtr . unValidityState
  unsafeCastGObject = ValidityState . castForeignPtr . unGObject

castToValidityState :: GObjectClass obj => obj -> ValidityState
castToValidityState = castTo gTypeValidityState "ValidityState"

gTypeValidityState :: GType
gTypeValidityState =
  webkit_dom_validity_state_get_type
{-# LINE 4664 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ***************************************************************** VideoTrack

newtype VideoTrack = VideoTrack (ForeignPtr (VideoTrack)) deriving (Eq,Ord)

mkVideoTrack = (VideoTrack, objectUnrefFromMainloop)
unVideoTrack (VideoTrack o) = o

class GObjectClass o => VideoTrackClass o
toVideoTrack :: VideoTrackClass o => o -> VideoTrack
toVideoTrack = unsafeCastGObject . toGObject

instance VideoTrackClass VideoTrack
instance GObjectClass VideoTrack where
  toGObject = GObject . castForeignPtr . unVideoTrack
  unsafeCastGObject = VideoTrack . castForeignPtr . unGObject

castToVideoTrack :: GObjectClass obj => obj -> VideoTrack
castToVideoTrack = castTo gTypeVideoTrack "VideoTrack"

gTypeVideoTrack :: GType
gTypeVideoTrack =
  webkit_dom_video_track_get_type
{-# LINE 4687 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- **************************************************************** WebKitPoint

newtype WebKitPoint = WebKitPoint (ForeignPtr (WebKitPoint)) deriving (Eq,Ord)

mkWebKitPoint = (WebKitPoint, objectUnrefFromMainloop)
unWebKitPoint (WebKitPoint o) = o

class GObjectClass o => WebKitPointClass o
toWebKitPoint :: WebKitPointClass o => o -> WebKitPoint
toWebKitPoint = unsafeCastGObject . toGObject

instance WebKitPointClass WebKitPoint
instance GObjectClass WebKitPoint where
  toGObject = GObject . castForeignPtr . unWebKitPoint
  unsafeCastGObject = WebKitPoint . castForeignPtr . unGObject

castToWebKitPoint :: GObjectClass obj => obj -> WebKitPoint
castToWebKitPoint = castTo gTypeWebKitPoint "WebKitPoint"

gTypeWebKitPoint :: GType
gTypeWebKitPoint =
  webkit_dom_webkit_point_get_type
{-# LINE 4710 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ************************************************************ XPathExpression

newtype XPathExpression = XPathExpression (ForeignPtr (XPathExpression)) deriving (Eq,Ord)

mkXPathExpression = (XPathExpression, objectUnrefFromMainloop)
unXPathExpression (XPathExpression o) = o

class GObjectClass o => XPathExpressionClass o
toXPathExpression :: XPathExpressionClass o => o -> XPathExpression
toXPathExpression = unsafeCastGObject . toGObject

instance XPathExpressionClass XPathExpression
instance GObjectClass XPathExpression where
  toGObject = GObject . castForeignPtr . unXPathExpression
  unsafeCastGObject = XPathExpression . castForeignPtr . unGObject

castToXPathExpression :: GObjectClass obj => obj -> XPathExpression
castToXPathExpression = castTo gTypeXPathExpression "XPathExpression"

gTypeXPathExpression :: GType
gTypeXPathExpression =
  webkit_dom_xpath_expression_get_type
{-# LINE 4733 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- ************************************************************ XPathNSResolver

newtype XPathNSResolver = XPathNSResolver (ForeignPtr (XPathNSResolver)) deriving (Eq,Ord)

mkXPathNSResolver = (XPathNSResolver, objectUnrefFromMainloop)
unXPathNSResolver (XPathNSResolver o) = o

class GObjectClass o => XPathNSResolverClass o
toXPathNSResolver :: XPathNSResolverClass o => o -> XPathNSResolver
toXPathNSResolver = unsafeCastGObject . toGObject

instance XPathNSResolverClass XPathNSResolver
instance GObjectClass XPathNSResolver where
  toGObject = GObject . castForeignPtr . unXPathNSResolver
  unsafeCastGObject = XPathNSResolver . castForeignPtr . unGObject

castToXPathNSResolver :: GObjectClass obj => obj -> XPathNSResolver
castToXPathNSResolver = castTo gTypeXPathNSResolver "XPathNSResolver"

gTypeXPathNSResolver :: GType
gTypeXPathNSResolver =
  webkit_dom_xpath_ns_resolver_get_type
{-# LINE 4756 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

-- **************************************************************** XPathResult

newtype XPathResult = XPathResult (ForeignPtr (XPathResult)) deriving (Eq,Ord)

mkXPathResult = (XPathResult, objectUnrefFromMainloop)
unXPathResult (XPathResult o) = o

class GObjectClass o => XPathResultClass o
toXPathResult :: XPathResultClass o => o -> XPathResult
toXPathResult = unsafeCastGObject . toGObject

instance XPathResultClass XPathResult
instance GObjectClass XPathResult where
  toGObject = GObject . castForeignPtr . unXPathResult
  unsafeCastGObject = XPathResult . castForeignPtr . unGObject

castToXPathResult :: GObjectClass obj => obj -> XPathResult
castToXPathResult = castTo gTypeXPathResult "XPathResult"

gTypeXPathResult :: GType
gTypeXPathResult =
  webkit_dom_xpath_result_get_type
{-# LINE 4779 "./Graphics/UI/Gtk/WebKit/Types.chs" #-}

foreign import ccall unsafe "webkit_web_view_get_type"
  webkit_web_view_get_type :: CULong

foreign import ccall unsafe "webkit_web_frame_get_type"
  webkit_web_frame_get_type :: CULong

foreign import ccall unsafe "webkit_web_settings_get_type"
  webkit_web_settings_get_type :: CULong

foreign import ccall unsafe "webkit_network_request_get_type"
  webkit_network_request_get_type :: CULong

foreign import ccall unsafe "webkit_network_response_get_type"
  webkit_network_response_get_type :: CULong

foreign import ccall unsafe "webkit_download_get_type"
  webkit_download_get_type :: CULong

foreign import ccall unsafe "webkit_web_back_forward_list_get_type"
  webkit_web_back_forward_list_get_type :: CULong

foreign import ccall unsafe "webkit_web_history_item_get_type"
  webkit_web_history_item_get_type :: CULong

foreign import ccall unsafe "webkit_web_inspector_get_type"
  webkit_web_inspector_get_type :: CULong

foreign import ccall unsafe "webkit_hit_test_result_get_type"
  webkit_hit_test_result_get_type :: CULong

foreign import ccall unsafe "webkit_security_origin_get_type"
  webkit_security_origin_get_type :: CULong

foreign import ccall unsafe "webkit_soup_auth_dialog_get_type"
  webkit_soup_auth_dialog_get_type :: CULong

foreign import ccall unsafe "webkit_web_database_get_type"
  webkit_web_database_get_type :: CULong

foreign import ccall unsafe "webkit_web_data_source_get_type"
  webkit_web_data_source_get_type :: CULong

foreign import ccall unsafe "webkit_web_navigation_action_get_type"
  webkit_web_navigation_action_get_type :: CULong

foreign import ccall unsafe "webkit_web_policy_decision_get_type"
  webkit_web_policy_decision_get_type :: CULong

foreign import ccall unsafe "webkit_web_resource_get_type"
  webkit_web_resource_get_type :: CULong

foreign import ccall unsafe "webkit_web_window_features_get_type"
  webkit_web_window_features_get_type :: CULong

foreign import ccall unsafe "webkit_geolocation_policy_decision_get_type"
  webkit_geolocation_policy_decision_get_type :: CULong

foreign import ccall unsafe "webkit_dom_audio_track_get_type"
  webkit_dom_audio_track_get_type :: CULong

foreign import ccall unsafe "webkit_dom_bar_prop_get_type"
  webkit_dom_bar_prop_get_type :: CULong

foreign import ccall unsafe "webkit_dom_blob_get_type"
  webkit_dom_blob_get_type :: CULong

foreign import ccall unsafe "webkit_dom_file_get_type"
  webkit_dom_file_get_type :: CULong

foreign import ccall unsafe "webkit_dom_dom_window_css_get_type"
  webkit_dom_dom_window_css_get_type :: CULong

foreign import ccall unsafe "webkit_dom_css_rule_get_type"
  webkit_dom_css_rule_get_type :: CULong

foreign import ccall unsafe "webkit_dom_css_rule_list_get_type"
  webkit_dom_css_rule_list_get_type :: CULong

foreign import ccall unsafe "webkit_dom_css_style_declaration_get_type"
  webkit_dom_css_style_declaration_get_type :: CULong

foreign import ccall unsafe "webkit_dom_css_value_get_type"
  webkit_dom_css_value_get_type :: CULong

foreign import ccall unsafe "webkit_dom_dom_implementation_get_type"
  webkit_dom_dom_implementation_get_type :: CULong

foreign import ccall unsafe "webkit_dom_dom_named_flow_collection_get_type"
  webkit_dom_dom_named_flow_collection_get_type :: CULong

foreign import ccall unsafe "webkit_dom_dom_string_list_get_type"
  webkit_dom_dom_string_list_get_type :: CULong

foreign import ccall unsafe "webkit_dom_dom_token_list_get_type"
  webkit_dom_dom_token_list_get_type :: CULong

foreign import ccall unsafe "webkit_dom_dom_settable_token_list_get_type"
  webkit_dom_dom_settable_token_list_get_type :: CULong

foreign import ccall unsafe "webkit_dom_event_get_type"
  webkit_dom_event_get_type :: CULong

foreign import ccall unsafe "webkit_dom_ui_event_get_type"
  webkit_dom_ui_event_get_type :: CULong

foreign import ccall unsafe "webkit_dom_keyboard_event_get_type"
  webkit_dom_keyboard_event_get_type :: CULong

foreign import ccall unsafe "webkit_dom_mouse_event_get_type"
  webkit_dom_mouse_event_get_type :: CULong

foreign import ccall unsafe "webkit_dom_wheel_event_get_type"
  webkit_dom_wheel_event_get_type :: CULong

foreign import ccall unsafe "webkit_dom_event_target_get_type"
  webkit_dom_event_target_get_type :: CULong

foreign import ccall unsafe "webkit_dom_dom_application_cache_get_type"
  webkit_dom_dom_application_cache_get_type :: CULong

foreign import ccall unsafe "webkit_dom_audio_track_list_get_type"
  webkit_dom_audio_track_list_get_type :: CULong

foreign import ccall unsafe "webkit_dom_battery_manager_get_type"
  webkit_dom_battery_manager_get_type :: CULong

foreign import ccall unsafe "webkit_dom_message_port_get_type"
  webkit_dom_message_port_get_type :: CULong

foreign import ccall unsafe "webkit_dom_node_get_type"
  webkit_dom_node_get_type :: CULong

foreign import ccall unsafe "webkit_dom_attr_get_type"
  webkit_dom_attr_get_type :: CULong

foreign import ccall unsafe "webkit_dom_character_data_get_type"
  webkit_dom_character_data_get_type :: CULong

foreign import ccall unsafe "webkit_dom_comment_get_type"
  webkit_dom_comment_get_type :: CULong

foreign import ccall unsafe "webkit_dom_processing_instruction_get_type"
  webkit_dom_processing_instruction_get_type :: CULong

foreign import ccall unsafe "webkit_dom_text_get_type"
  webkit_dom_text_get_type :: CULong

foreign import ccall unsafe "webkit_dom_cdata_section_get_type"
  webkit_dom_cdata_section_get_type :: CULong

foreign import ccall unsafe "webkit_dom_document_get_type"
  webkit_dom_document_get_type :: CULong

foreign import ccall unsafe "webkit_dom_html_document_get_type"
  webkit_dom_html_document_get_type :: CULong

foreign import ccall unsafe "webkit_dom_document_fragment_get_type"
  webkit_dom_document_fragment_get_type :: CULong

foreign import ccall unsafe "webkit_dom_document_type_get_type"
  webkit_dom_document_type_get_type :: CULong

foreign import ccall unsafe "webkit_dom_element_get_type"
  webkit_dom_element_get_type :: CULong

foreign import ccall unsafe "webkit_dom_html_element_get_type"
  webkit_dom_html_element_get_type :: CULong

foreign import ccall unsafe "webkit_dom_html_anchor_element_get_type"
  webkit_dom_html_anchor_element_get_type :: CULong

foreign import ccall unsafe "webkit_dom_html_applet_element_get_type"
  webkit_dom_html_applet_element_get_type :: CULong

foreign import ccall unsafe "webkit_dom_html_area_element_get_type"
  webkit_dom_html_area_element_get_type :: CULong

foreign import ccall unsafe "webkit_dom_htmlbr_element_get_type"
  webkit_dom_htmlbr_element_get_type :: CULong

foreign import ccall unsafe "webkit_dom_html_base_element_get_type"
  webkit_dom_html_base_element_get_type :: CULong

foreign import ccall unsafe "webkit_dom_html_base_font_element_get_type"
  webkit_dom_html_base_font_element_get_type :: CULong

foreign import ccall unsafe "webkit_dom_html_body_element_get_type"
  webkit_dom_html_body_element_get_type :: CULong

foreign import ccall unsafe "webkit_dom_html_button_element_get_type"
  webkit_dom_html_button_element_get_type :: CULong

foreign import ccall unsafe "webkit_dom_html_canvas_element_get_type"
  webkit_dom_html_canvas_element_get_type :: CULong

foreign import ccall unsafe "webkit_dom_htmld_list_element_get_type"
  webkit_dom_htmld_list_element_get_type :: CULong

foreign import ccall unsafe "webkit_dom_html_details_element_get_type"
  webkit_dom_html_details_element_get_type :: CULong

foreign import ccall unsafe "webkit_dom_html_directory_element_get_type"
  webkit_dom_html_directory_element_get_type :: CULong

foreign import ccall unsafe "webkit_dom_html_div_element_get_type"
  webkit_dom_html_div_element_get_type :: CULong

foreign import ccall unsafe "webkit_dom_html_embed_element_get_type"
  webkit_dom_html_embed_element_get_type :: CULong

foreign import ccall unsafe "webkit_dom_html_field_set_element_get_type"
  webkit_dom_html_field_set_element_get_type :: CULong

foreign import ccall unsafe "webkit_dom_html_font_element_get_type"
  webkit_dom_html_font_element_get_type :: CULong

foreign import ccall unsafe "webkit_dom_html_form_element_get_type"
  webkit_dom_html_form_element_get_type :: CULong

foreign import ccall unsafe "webkit_dom_html_frame_element_get_type"
  webkit_dom_html_frame_element_get_type :: CULong

foreign import ccall unsafe "webkit_dom_html_frame_set_element_get_type"
  webkit_dom_html_frame_set_element_get_type :: CULong

foreign import ccall unsafe "webkit_dom_htmlhr_element_get_type"
  webkit_dom_htmlhr_element_get_type :: CULong

foreign import ccall unsafe "webkit_dom_html_head_element_get_type"
  webkit_dom_html_head_element_get_type :: CULong

foreign import ccall unsafe "webkit_dom_html_heading_element_get_type"
  webkit_dom_html_heading_element_get_type :: CULong

foreign import ccall unsafe "webkit_dom_html_html_element_get_type"
  webkit_dom_html_html_element_get_type :: CULong

foreign import ccall unsafe "webkit_dom_html_iframe_element_get_type"
  webkit_dom_html_iframe_element_get_type :: CULong

foreign import ccall unsafe "webkit_dom_html_image_element_get_type"
  webkit_dom_html_image_element_get_type :: CULong

foreign import ccall unsafe "webkit_dom_html_input_element_get_type"
  webkit_dom_html_input_element_get_type :: CULong

foreign import ccall unsafe "webkit_dom_html_keygen_element_get_type"
  webkit_dom_html_keygen_element_get_type :: CULong

foreign import ccall unsafe "webkit_dom_htmlli_element_get_type"
  webkit_dom_htmlli_element_get_type :: CULong

foreign import ccall unsafe "webkit_dom_html_label_element_get_type"
  webkit_dom_html_label_element_get_type :: CULong

foreign import ccall unsafe "webkit_dom_html_legend_element_get_type"
  webkit_dom_html_legend_element_get_type :: CULong

foreign import ccall unsafe "webkit_dom_html_link_element_get_type"
  webkit_dom_html_link_element_get_type :: CULong

foreign import ccall unsafe "webkit_dom_html_map_element_get_type"
  webkit_dom_html_map_element_get_type :: CULong

foreign import ccall unsafe "webkit_dom_html_marquee_element_get_type"
  webkit_dom_html_marquee_element_get_type :: CULong

foreign import ccall unsafe "webkit_dom_html_menu_element_get_type"
  webkit_dom_html_menu_element_get_type :: CULong

foreign import ccall unsafe "webkit_dom_html_meta_element_get_type"
  webkit_dom_html_meta_element_get_type :: CULong

foreign import ccall unsafe "webkit_dom_html_mod_element_get_type"
  webkit_dom_html_mod_element_get_type :: CULong

foreign import ccall unsafe "webkit_dom_htmlo_list_element_get_type"
  webkit_dom_htmlo_list_element_get_type :: CULong

foreign import ccall unsafe "webkit_dom_html_object_element_get_type"
  webkit_dom_html_object_element_get_type :: CULong

foreign import ccall unsafe "webkit_dom_html_opt_group_element_get_type"
  webkit_dom_html_opt_group_element_get_type :: CULong

foreign import ccall unsafe "webkit_dom_html_option_element_get_type"
  webkit_dom_html_option_element_get_type :: CULong

foreign import ccall unsafe "webkit_dom_html_paragraph_element_get_type"
  webkit_dom_html_paragraph_element_get_type :: CULong

foreign import ccall unsafe "webkit_dom_html_param_element_get_type"
  webkit_dom_html_param_element_get_type :: CULong

foreign import ccall unsafe "webkit_dom_html_pre_element_get_type"
  webkit_dom_html_pre_element_get_type :: CULong

foreign import ccall unsafe "webkit_dom_html_quote_element_get_type"
  webkit_dom_html_quote_element_get_type :: CULong

foreign import ccall unsafe "webkit_dom_html_script_element_get_type"
  webkit_dom_html_script_element_get_type :: CULong

foreign import ccall unsafe "webkit_dom_html_select_element_get_type"
  webkit_dom_html_select_element_get_type :: CULong

foreign import ccall unsafe "webkit_dom_html_style_element_get_type"
  webkit_dom_html_style_element_get_type :: CULong

foreign import ccall unsafe "webkit_dom_html_table_caption_element_get_type"
  webkit_dom_html_table_caption_element_get_type :: CULong

foreign import ccall unsafe "webkit_dom_html_table_cell_element_get_type"
  webkit_dom_html_table_cell_element_get_type :: CULong

foreign import ccall unsafe "webkit_dom_html_table_col_element_get_type"
  webkit_dom_html_table_col_element_get_type :: CULong

foreign import ccall unsafe "webkit_dom_html_table_element_get_type"
  webkit_dom_html_table_element_get_type :: CULong

foreign import ccall unsafe "webkit_dom_html_table_row_element_get_type"
  webkit_dom_html_table_row_element_get_type :: CULong

foreign import ccall unsafe "webkit_dom_html_table_section_element_get_type"
  webkit_dom_html_table_section_element_get_type :: CULong

foreign import ccall unsafe "webkit_dom_html_text_area_element_get_type"
  webkit_dom_html_text_area_element_get_type :: CULong

foreign import ccall unsafe "webkit_dom_html_title_element_get_type"
  webkit_dom_html_title_element_get_type :: CULong

foreign import ccall unsafe "webkit_dom_htmlu_list_element_get_type"
  webkit_dom_htmlu_list_element_get_type :: CULong

foreign import ccall unsafe "webkit_dom_entity_reference_get_type"
  webkit_dom_entity_reference_get_type :: CULong

foreign import ccall unsafe "webkit_dom_performance_get_type"
  webkit_dom_performance_get_type :: CULong

foreign import ccall unsafe "webkit_dom_text_track_get_type"
  webkit_dom_text_track_get_type :: CULong

foreign import ccall unsafe "webkit_dom_text_track_cue_get_type"
  webkit_dom_text_track_cue_get_type :: CULong

foreign import ccall unsafe "webkit_dom_text_track_list_get_type"
  webkit_dom_text_track_list_get_type :: CULong

foreign import ccall unsafe "webkit_dom_video_track_list_get_type"
  webkit_dom_video_track_list_get_type :: CULong

foreign import ccall unsafe "webkit_dom_webkit_named_flow_get_type"
  webkit_dom_webkit_named_flow_get_type :: CULong

foreign import ccall unsafe "webkit_dom_dom_window_get_type"
  webkit_dom_dom_window_get_type :: CULong

foreign import ccall unsafe "webkit_dom_file_list_get_type"
  webkit_dom_file_list_get_type :: CULong

foreign import ccall unsafe "webkit_dom_geolocation_get_type"
  webkit_dom_geolocation_get_type :: CULong

foreign import ccall unsafe "webkit_dom_html_collection_get_type"
  webkit_dom_html_collection_get_type :: CULong

foreign import ccall unsafe "webkit_dom_html_options_collection_get_type"
  webkit_dom_html_options_collection_get_type :: CULong

foreign import ccall unsafe "webkit_dom_html_media_element_get_type"
  webkit_dom_html_media_element_get_type :: CULong

foreign import ccall unsafe "webkit_dom_html_audio_element_get_type"
  webkit_dom_html_audio_element_get_type :: CULong

foreign import ccall unsafe "webkit_dom_html_video_element_get_type"
  webkit_dom_html_video_element_get_type :: CULong

foreign import ccall unsafe "webkit_dom_history_get_type"
  webkit_dom_history_get_type :: CULong

foreign import ccall unsafe "webkit_dom_location_get_type"
  webkit_dom_location_get_type :: CULong

foreign import ccall unsafe "webkit_dom_media_error_get_type"
  webkit_dom_media_error_get_type :: CULong

foreign import ccall unsafe "webkit_dom_media_list_get_type"
  webkit_dom_media_list_get_type :: CULong

foreign import ccall unsafe "webkit_dom_media_query_list_get_type"
  webkit_dom_media_query_list_get_type :: CULong

foreign import ccall unsafe "webkit_dom_dom_mime_type_get_type"
  webkit_dom_dom_mime_type_get_type :: CULong

foreign import ccall unsafe "webkit_dom_dom_mime_type_array_get_type"
  webkit_dom_dom_mime_type_array_get_type :: CULong

foreign import ccall unsafe "webkit_dom_named_node_map_get_type"
  webkit_dom_named_node_map_get_type :: CULong

foreign import ccall unsafe "webkit_dom_navigator_get_type"
  webkit_dom_navigator_get_type :: CULong

foreign import ccall unsafe "webkit_dom_node_filter_get_type"
  webkit_dom_node_filter_get_type :: CULong

foreign import ccall unsafe "webkit_dom_node_iterator_get_type"
  webkit_dom_node_iterator_get_type :: CULong

foreign import ccall unsafe "webkit_dom_node_list_get_type"
  webkit_dom_node_list_get_type :: CULong

foreign import ccall unsafe "webkit_dom_performance_navigation_get_type"
  webkit_dom_performance_navigation_get_type :: CULong

foreign import ccall unsafe "webkit_dom_performance_timing_get_type"
  webkit_dom_performance_timing_get_type :: CULong

foreign import ccall unsafe "webkit_dom_dom_plugin_get_type"
  webkit_dom_dom_plugin_get_type :: CULong

foreign import ccall unsafe "webkit_dom_dom_plugin_array_get_type"
  webkit_dom_dom_plugin_array_get_type :: CULong

foreign import ccall unsafe "webkit_dom_range_get_type"
  webkit_dom_range_get_type :: CULong

foreign import ccall unsafe "webkit_dom_screen_get_type"
  webkit_dom_screen_get_type :: CULong

foreign import ccall unsafe "webkit_dom_dom_security_policy_get_type"
  webkit_dom_dom_security_policy_get_type :: CULong

foreign import ccall unsafe "webkit_dom_dom_selection_get_type"
  webkit_dom_dom_selection_get_type :: CULong

foreign import ccall unsafe "webkit_dom_storage_get_type"
  webkit_dom_storage_get_type :: CULong

foreign import ccall unsafe "webkit_dom_storage_info_get_type"
  webkit_dom_storage_info_get_type :: CULong

foreign import ccall unsafe "webkit_dom_storage_quota_get_type"
  webkit_dom_storage_quota_get_type :: CULong

foreign import ccall unsafe "webkit_dom_style_media_get_type"
  webkit_dom_style_media_get_type :: CULong

foreign import ccall unsafe "webkit_dom_style_sheet_get_type"
  webkit_dom_style_sheet_get_type :: CULong

foreign import ccall unsafe "webkit_dom_css_style_sheet_get_type"
  webkit_dom_css_style_sheet_get_type :: CULong

foreign import ccall unsafe "webkit_dom_style_sheet_list_get_type"
  webkit_dom_style_sheet_list_get_type :: CULong

foreign import ccall unsafe "webkit_dom_text_track_cue_list_get_type"
  webkit_dom_text_track_cue_list_get_type :: CULong

foreign import ccall unsafe "webkit_dom_time_ranges_get_type"
  webkit_dom_time_ranges_get_type :: CULong

foreign import ccall unsafe "webkit_dom_touch_get_type"
  webkit_dom_touch_get_type :: CULong

foreign import ccall unsafe "webkit_dom_tree_walker_get_type"
  webkit_dom_tree_walker_get_type :: CULong

foreign import ccall unsafe "webkit_dom_validity_state_get_type"
  webkit_dom_validity_state_get_type :: CULong

foreign import ccall unsafe "webkit_dom_video_track_get_type"
  webkit_dom_video_track_get_type :: CULong

foreign import ccall unsafe "webkit_dom_webkit_point_get_type"
  webkit_dom_webkit_point_get_type :: CULong

foreign import ccall unsafe "webkit_dom_xpath_expression_get_type"
  webkit_dom_xpath_expression_get_type :: CULong

foreign import ccall unsafe "webkit_dom_xpath_ns_resolver_get_type"
  webkit_dom_xpath_ns_resolver_get_type :: CULong

foreign import ccall unsafe "webkit_dom_xpath_result_get_type"
  webkit_dom_xpath_result_get_type :: CULong