Lines Matching refs:string
9 #include <string>
27 Command(const std::string& command_name,
29 const std::string& accelerator,
34 static std::string CommandPlatform();
36 // Parse a string as an accelerator. If the accelerator is unparsable then
38 static ui::Accelerator StringToAccelerator(const std::string& accelerator,
39 const std::string& command_name);
41 // Returns the string representation of an accelerator without localizing the
43 static std::string AcceleratorToString(const ui::Accelerator& accelerator);
52 const std::string& command_name,
62 const std::string& command_name() const { return command_name_; }
76 std::string command_name_;
82 // A mapping of command name (std::string) to a command object.
83 typedef std::map<std::string, Command> CommandMap;