1#![doc = include_str!("../examples/browser.rs")]
13#![recursion_limit = "512"]
15#![allow(non_snake_case)]
16#![no_std]
17#![cfg_attr(docsrs, feature(doc_auto_cfg))]
18#![doc(html_root_url = "https://docs.rs/objc2-web-kit/0.3.0")]
20
21#[cfg(feature = "alloc")]
22extern crate alloc;
23
24#[cfg(feature = "std")]
25extern crate std;
26
27mod generated;
28#[allow(unused_imports, unreachable_pub)]
29pub use self::generated::*;
30
31#[cfg(feature = "WKNavigationAction")]
32impl WKNavigationAction {
33 objc2::extern_methods!(
34 #[cfg(feature = "WKFrameInfo")]
35 #[unsafe(method(sourceFrame))]
36 pub unsafe fn sourceFrame(&self) -> Option<objc2::rc::Retained<WKFrameInfo>>;
37 );
38}