Add webview.rs

This commit is contained in:
2026-03-19 00:31:50 +08:00
parent 20f74f7bc1
commit aa92ac5eed

19
src/ui/webview.rs Normal file
View File

@@ -0,0 +1,19 @@
//! WebView 管理
use anyhow::Result;
pub struct WebViewManager;
impl WebViewManager {
pub fn new() -> Self {
Self
}
pub fn load_html(&self, _html: &str) -> Result<()> {
Ok(())
}
pub fn send_event(&self, _event: &str) -> Result<()> {
Ok(())
}
}