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

Issue 2839893003: cocoa: allow omnibox decorations to become key (Closed)

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

Description

cocoa: allow omnibox decorations to become key Originally, this behavior was disabled because leading decorations were appearing in the key view loop after the omnibox itself, which led to an unintuitive tab order. This change: 1) Allows omnibox decorations to become key when they are accepting mouse clicks again 2) Mangles the automatic key view loop slightly so that leading decorations appear before the omnibox in the tab order BUG=623883 Review-Url: https://codereview.chromium.org/2839893003 Cr-Commit-Position: refs/heads/master@{#467363} Committed: https://chromium.googlesource.com/chromium/src/+/88246ce0f7ae1b9a65c1056e9f2c09fe9e0244fe

Patch Set 1 #

Total comments: 6

Patch Set 2 : fix nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -13 lines) Patch
M chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.h View 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.mm View 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/location_bar_decoration.h View 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/location_bar_decoration.mm View 6 chunks +24 lines, -7 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm View 1 1 chunk +29 lines, -4 lines 0 comments Download

Messages

Total messages: 12 (5 generated)
Elly Fong-Jones
mark: ptal? :) lgrey: what do you think of the RTL TODO I left myself? ...
3 years, 7 months ago (2017-04-25 20:37:19 UTC) #3
Mark Mentovai
https://codereview.chromium.org/2839893003/diff/1/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.mm File chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.mm (right): https://codereview.chromium.org/2839893003/diff/1/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.mm#newcode740 chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.mm:740: for (size_t i = 0; i < leadingDecorations_.size(); ++i) ...
3 years, 7 months ago (2017-04-25 20:44:32 UTC) #4
lgrey
https://codereview.chromium.org/2839893003/diff/1/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm File chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm (right): https://codereview.chromium.org/2839893003/diff/1/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm#newcode751 chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm:751: // sorts by top-left coordinate. Since the omnibox's top-left ...
3 years, 7 months ago (2017-04-25 21:11:39 UTC) #5
Elly Fong-Jones
mark: ptal? I think this CL is not going to fix RTL support - there's ...
3 years, 7 months ago (2017-04-26 16:50:01 UTC) #6
Mark Mentovai
LGTM
3 years, 7 months ago (2017-04-26 16:54:15 UTC) #7
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/2839893003/20001
3 years, 7 months ago (2017-04-26 16:55:50 UTC) #9
commit-bot: I haz the power
3 years, 7 months ago (2017-04-26 17:26:08 UTC) #12
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/88246ce0f7ae1b9a65c1056e9f2c...

Powered by Google App Engine
This is Rietveld 408576698