зеркало из https://github.com/mozilla/gecko-dev.git
Bug 916276 - Remove dead click-to-play code. r=gfritzsche
This commit is contained in:
Родитель
6b1d7df82c
Коммит
cb78860bf6
|
@ -4,10 +4,6 @@
|
|||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
var gPluginHandler = {
|
||||
PLUGIN_SCRIPTED_STATE_NONE: 0,
|
||||
PLUGIN_SCRIPTED_STATE_FIRED: 1,
|
||||
PLUGIN_SCRIPTED_STATE_DONE: 2,
|
||||
|
||||
PREF_NOTIFY_MISSING_FLASH: "plugins.notifyMissingFlash",
|
||||
PREF_SESSION_PERSIST_MINUTES: "plugin.sessionPermissionNow.intervalInMinutes",
|
||||
PREF_PERSISTENT_DAYS: "plugin.persistentPermissionAlways.intervalInDays",
|
||||
|
|
|
@ -4301,11 +4301,6 @@ var TabsProgressListener = {
|
|||
|
||||
// Filter out location changes in sub documents.
|
||||
if (aWebProgress.isTopLevel) {
|
||||
// Initialize the click-to-play state.
|
||||
aBrowser._clickToPlayPluginsActivated = new Map();
|
||||
aBrowser._clickToPlayAllPluginsActivated = false;
|
||||
aBrowser._pluginScriptedState = gPluginHandler.PLUGIN_SCRIPTED_STATE_NONE;
|
||||
|
||||
FullZoom.onLocationChange(aLocationURI, false, aBrowser);
|
||||
}
|
||||
},
|
||||
|
|
Загрузка…
Ссылка в новой задаче