Bug 730349 - Remove some unused variables from browser.js. r=
authorChris Peterson <cpeterson@mozilla.com>
Fri, 24 Feb 2012 10:05:32 -0800
changeset 89250 d1f95c6e325cf2ca15b29f38933b5366262efcc0
parent 89249 4a8ec32c2606377b441966c25ddbc1ad7d8f4de9
child 89251 348653903677255dee311c521b851102a2260c73
push id22242
push userkgupta@mozilla.com
push dateWed, 14 Mar 2012 15:19:09 +0000
treeherdermozilla-central@936ef50fa498 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs730349
milestone13.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 730349 - Remove some unused variables from browser.js. r=
mobile/android/chrome/content/browser.js
--- a/mobile/android/chrome/content/browser.js
+++ b/mobile/android/chrome/content/browser.js
@@ -56,43 +56,16 @@ XPCOMUtils.defineLazyServiceGetter(this,
 
 XPCOMUtils.defineLazyServiceGetter(this, "DOMUtils",
   "@mozilla.org/inspector/dom-utils;1", "inIDOMUtils");
 
 const kStateActive = 0x00000001; // :active pseudoclass for elements
 
 const kXLinkNamespace = "http://www.w3.org/1999/xlink";
 
-// TODO: Take into account ppi in these units?
-
-// The ratio of velocity that is retained every ms.
-const kPanDeceleration = 0.999;
-
-// The number of ms to consider events over for a swipe gesture.
-const kSwipeLength = 500;
-
-// The number of pixels to move before we consider a drag to be more than
-// just a click with jitter.
-const kDragThreshold = 10;
-
-// The number of pixels to move to break out of axis-lock
-const kLockBreakThreshold = 100;
-
-// Minimum speed to move during kinetic panning. 0.015 pixels/ms is roughly
-// equivalent to a pixel every 4 frames at 60fps.
-const kMinKineticSpeed = 0.015;
-
-// Maximum kinetic panning speed. 9 pixels/ms is equivalent to 150 pixels per
-// frame at 60fps.
-const kMaxKineticSpeed = 9;
-
-// The maximum magnitude of disparity allowed between axes acceleration. If
-// it's larger than this, lock the slow-moving axis.
-const kAxisLockRatio = 5;
-
 // The element tag names that are considered to receive input. Mouse-down
 // events directed to one of these are allowed to go through.
 const kElementsReceivingInput = {
     applet: true,
     audio: true,
     button: true,
     embed: true,
     input: true,