summaryrefslogtreecommitdiffstats
path: root/webkit/glue/editor_client_impl.cc
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-26 14:26:45 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-26 14:26:45 +0000
commitc1e5367f145edccb340f1778f26435c70774ef7a (patch)
tree646583c5184833f47fc4762e45435b4c75487098 /webkit/glue/editor_client_impl.cc
parent6110e68c90d36f475551322818f1bf77b2670eda (diff)
downloadchromium_src-c1e5367f145edccb340f1778f26435c70774ef7a.zip
chromium_src-c1e5367f145edccb340f1778f26435c70774ef7a.tar.gz
chromium_src-c1e5367f145edccb340f1778f26435c70774ef7a.tar.bz2
Revert. TBR: ojan, glen
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30046 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/editor_client_impl.cc')
-rw-r--r--webkit/glue/editor_client_impl.cc9
1 files changed, 5 insertions, 4 deletions
diff --git a/webkit/glue/editor_client_impl.cc b/webkit/glue/editor_client_impl.cc
index 3e87091..80077ef 100644
--- a/webkit/glue/editor_client_impl.cc
+++ b/webkit/glue/editor_client_impl.cc
@@ -458,15 +458,16 @@ static const KeyDownEntry keyDownEntries[] = {
{ WebCore::VKEY_INSERT, ShiftKey, "Paste" },
{ WebCore::VKEY_DELETE, ShiftKey, "Cut" },
#if PLATFORM(DARWIN)
- // TODO(thakis): Remove -- crbug.com/25205
+ { 'C', CommandKey, "Copy" },
+ { 'V', CommandKey, "Paste" },
{ 'V', CommandKey | ShiftKey,
"PasteAndMatchStyle" },
-
- // TODO(port): Remove once undo and redo are hooked up correctly in the menu
- // and are validated correctly.
+ { 'X', CommandKey, "Cut" },
+ { 'A', CommandKey, "SelectAll" },
{ 'Z', CommandKey, "Undo" },
{ 'Z', CommandKey | ShiftKey,
"Redo" },
+ { 'Y', CommandKey, "Redo" },
#else
{ 'C', CtrlKey, "Copy" },
{ 'V', CtrlKey, "Paste" },