diff options
author | David Raifaizen <d-raif@hotmail.com> | 2015-11-29 15:48:23 -0500 |
---|---|---|
committer | David Raifaizen <d-raif@hotmail.com> | 2015-11-29 15:48:23 -0500 |
commit | 8d451076e1762f1cd793049d39caea6bb07b9a2f (patch) | |
tree | fc380c9ae04846ead3cf5273c30cb16185a36bd0 /components/msg/webdriver_msg.rs | |
parent | 6ab205a97e0b19adbb28c9fd18e34faf81dde589 (diff) | |
download | servo-8d451076e1762f1cd793049d39caea6bb07b9a2f.tar.gz servo-8d451076e1762f1cd793049d39caea6bb07b9a2f.zip |
Removed duplicate webdriver_traits file and added webdriver handler for GetWindowSize, IsSelected and IsEnabled
Diffstat (limited to 'components/msg/webdriver_msg.rs')
-rw-r--r-- | components/msg/webdriver_msg.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/components/msg/webdriver_msg.rs b/components/msg/webdriver_msg.rs index 658df1e79e1..94c4556b5f0 100644 --- a/components/msg/webdriver_msg.rs +++ b/components/msg/webdriver_msg.rs @@ -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; +use constellation_msg::{PipelineId, WindowSizeData}; use ipc_channel::ipc::IpcSender; use rustc_serialize::json::{Json, ToJson}; use url::Url; @@ -21,6 +21,9 @@ pub enum WebDriverScriptCommand { GetElementText(String, IpcSender<Result<String, ()>>), GetFrameId(WebDriverFrameId, IpcSender<Result<Option<PipelineId>, ()>>), GetUrl(IpcSender<Url>), + GetWindowSize(IpcSender<Option<WindowSizeData>>), + IsEnabled(String, IpcSender<Result<bool, ()>>), + IsSelected(String, IpcSender<Result<bool, ()>>), GetTitle(IpcSender<String>) } |