Closed Bug 830858 Opened 8 years ago Closed 8 years ago

Implement a generic way to dispatch events to chrome only

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla21
Tracking Status
firefox20 --- fixed
firefox21 --- fixed

People

(Reporter: fryn, Assigned: smaug)

References

Details

(Keywords: dev-doc-needed)

Attachments

(1 file)

Some events are dispatched via JS in some cases and via C++ in other cases, and we'd like to have a generic way to dispatch the event to chrome-only for internal events.
Summary: Implement dispatchToChromeOnly in DomWindowUtils → Implement a generic way to dispatch events to chrome only
Attached patch patchSplinter Review
https://tbpl.mozilla.org/?tree=Try&rev=65d10e51c8a7

Simple stuff. C++ code should just use GetInternalNSEvent()->mFlags.mOnlyChromeDispatch = true;
Attachment #702479 - Flags: review?(jst)
Attachment #702479 - Flags: review?(jst) → review+
https://hg.mozilla.org/mozilla-central/rev/8d8912467c41
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Attachment #702479 - Flags: approval-mozilla-aurora?
Attachment #702479 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Target Milestone: --- → mozilla21
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.