mirror of
https://github.com/servo/servo.git
synced 2025-07-23 23:33:43 +01:00
Remove unused method Window::handle_resize_inactive_msg.
This commit is contained in:
parent
cdcecaef04
commit
f57ed72d95
1 changed files with 0 additions and 5 deletions
|
@ -540,7 +540,6 @@ pub trait WindowHelpers {
|
||||||
fn content_box_query(self, content_box_request: TrustedNodeAddress) -> Rect<Au>;
|
fn content_box_query(self, content_box_request: TrustedNodeAddress) -> Rect<Au>;
|
||||||
fn content_boxes_query(self, content_boxes_request: TrustedNodeAddress) -> Vec<Rect<Au>>;
|
fn content_boxes_query(self, content_boxes_request: TrustedNodeAddress) -> Vec<Rect<Au>>;
|
||||||
fn handle_reflow_complete_msg(self, reflow_id: u32);
|
fn handle_reflow_complete_msg(self, reflow_id: u32);
|
||||||
fn handle_resize_inactive_msg(self, new_size: WindowSizeData);
|
|
||||||
fn set_fragment_name(self, fragment: Option<String>);
|
fn set_fragment_name(self, fragment: Option<String>);
|
||||||
fn steal_fragment_name(self) -> Option<String>;
|
fn steal_fragment_name(self) -> Option<String>;
|
||||||
fn set_window_size(self, size: WindowSizeData);
|
fn set_window_size(self, size: WindowSizeData);
|
||||||
|
@ -776,10 +775,6 @@ impl<'a> WindowHelpers for &'a Window {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fn handle_resize_inactive_msg(self, new_size: WindowSizeData) {
|
|
||||||
self.window_size.set(Some(new_size));
|
|
||||||
}
|
|
||||||
|
|
||||||
fn init_browsing_context(self, doc: &Document, frame_element: Option<&Element>) {
|
fn init_browsing_context(self, doc: &Document, frame_element: Option<&Element>) {
|
||||||
let mut browsing_context = self.browsing_context.borrow_mut();
|
let mut browsing_context = self.browsing_context.borrow_mut();
|
||||||
*browsing_context = Some(BrowsingContext::new(doc, frame_element));
|
*browsing_context = Some(BrowsingContext::new(doc, frame_element));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue