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
parent a91ff56b2d
commit 1ea8d26488

View File

@ -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) {