Remove CefHandler

This commit is contained in:
Adam
2025-07-23 19:55:59 -07:00
parent 22391cae13
commit 368fa51260
6 changed files with 60 additions and 99 deletions
-5
View File
@@ -7,11 +7,6 @@ use std::sync::{Arc, Mutex, MutexGuard, PoisonError};
pub(crate) use context::{Context, InitError, Initialized, Setup, SetupError};
pub(crate) trait CefEventHandler: Clone {
fn window_size(&self) -> WindowSize;
fn on_paint(&self, buffer: *const u8, width: u32, height: u32);
}
#[derive(Clone, Debug, PartialEq)]
pub(crate) struct WindowSize {
pub(crate) width: u32,