Bug 723281 - Add the ability to enable/disable paint flashing as a [gcli] command. r=jwalker

This commit is contained in:
Paul Rouget 2013-03-12 18:43:00 -07:00
Родитель a91ff56b2d
Коммит 1ea8d26488
1 изменённых файлов: 18 добавлений и 8 удалений

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

@ -1705,10 +1705,15 @@ XPCOMUtils.defineLazyModuleGetter(this, "TargetFactory",
description: gcli.lookup('paintflashingOnDesc'),
manual: gcli.lookup('paintflashingManual'),
params: [{
type: "boolean",
name: "chrome",
get hidden() gcli.hiddenByChromePref(),
description: gcli.lookup("paintflashingChromeDesc"),
group: "options",
params: [
{
type: "boolean",
name: "chrome",
get hidden() gcli.hiddenByChromePref(),
description: gcli.lookup("paintflashingChromeDesc"),
}
]
}],
exec: function(args, context) {
var window;
@ -1729,10 +1734,15 @@ XPCOMUtils.defineLazyModuleGetter(this, "TargetFactory",
description: gcli.lookup('paintflashingOffDesc'),
manual: gcli.lookup('paintflashingManual'),
params: [{
type: "boolean",
name: "chrome",
get hidden() gcli.hiddenByChromePref(),
description: gcli.lookup("paintflashingChromeDesc"),
group: "options",
params: [
{
type: "boolean",
name: "chrome",
get hidden() gcli.hiddenByChromePref(),
description: gcli.lookup("paintflashingChromeDesc"),
}
]
}],
exec: function(args, context) {
if (args.chrome) {