Auto merge of #20743 - paulrouget:rmFwdEvent, r=emilio

Remove useless message

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20743)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2018-05-03 05:30:12 -04:00 committed by GitHub
commit 894caaa98f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 6 deletions

View file

@ -1111,9 +1111,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() {

View file

@ -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.