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

Issue 2713253002: Adjust ellision strategy for omnibox search chip. (Closed)

Created:
3 years, 10 months ago by Evan Stade
Modified:
3 years, 9 months ago
Reviewers:
Peter Kasting
CC:
chromium-reviews, tfarina
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Adjust ellision strategy for omnibox search chip. - Collapse from full width to an elided version of the text (which leaves off "Search" and truncates the engine name), but don't allow the chip to shrink any further or disappear completely. - Forward unhandled clicks in the location bar (including those on the search chip) to the omnibox textfield. Forwarding all events felt wrong because it changed the mouse cursor to an I-bar when hovering the search chip. BUG=694152

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -24 lines) Patch
M chrome/browser/ui/location_bar/location_bar_util.cc View 1 chunk +6 lines, -3 lines 1 comment Download
M chrome/browser/ui/views/location_bar/location_bar_layout.h View 1 chunk +7 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_layout.cc View 1 chunk +8 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.cc View 3 chunks +14 lines, -6 lines 2 comments Download
M chrome/browser/ui/views/location_bar/selected_keyword_view.cc View 3 chunks +3 lines, -9 lines 0 comments Download

Messages

Total messages: 10 (5 generated)
Evan Stade
3 years, 10 months ago (2017-02-24 18:40:13 UTC) #2
Peter Kasting
I'd still like to see what Max thinks of the idea of just collapsing to ...
3 years, 10 months ago (2017-02-25 06:17:11 UTC) #7
Evan Stade
https://codereview.chromium.org/2713253002/diff/1/chrome/browser/ui/views/location_bar/location_bar_view.cc File chrome/browser/ui/views/location_bar/location_bar_view.cc (right): https://codereview.chromium.org/2713253002/diff/1/chrome/browser/ui/views/location_bar/location_bar_view.cc#newcode609 chrome/browser/ui/views/location_bar/location_bar_view.cc:609: return static_cast<views::View*>(omnibox_view_)->OnMousePressed(event); On 2017/02/25 06:17:11, Peter Kasting wrote: > ...
3 years, 9 months ago (2017-03-07 18:10:22 UTC) #8
Peter Kasting
Is there something I should do with this CL at this point, or has it ...
3 years, 9 months ago (2017-03-07 21:03:29 UTC) #9
Evan Stade
3 years, 9 months ago (2017-03-07 22:39:15 UTC) #10
On 2017/03/07 21:03:29, Peter Kasting wrote:
> Is there something I should do with this CL at this point, or has it been
> superseded?

the latter --- it can be ignored.

Powered by Google App Engine
This is Rietveld 408576698