mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Remove webdriver use of SubpageId
This commit is contained in:
parent
bc58cd2de0
commit
ed72e5766b
5 changed files with 13 additions and 15 deletions
|
@ -260,8 +260,8 @@ pub enum Msg {
|
|||
/// id, or for the root frame if this is None, over a provided channel
|
||||
GetPipeline(Option<FrameId>, IpcSender<Option<PipelineId>>),
|
||||
/// Request that the constellation send the FrameId corresponding to the document
|
||||
/// with the provided parent pipeline id and subpage id
|
||||
GetFrame(PipelineId, SubpageId, IpcSender<Option<FrameId>>),
|
||||
/// with the provided pipeline id
|
||||
GetFrame(PipelineId, IpcSender<Option<FrameId>>),
|
||||
/// Notifies the constellation that this frame has received focus.
|
||||
Focus(PipelineId),
|
||||
/// Requests that the constellation retrieve the current contents of the clipboard
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
use constellation_msg::{PipelineId, SubpageId};
|
||||
use constellation_msg::PipelineId;
|
||||
use ipc_channel::ipc::IpcSender;
|
||||
use rustc_serialize::json::{Json, ToJson};
|
||||
use url::Url;
|
||||
|
@ -16,7 +16,7 @@ pub enum WebDriverScriptCommand {
|
|||
GetActiveElement(IpcSender<Option<String>>),
|
||||
GetElementTagName(String, IpcSender<Result<String, ()>>),
|
||||
GetElementText(String, IpcSender<Result<String, ()>>),
|
||||
GetFrameId(WebDriverFrameId, IpcSender<Result<Option<(PipelineId, SubpageId)>, ()>>),
|
||||
GetFrameId(WebDriverFrameId, IpcSender<Result<Option<PipelineId>, ()>>),
|
||||
GetUrl(IpcSender<Url>),
|
||||
GetTitle(IpcSender<String>)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue