Bug 1081724 - Bind doubletaphold to quicknav menu. r=yzen
authorEitan Isaacson <eitan@monotonous.org>
Tue, 14 Oct 2014 14:42:50 -0700
changeset 234770 b37fa2c441180d5fe9f8e5480b23c19069c38f34
parent 234769 596f4a27f22c8cbd3de08b9049a9589bdcf84439
child 234771 df5e04296d12f7977e8064247a46d14b951ca0c7
push id4311
push userraliiev@mozilla.com
push dateMon, 12 Jan 2015 19:37:41 +0000
treeherdermozilla-beta@150c9fed433b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersyzen
bugs1081724
milestone36.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1081724 - Bind doubletaphold to quicknav menu. r=yzen
accessible/jsat/AccessFu.jsm
--- a/accessible/jsat/AccessFu.jsm
+++ b/accessible/jsat/AccessFu.jsm
@@ -662,16 +662,19 @@ var Input = {
           aGesture.touches[0].y);
         break;
       case 'doubletap1':
         this.activateCurrent();
         break;
       case 'taphold1':
         this.sendContextMenuMessage();
         break;
+      case 'doubletaphold1':
+        Utils.dispatchChromeEvent('accessibility-control', 'quicknav-menu');
+        break;
       case 'swiperight1':
         this.moveCursor('moveNext', 'Simple', 'gestures');
         break;
       case 'swipeleft1':
         this.moveCursor('movePrevious', 'Simple', 'gesture');
         break;
       case 'swipeup1':
         this.contextAction('backward');