mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Record the frame type (IFrame or MozBrowserIFrame) in the pipeline.
This commit is contained in:
parent
cd1396fa9a
commit
d92dfe1b8c
6 changed files with 66 additions and 55 deletions
|
@ -41,7 +41,7 @@ use gfx_traits::Epoch;
|
|||
use gfx_traits::LayerId;
|
||||
use ipc_channel::ipc::{IpcReceiver, IpcSender};
|
||||
use libc::c_void;
|
||||
use msg::constellation_msg::{FrameId, Key, KeyModifiers, KeyState, LoadData};
|
||||
use msg::constellation_msg::{FrameId, FrameType, Key, KeyModifiers, KeyState, LoadData};
|
||||
use msg::constellation_msg::{NavigationDirection, PanicMsg, PipelineId};
|
||||
use msg::constellation_msg::{PipelineNamespaceId, SubpageId, WindowSizeData};
|
||||
use msg::constellation_msg::{WebDriverCommandMsg, WindowSizeType};
|
||||
|
@ -415,6 +415,8 @@ pub struct IFrameLoadInfo {
|
|||
pub sandbox: IFrameSandboxState,
|
||||
/// Whether this iframe should be considered private
|
||||
pub is_private: bool,
|
||||
/// Whether this iframe is a mozbrowser iframe
|
||||
pub frame_type: FrameType,
|
||||
}
|
||||
|
||||
// https://developer.mozilla.org/en-US/docs/Web/API/Using_the_Browser_API#Events
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue