Closed
Bug 810359
Opened 12 years ago
Closed 12 years ago
[AccessFu] Introduce haptic presenter
Categories
(Core :: Disability Access APIs, defect)
Core
Disability Access APIs
Tracking
()
RESOLVED
FIXED
mozilla19
People
(Reporter: eeejay, Assigned: eeejay)
Details
Attachments
(1 file)
5.13 KB,
patch
|
davidb
:
review+
|
Details | Diff | Splinter Review |
In some occasions we would want to have the device to vibrate along with the regular aural feedback.
Assignee | ||
Comment 1•12 years ago
|
||
Assignee | ||
Updated•12 years ago
|
Attachment #680109 -
Flags: review?(dbolter)
Comment 2•12 years ago
|
||
Comment on attachment 680109 [details] [diff] [review] Introduce haptic feedback. Review of attachment 680109 [details] [diff] [review]: ----------------------------------------------------------------- r=me (I'm sort of wondering if pivotChanged should be renamed to something like pivotChangedResult) ::: accessible/src/jsat/AccessFu.jsm @@ +326,5 @@ > this._bridge.handleGeckoMessage(JSON.stringify({gecko: androidEvent})); > } > }, > > + Haptic: function Haptic(aDetails, aBrowser) { I'd probably put this before the Android section but up to you. ::: accessible/src/jsat/Presenters.jsm @@ +383,5 @@ > + __proto__: Presenter.prototype, > + > + type: 'Haptic', > + > + pivotChanged: function SpeechPresenter_pivotChanged(aContext, aReason) { nit: HapticPresenter_pivotChanged @@ +384,5 @@ > + > + type: 'Haptic', > + > + pivotChanged: function SpeechPresenter_pivotChanged(aContext, aReason) { > + return { type: this.type, details: {pattern: [20]} }; nit: magic number (ok for now)
Attachment #680109 -
Flags: review?(dbolter) → review+
Assignee | ||
Comment 3•12 years ago
|
||
(In reply to David Bolter [:davidb] from comment #2) > Comment on attachment 680109 [details] [diff] [review] > Introduce haptic feedback. > > Review of attachment 680109 [details] [diff] [review]: > ----------------------------------------------------------------- > > r=me > > (I'm sort of wondering if pivotChanged should be renamed to something like > pivotChangedResult) > Discussed this on IRC. > ::: accessible/src/jsat/AccessFu.jsm > @@ +326,5 @@ > > this._bridge.handleGeckoMessage(JSON.stringify({gecko: androidEvent})); > > } > > }, > > > > + Haptic: function Haptic(aDetails, aBrowser) { > > I'd probably put this before the Android section but up to you. > It is adjacent to the SpeechPresenter, which makes sense. > ::: accessible/src/jsat/Presenters.jsm > @@ +383,5 @@ > > + __proto__: Presenter.prototype, > > + > > + type: 'Haptic', > > + > > + pivotChanged: function SpeechPresenter_pivotChanged(aContext, aReason) { > > nit: HapticPresenter_pivotChanged > Yup. > @@ +384,5 @@ > > + > > + type: 'Haptic', > > + > > + pivotChanged: function SpeechPresenter_pivotChanged(aContext, aReason) { > > + return { type: this.type, details: {pattern: [20]} }; > > nit: magic number (ok for now) I'll make that an object attribute.
Assignee | ||
Comment 4•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/543413e0df70
Assignee: nobody → eitan
Comment 5•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/543413e0df70
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla19
You need to log in
before you can comment on or make changes to this bug.
Description
•