module Graphics.UI.Gtk.WebKit.DOM.PerformanceTiming(
getNavigationStart,
getUnloadEventStart,
getUnloadEventEnd,
getRedirectStart,
getRedirectEnd,
getFetchStart,
getDomainLookupStart,
getDomainLookupEnd,
getConnectStart,
getConnectEnd,
getSecureConnectionStart,
getRequestStart,
getResponseStart,
getResponseEnd,
getDomLoading,
getDomInteractive,
getDomContentLoadedEventStart,
getDomContentLoadedEventEnd,
getDomComplete,
getLoadEventStart,
getLoadEventEnd,
PerformanceTiming,
castToPerformanceTiming,
gTypePerformanceTiming,
PerformanceTimingClass,
toPerformanceTiming,
) where
import Prelude hiding (drop, error, print)
import Data.Typeable (Typeable)
import Foreign.Marshal (maybePeek, maybeWith)
import System.Glib.FFI (maybeNull, withForeignPtr, nullForeignPtr, Ptr, nullPtr, castPtr, Word, Int64, Word64, CChar(..), CInt(..), CUInt(..), CLong(..), CULong(..), CLLong(..), CULLong(..), CShort(..), CUShort(..), CFloat(..), CDouble(..), toBool, fromBool)
import System.Glib.UTFString (GlibString(..), readUTFString)
import Control.Applicative ((<$>))
import Control.Monad (void)
import Control.Monad.IO.Class (MonadIO(..))
import System.Glib.GError
import Graphics.UI.Gtk.WebKit.DOM.EventTargetClosures
import Graphics.UI.Gtk.WebKit.DOM.EventM
import Graphics.UI.Gtk.WebKit.Types
import Graphics.UI.Gtk.WebKit.DOM.Enums
getNavigationStart ::
(MonadIO m, PerformanceTimingClass self) => self -> m Word64
getNavigationStart self
= liftIO
(fromIntegral <$>
((\(PerformanceTiming arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_performance_timing_get_navigation_start argPtr1)
(toPerformanceTiming self)))
getUnloadEventStart ::
(MonadIO m, PerformanceTimingClass self) => self -> m Word64
getUnloadEventStart self
= liftIO
(fromIntegral <$>
((\(PerformanceTiming arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_performance_timing_get_unload_event_start argPtr1)
(toPerformanceTiming self)))
getUnloadEventEnd ::
(MonadIO m, PerformanceTimingClass self) => self -> m Word64
getUnloadEventEnd self
= liftIO
(fromIntegral <$>
((\(PerformanceTiming arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_performance_timing_get_unload_event_end argPtr1)
(toPerformanceTiming self)))
getRedirectStart ::
(MonadIO m, PerformanceTimingClass self) => self -> m Word64
getRedirectStart self
= liftIO
(fromIntegral <$>
((\(PerformanceTiming arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_performance_timing_get_redirect_start argPtr1)
(toPerformanceTiming self)))
getRedirectEnd ::
(MonadIO m, PerformanceTimingClass self) => self -> m Word64
getRedirectEnd self
= liftIO
(fromIntegral <$>
((\(PerformanceTiming arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_performance_timing_get_redirect_end argPtr1)
(toPerformanceTiming self)))
getFetchStart ::
(MonadIO m, PerformanceTimingClass self) => self -> m Word64
getFetchStart self
= liftIO
(fromIntegral <$>
((\(PerformanceTiming arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_performance_timing_get_fetch_start argPtr1)
(toPerformanceTiming self)))
getDomainLookupStart ::
(MonadIO m, PerformanceTimingClass self) => self -> m Word64
getDomainLookupStart self
= liftIO
(fromIntegral <$>
((\(PerformanceTiming arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_performance_timing_get_domain_lookup_start argPtr1)
(toPerformanceTiming self)))
getDomainLookupEnd ::
(MonadIO m, PerformanceTimingClass self) => self -> m Word64
getDomainLookupEnd self
= liftIO
(fromIntegral <$>
((\(PerformanceTiming arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_performance_timing_get_domain_lookup_end argPtr1)
(toPerformanceTiming self)))
getConnectStart ::
(MonadIO m, PerformanceTimingClass self) => self -> m Word64
getConnectStart self
= liftIO
(fromIntegral <$>
((\(PerformanceTiming arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_performance_timing_get_connect_start argPtr1)
(toPerformanceTiming self)))
getConnectEnd ::
(MonadIO m, PerformanceTimingClass self) => self -> m Word64
getConnectEnd self
= liftIO
(fromIntegral <$>
((\(PerformanceTiming arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_performance_timing_get_connect_end argPtr1)
(toPerformanceTiming self)))
getSecureConnectionStart ::
(MonadIO m, PerformanceTimingClass self) => self -> m Word64
getSecureConnectionStart self
= liftIO
(fromIntegral <$>
((\(PerformanceTiming arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_performance_timing_get_secure_connection_start argPtr1)
(toPerformanceTiming self)))
getRequestStart ::
(MonadIO m, PerformanceTimingClass self) => self -> m Word64
getRequestStart self
= liftIO
(fromIntegral <$>
((\(PerformanceTiming arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_performance_timing_get_request_start argPtr1)
(toPerformanceTiming self)))
getResponseStart ::
(MonadIO m, PerformanceTimingClass self) => self -> m Word64
getResponseStart self
= liftIO
(fromIntegral <$>
((\(PerformanceTiming arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_performance_timing_get_response_start argPtr1)
(toPerformanceTiming self)))
getResponseEnd ::
(MonadIO m, PerformanceTimingClass self) => self -> m Word64
getResponseEnd self
= liftIO
(fromIntegral <$>
((\(PerformanceTiming arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_performance_timing_get_response_end argPtr1)
(toPerformanceTiming self)))
getDomLoading ::
(MonadIO m, PerformanceTimingClass self) => self -> m Word64
getDomLoading self
= liftIO
(fromIntegral <$>
((\(PerformanceTiming arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_performance_timing_get_dom_loading argPtr1)
(toPerformanceTiming self)))
getDomInteractive ::
(MonadIO m, PerformanceTimingClass self) => self -> m Word64
getDomInteractive self
= liftIO
(fromIntegral <$>
((\(PerformanceTiming arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_performance_timing_get_dom_interactive argPtr1)
(toPerformanceTiming self)))
getDomContentLoadedEventStart ::
(MonadIO m, PerformanceTimingClass self) => self -> m Word64
getDomContentLoadedEventStart self
= liftIO
(fromIntegral <$>
((\(PerformanceTiming arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_performance_timing_get_dom_content_loaded_event_start argPtr1)
(toPerformanceTiming self)))
getDomContentLoadedEventEnd ::
(MonadIO m, PerformanceTimingClass self) => self -> m Word64
getDomContentLoadedEventEnd self
= liftIO
(fromIntegral <$>
((\(PerformanceTiming arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_performance_timing_get_dom_content_loaded_event_end argPtr1)
(toPerformanceTiming self)))
getDomComplete ::
(MonadIO m, PerformanceTimingClass self) => self -> m Word64
getDomComplete self
= liftIO
(fromIntegral <$>
((\(PerformanceTiming arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_performance_timing_get_dom_complete argPtr1)
(toPerformanceTiming self)))
getLoadEventStart ::
(MonadIO m, PerformanceTimingClass self) => self -> m Word64
getLoadEventStart self
= liftIO
(fromIntegral <$>
((\(PerformanceTiming arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_performance_timing_get_load_event_start argPtr1)
(toPerformanceTiming self)))
getLoadEventEnd ::
(MonadIO m, PerformanceTimingClass self) => self -> m Word64
getLoadEventEnd self
= liftIO
(fromIntegral <$>
((\(PerformanceTiming arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_performance_timing_get_load_event_end argPtr1)
(toPerformanceTiming self)))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.h webkit_dom_performance_timing_get_navigation_start"
webkit_dom_performance_timing_get_navigation_start :: ((Ptr PerformanceTiming) -> (IO CULong))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.h webkit_dom_performance_timing_get_unload_event_start"
webkit_dom_performance_timing_get_unload_event_start :: ((Ptr PerformanceTiming) -> (IO CULong))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.h webkit_dom_performance_timing_get_unload_event_end"
webkit_dom_performance_timing_get_unload_event_end :: ((Ptr PerformanceTiming) -> (IO CULong))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.h webkit_dom_performance_timing_get_redirect_start"
webkit_dom_performance_timing_get_redirect_start :: ((Ptr PerformanceTiming) -> (IO CULong))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.h webkit_dom_performance_timing_get_redirect_end"
webkit_dom_performance_timing_get_redirect_end :: ((Ptr PerformanceTiming) -> (IO CULong))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.h webkit_dom_performance_timing_get_fetch_start"
webkit_dom_performance_timing_get_fetch_start :: ((Ptr PerformanceTiming) -> (IO CULong))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.h webkit_dom_performance_timing_get_domain_lookup_start"
webkit_dom_performance_timing_get_domain_lookup_start :: ((Ptr PerformanceTiming) -> (IO CULong))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.h webkit_dom_performance_timing_get_domain_lookup_end"
webkit_dom_performance_timing_get_domain_lookup_end :: ((Ptr PerformanceTiming) -> (IO CULong))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.h webkit_dom_performance_timing_get_connect_start"
webkit_dom_performance_timing_get_connect_start :: ((Ptr PerformanceTiming) -> (IO CULong))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.h webkit_dom_performance_timing_get_connect_end"
webkit_dom_performance_timing_get_connect_end :: ((Ptr PerformanceTiming) -> (IO CULong))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.h webkit_dom_performance_timing_get_secure_connection_start"
webkit_dom_performance_timing_get_secure_connection_start :: ((Ptr PerformanceTiming) -> (IO CULong))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.h webkit_dom_performance_timing_get_request_start"
webkit_dom_performance_timing_get_request_start :: ((Ptr PerformanceTiming) -> (IO CULong))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.h webkit_dom_performance_timing_get_response_start"
webkit_dom_performance_timing_get_response_start :: ((Ptr PerformanceTiming) -> (IO CULong))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.h webkit_dom_performance_timing_get_response_end"
webkit_dom_performance_timing_get_response_end :: ((Ptr PerformanceTiming) -> (IO CULong))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.h webkit_dom_performance_timing_get_dom_loading"
webkit_dom_performance_timing_get_dom_loading :: ((Ptr PerformanceTiming) -> (IO CULong))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.h webkit_dom_performance_timing_get_dom_interactive"
webkit_dom_performance_timing_get_dom_interactive :: ((Ptr PerformanceTiming) -> (IO CULong))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.h webkit_dom_performance_timing_get_dom_content_loaded_event_start"
webkit_dom_performance_timing_get_dom_content_loaded_event_start :: ((Ptr PerformanceTiming) -> (IO CULong))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.h webkit_dom_performance_timing_get_dom_content_loaded_event_end"
webkit_dom_performance_timing_get_dom_content_loaded_event_end :: ((Ptr PerformanceTiming) -> (IO CULong))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.h webkit_dom_performance_timing_get_dom_complete"
webkit_dom_performance_timing_get_dom_complete :: ((Ptr PerformanceTiming) -> (IO CULong))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.h webkit_dom_performance_timing_get_load_event_start"
webkit_dom_performance_timing_get_load_event_start :: ((Ptr PerformanceTiming) -> (IO CULong))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.h webkit_dom_performance_timing_get_load_event_end"
webkit_dom_performance_timing_get_load_event_end :: ((Ptr PerformanceTiming) -> (IO CULong))