зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1415974 - Add Hide entry in the Page Info panel for plug-ins. r=dthayer
MozReview-Commit-ID: BndE8mPz6Jd --HG-- extra : rebase_source : c914398b8ab1c25c74a956f58c5333a53a9740e4
This commit is contained in:
Родитель
650c3b8c8f
Коммит
d60c14d123
|
@ -289,6 +289,7 @@
|
|||
<radio class="permPluginTemplateRadioDefault" label="&permUseDefault;"/>
|
||||
<radio class="permPluginTemplateRadioAsk" label="&permAskAlways;"/>
|
||||
<radio class="permPluginTemplateRadioAllow" label="&permAllow;"/>
|
||||
<radio class="permPluginTemplateRadioHide" label="&permHide;"/>
|
||||
<radio class="permPluginTemplateRadioBlock" label="&permBlock;"/>
|
||||
</radiogroup>
|
||||
</hbox>
|
||||
|
|
|
@ -183,6 +183,8 @@ function fillInPluginPermissionTemplate(aPluginName, aPermissionString) {
|
|||
[ ".permPluginTemplateRadioDefault", "id", aPermissionString + "#0" ],
|
||||
[ ".permPluginTemplateRadioAsk", "id", aPermissionString + "#3" ],
|
||||
[ ".permPluginTemplateRadioAllow", "id", aPermissionString + "#1" ],
|
||||
// #8 comes from Ci.nsIObjectLoadingContent.PLUGIN_PERMISSION_PROMPT_ACTION_QUIET
|
||||
[ ".permPluginTemplateRadioHide", "id", aPermissionString + "#8"],
|
||||
[ ".permPluginTemplateRadioBlock", "id", aPermissionString + "#2" ]
|
||||
];
|
||||
|
||||
|
|
|
@ -55,6 +55,7 @@
|
|||
<!ENTITY permAskAlways "Always ask">
|
||||
<!ENTITY permAllow "Allow">
|
||||
<!ENTITY permAllowSession "Allow for Session">
|
||||
<!ENTITY permHide "Hide">
|
||||
<!ENTITY permBlock "Block">
|
||||
<!ENTITY permissionsFor "Permissions for:">
|
||||
<!ENTITY permPlugins "Activate Plugins">
|
||||
|
|
Загрузка…
Ссылка в новой задаче