| Index: chrome/browser/autocomplete/autocomplete_edit_view_mac.mm
|
| diff --git a/chrome/browser/autocomplete/autocomplete_edit_view_mac.mm b/chrome/browser/autocomplete/autocomplete_edit_view_mac.mm
|
| index f49963a13ffcd07ff2b36966419f9139bfc66114..4ca90dfe57c12fdb16f5230711095aa24eb4febb 100644
|
| --- a/chrome/browser/autocomplete/autocomplete_edit_view_mac.mm
|
| +++ b/chrome/browser/autocomplete/autocomplete_edit_view_mac.mm
|
| @@ -757,6 +757,12 @@ std::wstring AutocompleteEditViewMac::GetClipboardText(Clipboard* clipboard) {
|
| }
|
| }
|
|
|
| + // TODO(shess): Option-tab, would normally insert a literal tab
|
| + // character. Consider combining with -insertTab:
|
| + if (cmd == @selector(insertTabIgnoringFieldEditor:)) {
|
| + return YES;
|
| + }
|
| +
|
| // |-noop:| is sent when the user presses Cmd+Return. Override the no-op
|
| // behavior with the proper WindowOpenDisposition.
|
| NSEvent* event = [NSApp currentEvent];
|
| @@ -768,6 +774,12 @@ std::wstring AutocompleteEditViewMac::GetClipboardText(Clipboard* clipboard) {
|
| return YES;
|
| }
|
|
|
| + // TODO(shess): Option-return, would normally insert a literal
|
| + // newline. Consider combining with -insertNewline:.
|
| + if (cmd == @selector(insertNewlineIgnoringFieldEditor:)) {
|
| + return YES;
|
| + }
|
| +
|
| // When the user does Control-Enter, the existing content has "www."
|
| // prepended and ".com" appended. |model_| should already have
|
| // received notification when the Control key was depressed, but it
|
|
|