Disable ChromeInputHandler to see if it caused Ts regression on 2009-02-27

This commit is contained in:
Mark Finkle 2009-03-02 13:55:52 -05:00
Родитель efcd5af6c1
Коммит 5415aa9e1e
1 изменённых файлов: 2 добавлений и 14 удалений

Просмотреть файл

@ -64,18 +64,6 @@ function getScrollboxFromElement(elem) {
return scrollbox; return scrollbox;
} }
function dumpEvent(aEvent) {
dump("{ ");
for(var item in aEvent) {
var value = aEvent[item];
dump(item + ": ");
dump(value);
dump(", ");
}
dump("}\n");
}
/** /**
* Everything that is registed in _modules gets called with each event that the * Everything that is registed in _modules gets called with each event that the
* InputHandler is registered to listen for. * InputHandler is registered to listen for.
@ -104,7 +92,7 @@ function InputHandler() {
let prefsvc = Cc["@mozilla.org/preferences-service;1"].getService(Ci.nsIPrefBranch2); let prefsvc = Cc["@mozilla.org/preferences-service;1"].getService(Ci.nsIPrefBranch2);
let allowKinetic = prefsvc.getBoolPref("browser.ui.panning.kinetic"); let allowKinetic = prefsvc.getBoolPref("browser.ui.panning.kinetic");
this._modules.push(new ChromeInputModule(this)); //this._modules.push(new ChromeInputModule(this));
this._modules.push(new ContentPanningModule(this, allowKinetic)); this._modules.push(new ContentPanningModule(this, allowKinetic));
this._modules.push(new ContentClickingModule(this)); this._modules.push(new ContentClickingModule(this));
this._modules.push(new ScrollwheelModule(this)); this._modules.push(new ScrollwheelModule(this));