Lines Matching refs:command
36 const CommandMap::const_iterator command(commands_.find(id));
37 if (command == commands_.end())
39 return command->second->enabled;
68 Command* command = it->second;
69 if (command)
70 command->observers.RemoveObserver(observer);
75 Command* command = GetCommand(id, true);
76 if (command->enabled == enabled)
78 command->enabled = enabled;
79 FOR_EACH_OBSERVER(CommandObserver, command->observers,
88 Command* command = new Command;
89 commands_[id] = command;
90 return command;