mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 12:25:53 +00:00
Bug 723281 - Add the ability to enable/disable paint flashing as a [gcli] command. r=jwalker
This commit is contained in:
parent
4773b1a15b
commit
ba7711720b
@ -2080,10 +2080,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;
|
||||
@ -2104,10 +2109,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) {
|
||||
|
Loading…
Reference in New Issue
Block a user