Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(293)

Unified Diff: webkit/glue/editor_client_impl.cc

Issue 330014: [mac] Send cmd-c and friends back to browser. (Closed)
Patch Set: foo! Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webkit/tools/test_shell/keyboard_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/editor_client_impl.cc
diff --git a/webkit/glue/editor_client_impl.cc b/webkit/glue/editor_client_impl.cc
index 80077ef2059e5bf2dc810e7eb11770a3eccf9d98..3e870913594be0b12ec78525900874bc683e2797 100644
--- a/webkit/glue/editor_client_impl.cc
+++ b/webkit/glue/editor_client_impl.cc
@@ -458,16 +458,15 @@ static const KeyDownEntry keyDownEntries[] = {
{ WebCore::VKEY_INSERT, ShiftKey, "Paste" },
{ WebCore::VKEY_DELETE, ShiftKey, "Cut" },
#if PLATFORM(DARWIN)
- { 'C', CommandKey, "Copy" },
- { 'V', CommandKey, "Paste" },
+ // TODO(thakis): Remove -- crbug.com/25205
{ 'V', CommandKey | ShiftKey,
"PasteAndMatchStyle" },
- { 'X', CommandKey, "Cut" },
- { 'A', CommandKey, "SelectAll" },
+
+ // TODO(port): Remove once undo and redo are hooked up correctly in the menu
+ // and are validated correctly.
{ 'Z', CommandKey, "Undo" },
{ 'Z', CommandKey | ShiftKey,
"Redo" },
- { 'Y', CommandKey, "Redo" },
#else
{ 'C', CtrlKey, "Copy" },
{ 'V', CtrlKey, "Paste" },
« no previous file with comments | « no previous file | webkit/tools/test_shell/keyboard_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698