From: Matt Colyer Date: Tue, 19 Nov 2013 23:18:54 +0000 (-0800) Subject: Don't map command to ctrl X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=113d6446155a5bb6d3732c3078fec8ea040a93bb;p=platform%2Fframework%2Fweb%2Fcrosswalk-tizen.git Don't map command to ctrl We no longer what this behavior because it's confusing unless you understand that atom-shell does this. --- diff --git a/browser/ui/accelerator_util.cc b/browser/ui/accelerator_util.cc index b814783..1fb89a7 100644 --- a/browser/ui/accelerator_util.cc +++ b/browser/ui/accelerator_util.cc @@ -108,13 +108,7 @@ bool StringToAccelerator(const std::string& description, } else if (tokens[i] == "ctrl") { modifiers |= ui::EF_CONTROL_DOWN; } else if (tokens[i] == "command") { - // The "Command" would be translated to "Ctrl" on platforms other than - // OS X. -#if defined(OS_MACOSX) modifiers |= ui::EF_COMMAND_DOWN; -#else - modifiers |= ui::EF_CONTROL_DOWN; -#endif } else if (tokens[i] == "alt") { modifiers |= ui::EF_ALT_DOWN; } else if (tokens[i] == "shift") {