Bug 1007600 - Support inline activity

https://bugzilla.mozilla.org/show_bug.cgi?id=1007600