{-# LANGUAGE CPP #-} #if (defined(ghcjs_HOST_OS) && defined(USE_JAVASCRIPTFFI)) || !defined(USE_WEBKIT) {-# LANGUAGE ForeignFunctionInterface, JavaScriptFFI #-} module GHCJS.DOM.DOMWindowCSS (ghcjs_dom_dom_window_css_supports2, domWindowCSSSupports2, ghcjs_dom_dom_window_css_supports, domWindowCSSSupports, DOMWindowCSS, IsDOMWindowCSS, castToDOMWindowCSS, gTypeDOMWindowCSS, toDOMWindowCSS) where import GHCJS.Types import GHCJS.Foreign import GHCJS.Marshal import Data.Int import Data.Word import GHCJS.DOM.Types import Control.Applicative ((<$>)) import GHCJS.DOM.EventM foreign import javascript unsafe "($1[\"supports\"]($2, $3) ? 1 : 0)" ghcjs_dom_dom_window_css_supports2 :: JSRef DOMWindowCSS -> JSString -> JSString -> IO Bool domWindowCSSSupports2 :: (IsDOMWindowCSS self, ToJSString property, ToJSString value) => self -> property -> value -> IO Bool domWindowCSSSupports2 self property value = ghcjs_dom_dom_window_css_supports2 (unDOMWindowCSS (toDOMWindowCSS self)) (toJSString property) (toJSString value) foreign import javascript unsafe "($1[\"supports\"]($2) ? 1 : 0)" ghcjs_dom_dom_window_css_supports :: JSRef DOMWindowCSS -> JSString -> IO Bool domWindowCSSSupports :: (IsDOMWindowCSS self, ToJSString conditionText) => self -> conditionText -> IO Bool domWindowCSSSupports self conditionText = ghcjs_dom_dom_window_css_supports (unDOMWindowCSS (toDOMWindowCSS self)) (toJSString conditionText) #else module GHCJS.DOM.DOMWindowCSS ( module Graphics.UI.Gtk.WebKit.DOM.DOMWindowCSS ) where import Graphics.UI.Gtk.WebKit.DOM.DOMWindowCSS #endif