mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-23 09:38:12 +08:00
Remove CefHandler
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user