diff options
-rw-r--r-- | chrome/browser/autocomplete/autocomplete_edit_view_mac.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/autocomplete/autocomplete_edit_view_mac.mm b/chrome/browser/autocomplete/autocomplete_edit_view_mac.mm index ed26081..e81d0fe 100644 --- a/chrome/browser/autocomplete/autocomplete_edit_view_mac.mm +++ b/chrome/browser/autocomplete/autocomplete_edit_view_mac.mm @@ -804,9 +804,9 @@ std::wstring AutocompleteEditViewMac::GetClipboardText(Clipboard* clipboard) { return YES; } - // TODO(shess): Option-return, would normally insert a literal - // newline. Consider combining with -insertNewline:. + // Option-Return if (cmd == @selector(insertNewlineIgnoringFieldEditor:)) { + edit_view_->AcceptInput(NEW_FOREGROUND_TAB, false); return YES; } |