mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
refactor(filemanager): uses embedderproxy directly
This commit is contained in:
parent
7cec47b3fa
commit
2fab94785b
10 changed files with 54 additions and 84 deletions
|
@ -19,7 +19,6 @@ use ipc_channel::ipc::{IpcReceiver, IpcSender};
|
|||
use msg::constellation_msg::{BrowsingContextId, HistoryStateId, PipelineId, TraversalDirection};
|
||||
use msg::constellation_msg::{InputMethodType, Key, KeyModifiers, KeyState};
|
||||
use net_traits::CoreResourceMsg;
|
||||
use net_traits::filemanager_thread::FilterPattern;
|
||||
use net_traits::request::RequestInit;
|
||||
use net_traits::storage_thread::StorageType;
|
||||
use servo_url::ImmutableOrigin;
|
||||
|
@ -218,10 +217,3 @@ pub enum SWManagerMsg {
|
|||
/// Provide the constellation with a means of communicating with the Service Worker Manager
|
||||
OwnSender(IpcSender<ServiceWorkerMsg>),
|
||||
}
|
||||
|
||||
/// Messages outgoing from the File Manager thread to constellation
|
||||
#[derive(Deserialize, Serialize)]
|
||||
pub enum FileManagerMsg {
|
||||
/// Requesting to open file select dialog
|
||||
OpenFileSelectDialog(Vec<FilterPattern>, bool, IpcSender<Option<Vec<String>>>)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue