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

Issue 1998493002: Update omnibox chips in MD (Closed)

Created:
4 years, 7 months ago by Evan Stade
Modified:
4 years, 7 months ago
Reviewers:
Peter Kasting, sky
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Update omnibox chips in MD BUG=612983 Committed: https://crrev.com/397c9b9f1eb15e4bf7dff5d0d10d9727479f6f4a Cr-Commit-Position: refs/heads/master@{#396176}

Patch Set 1 #

Patch Set 2 : cleaned up #

Patch Set 3 : ready #

Total comments: 1

Patch Set 4 : self review #

Patch Set 5 : self review 2 #

Total comments: 27

Patch Set 6 : calculations #

Patch Set 7 : fix keyword hint view #

Patch Set 8 : no but really fix tab key #

Patch Set 9 : rebase #

Patch Set 10 : rebase on top of icon change; fix incognito colors #

Patch Set 11 : slight refactor #

Total comments: 13

Patch Set 12 : rejigger #

Patch Set 13 : remove extra include #

Total comments: 13

Patch Set 14 : remove unused #

Patch Set 15 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+146 lines, -114 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/layout_constants.cc View 1 2 3 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/location_bar/icon_label_bubble_view.h View 1 2 10 1 chunk +0 lines, -8 lines 0 comments Download
M chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 10 chunks +54 lines, -34 lines 0 comments Download
M chrome/browser/ui/views/location_bar/keyword_hint_view.cc View 1 2 3 4 5 6 7 3 chunks +27 lines, -32 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.cc View 1 2 3 4 5 6 7 8 9 10 11 7 chunks +33 lines, -26 lines 0 comments Download
M chrome/browser/ui/views/location_bar/selected_keyword_view.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +13 lines, -10 lines 0 comments Download
M chrome/browser/ui/views/omnibox/omnibox_view_views.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -1 line 0 comments Download
M ui/gfx/canvas.h View 2 3 4 5 2 chunks +3 lines, -0 lines 0 comments Download
M ui/gfx/canvas.cc View 2 3 4 5 2 chunks +12 lines, -2 lines 0 comments Download

Messages

