Lines Matching defs:Command
31 "Command key is not supported. Note: Ctrl means Command on Mac";
85 // Either the developer specified Command+foo in the manifest for Mac or
86 // they specified Ctrl and it got normalized to Command (to get Ctrl on
88 // as Command.
92 // If we see "Command+foo" in the Default section it can mean two
95 // on Mac to "Command+foo". This is fine. Treat it as Command.
99 // No other platform supports Command.
198 // On Mac Command can also be used in combination with Shift or on its own,
226 // For Mac, we convert "Ctrl" to "Command" and "MacCtrl" to "Ctrl". Other
255 Command::Command() : global_(false) {}
257 Command::Command(const std::string& command_name,
269 Command::~Command() {}
272 std::string Command::CommandPlatform() {
287 ui::Accelerator Command::StringToAccelerator(const std::string& accelerator,
291 ParseImpl(accelerator, Command::CommandPlatform(), 0,
297 std::string Command::AcceleratorToString(const ui::Accelerator& accelerator) {
384 bool Command::Parse(const base::DictionaryValue* command,
448 // Before we normalize Ctrl to Command we must detect when the developer
449 // specified Command in the Default section, which will work on Mac after
453 iter->second.find("Command+") != std::string::npos) {
513 base::DictionaryValue* Command::ToValue(const Extension* extension,