Add support for selecting which frame is requesting a navigation.

This allows iframes to navigate their own history.
This commit is contained in:
Glenn Watson 2015-03-17 15:01:51 +10:00
parent 1092ca1019
commit 3fb3e66ada
3 changed files with 16 additions and 11 deletions

View file

@ -203,7 +203,7 @@ pub enum Msg {
FrameRect(PipelineId, SubpageId, Rect<f32>),
LoadUrl(PipelineId, LoadData),
ScriptLoadedURLInIFrame(Url, PipelineId, SubpageId, Option<SubpageId>, IFrameSandboxState),
Navigate(NavigationDirection),
Navigate(Option<(PipelineId, SubpageId)>, NavigationDirection),
PainterReady(PipelineId),
ResizedWindow(WindowSizeData),
KeyEvent(Key, KeyState, KeyModifiers),