Total messages: 50 (16 generated)
Evan Stade
https://codereview.chromium.org/1998493002/diff/40001/chrome/browser/ui/views/location_bar/icon_label_bubble_view.h File chrome/browser/ui/views/location_bar/icon_label_bubble_view.h (left): https://codereview.chromium.org/1998493002/diff/40001/chrome/browser/ui/views/location_bar/icon_label_bubble_view.h#oldcode132 chrome/browser/ui/views/location_bar/icon_label_bubble_view.h:132: int builtin_trailing_padding_; I believe this is no longer necessary ...
4 years, 7 months ago (2016-05-19 21:20:45 UTC) #3
Evan Stade
https://codereview.chromium.org/1998493002/diff/80001/chrome/browser/ui/views/location_bar/icon_label_bubble_view.h File chrome/browser/ui/views/location_bar/icon_label_bubble_view.h (left): https://codereview.chromium.org/1998493002/diff/80001/chrome/browser/ui/views/location_bar/icon_label_bubble_view.h#oldcode32 chrome/browser/ui/views/location_bar/icon_label_bubble_view.h:32: class IconLabelBubbleView : public views::InkDropHostView { On 2016/05/19 21:20:45, ...
4 years, 7 months ago (2016-05-19 21:24:49 UTC) #4
Evan Stade
On 2016/05/19 21:24:49, Evan Stade wrote: > https://codereview.chromium.org/1998493002/diff/80001/chrome/browser/ui/views/location_bar/icon_label_bubble_view.h > File chrome/browser/ui/views/location_bar/icon_label_bubble_view.h (left): > > https://codereview.chromium.org/1998493002/diff/80001/chrome/browser/ui/views/location_bar/icon_label_bubble_view.h#oldcode32 ...
4 years, 7 months ago (2016-05-20 00:58:20 UTC) #5
Peter Kasting
https://codereview.chromium.org/1998493002/diff/80001/chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc File chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc (left): https://codereview.chromium.org/1998493002/diff/80001/chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc#oldcode104 chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc:104: &builtin_trailing_padding_); If this call is removed, GetVisibleMargins() can be ...
4 years, 7 months ago (2016-05-20 20:54:11 UTC) #6
Evan Stade
https://codereview.chromium.org/1998493002/diff/80001/chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc File chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc (left): https://codereview.chromium.org/1998493002/diff/80001/chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc#oldcode104 chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc:104: &builtin_trailing_padding_); On 2016/05/20 20:54:11, Peter Kasting wrote: > If ...
4 years, 7 months ago (2016-05-20 22:33:53 UTC) #7
Peter Kasting
https://codereview.chromium.org/1998493002/diff/80001/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/1998493002/diff/80001/chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc#newcode226 chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc:226: ui::MaterialDesignController::IsModeMaterial() ? 7 : 0; On 2016/05/20 22:33:53, Evan ...
4 years, 7 months ago (2016-05-20 22:44:57 UTC) #8
Evan Stade
I also changed the coloration of the separator based on discussions with Max. Removing GetVisibleMargins ...
4 years, 7 months ago (2016-05-23 21:24:13 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1998493002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1998493002/100001
4 years, 7 months ago (2016-05-23 21:24:41 UTC) #12
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios-device on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/10065) ios-device-gn on ...
4 years, 7 months ago (2016-05-23 21:26:46 UTC) #14
sky
LGTM
4 years, 7 months ago (2016-05-23 22:03:35 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1998493002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1998493002/140001
4 years, 7 months ago (2016-05-23 22:15:17 UTC) #17
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios-device on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/10103) ios-device-gn on ...
4 years, 7 months ago (2016-05-23 22:16:47 UTC) #19
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1998493002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1998493002/160001
4 years, 7 months ago (2016-05-23 22:23:55 UTC) #21
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-23 23:40:25 UTC) #23
Peter Kasting
https://codereview.chromium.org/1998493002/diff/200001/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/1998493002/diff/200001/chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc#newcode305 chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc:305: views::Textfield::kTextPadding; Is this calculation correct for the blocked popup ...
4 years, 7 months ago (2016-05-25 00:03:27 UTC) #24
Evan Stade
https://codereview.chromium.org/1998493002/diff/200001/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/1998493002/diff/200001/chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc#newcode305 chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc:305: views::Textfield::kTextPadding; On 2016/05/25 00:03:27, Peter Kasting wrote: > Is ...
4 years, 7 months ago (2016-05-25 20:03:44 UTC) #25
Evan Stade
4 years, 7 months ago (2016-05-25 20:07:16 UTC) #26
Peter Kasting
https://codereview.chromium.org/1998493002/diff/200001/chrome/browser/ui/views/location_bar/keyword_hint_view.cc File chrome/browser/ui/views/location_bar/keyword_hint_view.cc (right): https://codereview.chromium.org/1998493002/diff/200001/chrome/browser/ui/views/location_bar/keyword_hint_view.cc#newcode85 chrome/browser/ui/views/location_bar/keyword_hint_view.cc:85: inverted ? SK_ColorWHITE : SkColorSetA(text_color, 0x13); On 2016/05/25 20:03:44, ...
4 years, 7 months ago (2016-05-25 20:23:03 UTC) #27
Evan Stade
https://codereview.chromium.org/1998493002/diff/200001/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/1998493002/diff/200001/chrome/browser/ui/views/location_bar/selected_keyword_view.cc#newcode61 chrome/browser/ui/views/location_bar/selected_keyword_view.cc:61: ? ui::NativeTheme::kColorId_TextfieldDefaultColor On 2016/05/25 20:23:02, Peter Kasting wrote: > ...
4 years, 7 months ago (2016-05-25 21:03:26 UTC) #28
Peter Kasting
LGTM https://codereview.chromium.org/1998493002/diff/240001/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/1998493002/diff/240001/chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc#newcode316 chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc:316: gfx::RectF bounds(GetLocalBounds()); On 2016/05/25 21:03:26, Evan Stade wrote: ...
4 years, 7 months ago (2016-05-25 21:24:17 UTC) #29
Evan Stade
https://codereview.chromium.org/1998493002/diff/240001/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/1998493002/diff/240001/chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc#newcode316 chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc:316: gfx::RectF bounds(GetLocalBounds()); On 2016/05/25 21:24:17, Peter Kasting wrote: > ...
4 years, 7 months ago (2016-05-25 21:43:08 UTC) #30
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1998493002/260001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1998493002/260001
4 years, 7 months ago (2016-05-25 21:44:04 UTC) #32
Peter Kasting
https://codereview.chromium.org/1998493002/diff/240001/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/1998493002/diff/240001/chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc#newcode316 chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc:316: gfx::RectF bounds(GetLocalBounds()); On 2016/05/25 21:43:08, Evan Stade wrote: > ...
4 years, 7 months ago (2016-05-25 21:54:12 UTC) #33
Evan Stade
https://codereview.chromium.org/1998493002/diff/240001/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/1998493002/diff/240001/chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc#newcode316 chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc:316: gfx::RectF bounds(GetLocalBounds()); On 2016/05/25 21:54:12, Peter Kasting wrote: > ...
4 years, 7 months ago (2016-05-25 22:32:43 UTC) #34
Peter Kasting
https://codereview.chromium.org/1998493002/diff/240001/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/1998493002/diff/240001/chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc#newcode316 chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc:316: gfx::RectF bounds(GetLocalBounds()); On 2016/05/25 22:32:43, Evan Stade wrote: > ...
4 years, 7 months ago (2016-05-25 22:44:33 UTC) #35
Evan Stade
> Do you get the right answer if you just replace all the floats with ...
4 years, 7 months ago (2016-05-25 23:19:58 UTC) #36
commit-bot: I haz the power
Dry run: None
4 years, 7 months ago (2016-05-25 23:20:30 UTC) #37
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1998493002/280001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1998493002/280001
4 years, 7 months ago (2016-05-25 23:31:35 UTC) #39
Peter Kasting
LGTM
4 years, 7 months ago (2016-05-26 00:41:08 UTC) #40
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-26 01:35:08 UTC) #42
commit-bot: I haz the power
Dry run: None
4 years, 7 months ago (2016-05-26 01:35:25 UTC) #43
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1998493002/280001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1998493002/280001
4 years, 7 months ago (2016-05-26 15:14:02 UTC) #46
commit-bot: I haz the power
Committed patchset #15 (id:280001)
4 years, 7 months ago (2016-05-26 15:29:15 UTC) #48
commit-bot: I haz the power
4 years, 7 months ago (2016-05-26 15:31:01 UTC) #50
Message was sent while issue was closed.
Patchset 15 (id:??) landed as
https://crrev.com/397c9b9f1eb15e4bf7dff5d0d10d9727479f6f4a
Cr-Commit-Position: refs/heads/master@{#396176}

Powered by Google App Engine
This is Rietveld 408576698