change popup manager's IDL constants to JS standard style instead of that silly reverse hungarian nonsense. r=brendan

This commit is contained in:
danm%netscape.com 2006-07-29 05:41:29 +00:00
Родитель 407a37c2fd
Коммит 43520150d8
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -158,7 +158,7 @@ nsContextMenu.prototype = {
const PM = Components.classes["@mozilla.org/PopupWindowManager;1"]
.getService(Components.interfaces.nsIPopupWindowManager);
blocking = PM.testPermission(this.popupURL) ==
Components.interfaces.nsIPopupWindowManager.eDisallow;
Components.interfaces.nsIPopupWindowManager.DENY_POPUP;
} catch (e) {
}
@ -435,7 +435,7 @@ nsContextMenu.prototype = {
.getService(CI.nsIPrefBranch);
show = !PB.getBoolPref("dom.disable_open_during_load") &&
PB.getIntPref("privacy.popups.policy") ==
CI.nsIPopupWindowManager.eAllow &&
CI.nsIPopupWindowManager.ALLOW_POPUP &&
PB.getBoolPref("privacy.popups.usecustom");
}
if (show) {