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

Issue 1144853003: Mac: Omnibox: Retain the "SelectAll" state after a navigation. (Closed)

Created:
5 years, 7 months ago by tapted
Modified:
5 years, 7 months ago
Reviewers:
Peter Kasting
CC:
chromium-reviews, James Su, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Mac: Omnibox: Retain the "SelectAll" state after a navigation. When a navigation occurs and the omnibox is focused and fully selected, the replacement URL should also be fully selected. OmnboxViewMac currently does not do this. Use the same logic from void OmniboxViewViews::Update(). This makes Mac consistent with other platforms. Adds a cross-platform test to verify. BUG=471635 Committed: https://crrev.com/59495481b1ff51a626d93bc8f4895cd8c675c893 Cr-Commit-Position: refs/heads/master@{#330683}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Implement reversed #

Patch Set 3 : Less boilerplate #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+111 lines, -8 lines) Patch
M chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm View 1 2 chunks +26 lines, -8 lines 2 comments Download
M chrome/browser/ui/omnibox/omnibox_view_browsertest.cc View 1 2 1 chunk +85 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
tapted
Hi Peter, please take a look.
5 years, 7 months ago (2015-05-19 06:05:28 UTC) #2
Peter Kasting
https://codereview.chromium.org/1144853003/diff/1/chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm File chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm (right): https://codereview.chromium.org/1144853003/diff/1/chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm#newcode228 chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm:228: // we're getting the selection and popup right. Nit: ...
5 years, 7 months ago (2015-05-19 07:04:01 UTC) #3
tapted
Thanks Peter! PTAL https://codereview.chromium.org/1144853003/diff/1/chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm File chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm (right): https://codereview.chromium.org/1144853003/diff/1/chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm#newcode228 chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm:228: // we're getting the selection and ...
5 years, 7 months ago (2015-05-19 11:28:39 UTC) #5
Peter Kasting
LGTM Interesting that Mac tracks selection and affinity separately. This makes me worry about all ...
5 years, 7 months ago (2015-05-19 21:32:55 UTC) #6
tapted
On 2015/05/19 21:32:55, Peter Kasting wrote: > Interesting that Mac tracks selection and affinity separately. ...
5 years, 7 months ago (2015-05-20 00:52:22 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1144853003/60001
5 years, 7 months ago (2015-05-20 02:34:42 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:60001)
5 years, 7 months ago (2015-05-20 02:38:25 UTC) #10
commit-bot: I haz the power
5 years, 7 months ago (2015-05-20 02:39:12 UTC) #11
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/59495481b1ff51a626d93bc8f4895cd8c675c893
Cr-Commit-Position: refs/heads/master@{#330683}

Powered by Google App Engine
This is Rietveld 408576698