Moved clipboard integration from textinput to constellation, to facilitate sandboxing.

This commit is contained in:
Avi Weinstock 2015-04-02 16:26:20 -04:00
parent ba4c455438
commit 503cc9e6d6
10 changed files with 46 additions and 19 deletions

View file

@ -229,6 +229,8 @@ pub enum Msg {
GetRootPipeline(Sender<Option<PipelineId>>),
/// Notifies the constellation that this frame has received focus.
FocusMsg(PipelineId),
/// Requests that the constellation retrieve the current contents of the clipboard
GetClipboardContents(Sender<String>),
}
// https://developer.mozilla.org/en-US/docs/Web/API/Using_the_Browser_API#Events