Closed Bug 1059680 Opened 11 years ago Closed 11 years ago

[e10s][TSF][IMM32] IME should be able to handle mouse events fired in content process

Categories

(Core :: Widget: Win32, defect)

x86_64
Windows 8.1
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla35
Tracking Status
e10s + ---

People

(Reporter: masayuki, Assigned: masayuki)

References

Details

(Keywords: inputmethod)

Attachments

(1 file, 1 obsolete file)

bug 826657 implements new notification for IME of mouse button event. This is notified from IMEContentObserver to widget. So, this can notify synchronously.
Attached patch Patch (obsolete) — Splinter Review
tracking-e10s: --- → +
Comment on attachment 8480574 [details] [diff] [review] Patch I'm not sure if Smaug, you are a good reviewer for this patch, though. This patch supports NS_NOTIFY_IME_OF_MOUSE_BUTTON_EVENT in e10s mode. It must be synchronous API because it needs to check if IME consumes the notified mouse button event.
Attachment #8480574 - Flags: review?(bugs)
Comment on attachment 8480574 [details] [diff] [review] Patch Hopefully this doesn't feel too nitpicking, but I'd prefer having a ParamTraits for IMENotification. Put it perhaps to TabMessageUtils.h? I think ParamTraits would keep the code easier to read. If you have a reason to not add ParamTraits, feel free to ask review for this patch again. (I think it is fine except static_asserts could be in a row and the assignments after them. That would improve readability.)
Attachment #8480574 - Flags: review?(bugs) → review-
Attached patch PatchSplinter Review
This patch uses nsGUIEventIPC.h because it defines some other struct/class in nsIWidget.h too. # I guess that the file name should be renamed in another bug. Perhaps, WidgetIPC.h?
Attachment #8480574 - Attachment is obsolete: true
Attachment #8487887 - Flags: review?(bugs)
Attachment #8487887 - Flags: review?(bugs) → review+
WidgetIPC.h could work, though the code which the patch adds to nsGUIEventIPC.h is rather event handling related.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: