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)
Tracking
()
RESOLVED
FIXED
mozilla35
Tracking | Status | |
---|---|---|
e10s | + | --- |
People
(Reporter: masayuki, Assigned: masayuki)
References
Details
(Keywords: inputmethod)
Attachments
(1 file, 1 obsolete file)
13.77 KB,
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
bug 826657 implements new notification for IME of mouse button event. This is notified from IMEContentObserver to widget. So, this can notify synchronously.
Assignee | ||
Comment 1•11 years ago
|
||
![]() |
||
Updated•11 years ago
|
tracking-e10s:
--- → +
Assignee | ||
Comment 2•11 years ago
|
||
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 3•11 years ago
|
||
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-
Assignee | ||
Comment 4•11 years ago
|
||
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)
Updated•11 years ago
|
Attachment #8487887 -
Flags: review?(bugs) → review+
Comment 5•11 years ago
|
||
WidgetIPC.h could work, though the code which the patch adds to nsGUIEventIPC.h is rather
event handling related.
Assignee | ||
Comment 6•11 years ago
|
||
Thanks. I'll file a follow up bug.
https://hg.mozilla.org/integration/mozilla-inbound/rev/8b6a2d4be6c0
Comment 7•11 years ago
|
||
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.
Description
•