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

Issue 2858373002: Ignore Return and Cmd+Return in the omnibox if no text has been entered. (Closed)

Created:
3 years, 7 months ago by Justin Donnelly
Modified:
3 years, 7 months ago
Reviewers:
Elly Fong-Jones
CC:
chromium-reviews, jdonnelly+watch_chromium.org, mac-reviews_chromium.org, Mark P
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Ignore Return and Cmd+Return in the omnibox if no text has been entered. This fixes an issue where these inputs incorrectly cancel keyword search mode. BUG=513966 Review-Url: https://codereview.chromium.org/2858373002 Cr-Commit-Position: refs/heads/master@{#470975} Committed: https://chromium.googlesource.com/chromium/src/+/b25681c4b38efe3f3a7a9bff034f9e83170b1d00

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -0 lines) Patch
M chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (9 generated)
Justin Donnelly
3 years, 7 months ago (2017-05-04 21:26:45 UTC) #4
Justin Donnelly
Friendly ping.
3 years, 7 months ago (2017-05-08 14:10:45 UTC) #7
Elly Fong-Jones
lgtm
3 years, 7 months ago (2017-05-11 15:32:59 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2858373002/1
3 years, 7 months ago (2017-05-11 16:00:05 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://chromium.googlesource.com/chromium/src/+/b25681c4b38efe3f3a7a9bff034f9e83170b1d00
3 years, 7 months ago (2017-05-11 16:35:04 UTC) #13
Mark P
3 years, 7 months ago (2017-05-12 22:34:17 UTC) #14
Message was sent while issue was closed.
On 2017/05/11 16:35:04, commit-bot: I haz the power wrote:
> Committed patchset #1 (id:1) as
>
https://chromium.googlesource.com/chromium/src/+/b25681c4b38efe3f3a7a9bff034f...

Drive-by:
This code seems fragile.

On Views platforms, I can enter keyword mode and press space and hit enter and
the enter is ignored.

With this change, it looks like we're only ignoring the enter if the text is
exactly empty; no whitespace allowed.

--mark

Powered by Google App Engine
This is Rietveld 408576698