mirror of
https://github.com/servo/servo.git
synced 2025-08-02 12:10:29 +01:00
Remove useless message
This commit is contained in:
parent
625634a027
commit
af5b50006f
2 changed files with 0 additions and 6 deletions
|
@ -1110,9 +1110,6 @@ impl<Message, LTF, STF> Constellation<Message, LTF, STF>
|
||||||
debug!("constellation got focus message");
|
debug!("constellation got focus message");
|
||||||
self.handle_focus_msg(source_pipeline_id);
|
self.handle_focus_msg(source_pipeline_id);
|
||||||
}
|
}
|
||||||
FromScriptMsg::ForwardEvent(destination_pipeline_id, event) => {
|
|
||||||
self.forward_event(destination_pipeline_id, event);
|
|
||||||
}
|
|
||||||
FromScriptMsg::GetClipboardContents(sender) => {
|
FromScriptMsg::GetClipboardContents(sender) => {
|
||||||
let contents = match self.clipboard_ctx {
|
let contents = match self.clipboard_ctx {
|
||||||
Some(ref mut ctx) => match ctx.get_contents() {
|
Some(ref mut ctx) => match ctx.get_contents() {
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||||
|
|
||||||
use AnimationState;
|
use AnimationState;
|
||||||
use CompositorEvent;
|
|
||||||
use DocumentState;
|
use DocumentState;
|
||||||
use IFrameLoadInfo;
|
use IFrameLoadInfo;
|
||||||
use IFrameLoadInfoWithData;
|
use IFrameLoadInfoWithData;
|
||||||
|
@ -82,8 +81,6 @@ pub enum ScriptMsg {
|
||||||
CreateCanvasPaintThread(Size2D<i32>, IpcSender<(IpcSender<CanvasMsg>, CanvasId)>),
|
CreateCanvasPaintThread(Size2D<i32>, IpcSender<(IpcSender<CanvasMsg>, CanvasId)>),
|
||||||
/// Notifies the constellation that this frame has received focus.
|
/// Notifies the constellation that this frame has received focus.
|
||||||
Focus,
|
Focus,
|
||||||
/// Forward an event that was sent to the parent window.
|
|
||||||
ForwardEvent(PipelineId, CompositorEvent),
|
|
||||||
/// Requests that the constellation retrieve the current contents of the clipboard
|
/// Requests that the constellation retrieve the current contents of the clipboard
|
||||||
GetClipboardContents(IpcSender<String>),
|
GetClipboardContents(IpcSender<String>),
|
||||||
/// Get the browsing context id for a given pipeline.
|
/// Get the browsing context id for a given pipeline.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue