mirror of
https://github.com/servo/servo.git
synced 2025-10-01 00:59:15 +01:00
Let the clipboard crate handle the lack of clipboard support
This commit is contained in:
parent
795e7f6002
commit
ec6cc56299
5 changed files with 6 additions and 29 deletions
|
@ -437,11 +437,6 @@ impl WindowMethods for ServoCallbacks {
|
|||
self.host_callbacks.flush();
|
||||
}
|
||||
|
||||
fn supports_clipboard(&self) -> bool {
|
||||
debug!("WindowMethods::supports_clipboard");
|
||||
false
|
||||
}
|
||||
|
||||
fn create_event_loop_waker(&self) -> Box<EventLoopWaker> {
|
||||
debug!("WindowMethods::create_event_loop_waker");
|
||||
self.waker.clone()
|
||||
|
|
|
@ -785,10 +785,6 @@ impl WindowMethods for Window {
|
|||
fn prepare_for_composite(&self, _width: Length<u32, DevicePixel>, _height: Length<u32, DevicePixel>) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn supports_clipboard(&self) -> bool {
|
||||
true
|
||||
}
|
||||
}
|
||||
|
||||
fn winit_phase_to_touch_event_type(phase: TouchPhase) -> TouchEventType {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue