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

Issue 2731113002: Adjust elision of omnibox keyword search label. (Closed)

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

Description

Adjust elision of omnibox keyword search label. The search label will be limited to 50% of the omnibox width. The minimum width will be just the search icon, although it's unlikely that the omnibox will ever be that small on most platforms. See bug for extended discussion. BUG=694152 Review-Url: https://codereview.chromium.org/2731113002 Cr-Commit-Position: refs/heads/master@{#457255} Committed: https://chromium.googlesource.com/chromium/src/+/cdedb4788d9ead1bdb685cfa1e765ae15fcd7ea9

Patch Set 1 #

Patch Set 2 : . #

Total comments: 10

Patch Set 3 : review #

Total comments: 1

Patch Set 4 : back to tail eliding #

Patch Set 5 : move helper to mac only code #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -80 lines) Patch
M chrome/browser/ui/BUILD.gn View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/selected_keyword_decoration.mm View 1 2 3 4 2 chunks +24 lines, -3 lines 0 comments Download
D chrome/browser/ui/location_bar/location_bar_util.h View 1 2 3 4 1 chunk +0 lines, -17 lines 0 comments Download
D chrome/browser/ui/location_bar/location_bar_util.cc View 1 2 3 4 1 chunk +0 lines, -27 lines 0 comments Download
M chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc View 1 2 chunks +5 lines, -11 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.cc View 1 2 3 2 chunks +9 lines, -8 lines 0 comments Download
M chrome/browser/ui/views/location_bar/selected_keyword_view.cc View 1 2 3 4 4 chunks +11 lines, -12 lines 0 comments Download

Messages

Total messages: 28 (16 generated)
Evan Stade
https://codereview.chromium.org/2731113002/diff/20001/chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc File chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc (right): https://codereview.chromium.org/2731113002/diff/20001/chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc#newcode121 chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc:121: 0, width() - label_x - bubble_trailing_padding - kSpaceBesideSeparator); if ...
3 years, 9 months ago (2017-03-07 01:20:14 UTC) #4
Peter Kasting
LGTM https://codereview.chromium.org/2731113002/diff/20001/chrome/browser/ui/views/location_bar/location_bar_view.cc File chrome/browser/ui/views/location_bar/location_bar_view.cc (left): https://codereview.chromium.org/2731113002/diff/20001/chrome/browser/ui/views/location_bar/location_bar_view.cc#oldcode512 chrome/browser/ui/views/location_bar/location_bar_view.cc:512: const double kMaxBubbleFraction = 0.5; On 2017/03/07 01:20:14, ...
3 years, 9 months ago (2017-03-07 02:28:45 UTC) #6
Evan Stade
seems I broke this when "cleaning it up" for review. Sorry about that. https://codereview.chromium.org/2731113002/diff/20001/chrome/browser/ui/views/location_bar/selected_keyword_view.cc File ...
3 years, 9 months ago (2017-03-07 18:04:44 UTC) #9
Peter Kasting
https://codereview.chromium.org/2731113002/diff/20001/chrome/browser/ui/views/location_bar/selected_keyword_view.cc File chrome/browser/ui/views/location_bar/selected_keyword_view.cc (right): https://codereview.chromium.org/2731113002/diff/20001/chrome/browser/ui/views/location_bar/selected_keyword_view.cc#newcode86 chrome/browser/ui/views/location_bar/selected_keyword_view.cc:86: partial_label_.SetText(location_bar_util::CalculateMinString(short_name)); On 2017/03/07 18:04:44, Evan Stade wrote: > On ...
3 years, 9 months ago (2017-03-08 03:13:12 UTC) #10
Evan Stade
On 2017/03/08 03:13:12, Peter Kasting wrote: > https://codereview.chromium.org/2731113002/diff/20001/chrome/browser/ui/views/location_bar/selected_keyword_view.cc > File chrome/browser/ui/views/location_bar/selected_keyword_view.cc (right): > > https://codereview.chromium.org/2731113002/diff/20001/chrome/browser/ui/views/location_bar/selected_keyword_view.cc#newcode86 ...
3 years, 9 months ago (2017-03-08 18:32:16 UTC) #11
Evan Stade
it doesn't look like this is going to land all that soon and I'm about ...
3 years, 9 months ago (2017-03-08 19:13:27 UTC) #12
Peter Kasting
On 2017/03/08 18:32:16, Evan Stade wrote: > On 2017/03/08 03:13:12, Peter Kasting wrote: > > ...
3 years, 9 months ago (2017-03-08 22:00:15 UTC) #13
Evan Stade
On 2017/03/08 22:00:15, Peter Kasting wrote: > > On 2017/03/08 19:13:27, Evan Stade wrote: > ...
3 years, 9 months ago (2017-03-15 17:55:20 UTC) #15
Evan Stade
+tapted for c/b/ui/cocoa
3 years, 9 months ago (2017-03-15 18:02:29 UTC) #17
tapted
On 2017/03/15 18:02:29, Evan Stade wrote: > +tapted for c/b/ui/cocoa lgtm
3 years, 9 months ago (2017-03-15 22:33:40 UTC) #22
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/2731113002/80001
3 years, 9 months ago (2017-03-15 22:54:52 UTC) #25
commit-bot: I haz the power
3 years, 9 months ago (2017-03-15 23:13:27 UTC) #28
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/cdedb4788d9ead1bdb685cfa1e76...

Powered by Google App Engine
This is Rietveld 408576698