mirror of
https://github.com/servo/servo.git
synced 2025-08-02 04:00:32 +01:00
Add support for selecting which frame is requesting a navigation.
This allows iframes to navigate their own history.
This commit is contained in:
parent
1092ca1019
commit
3fb3e66ada
3 changed files with 16 additions and 11 deletions
|
@ -946,7 +946,7 @@ impl<Window: WindowMethods> IOCompositor<Window> {
|
|||
windowing::WindowNavigateMsg::Back => NavigationDirection::Back,
|
||||
};
|
||||
let ConstellationChan(ref chan) = self.constellation_chan;
|
||||
chan.send(ConstellationMsg::Navigate(direction)).unwrap()
|
||||
chan.send(ConstellationMsg::Navigate(None, direction)).unwrap()
|
||||
}
|
||||
|
||||
fn on_key_event(&self, key: Key, state: KeyState, modifiers: KeyModifiers) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue