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

Issue 2510373003: Cleanup: Remove "gray text" logic from Omnibox (Closed)

Created:
4 years, 1 month ago by Marc Treib
Modified:
4 years ago
CC:
chromium-reviews, tfarina, James Su
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Cleanup: Remove "gray text" logic from Omnibox BUG=627747 Committed: https://crrev.com/1ca95c7cfa0a17fec86196cd8d37d24c2f1c65d7 Cr-Commit-Position: refs/heads/master@{#434156}

Patch Set 1 #

Patch Set 2 : remove in_revert #

Patch Set 3 : mac #

Total comments: 6

Patch Set 4 : review (non-mac) #

Patch Set 5 : review (mac) #

Total comments: 2

Patch Set 6 : review2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -345 lines) Patch
M chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.h View 1 2 3 4 2 chunks +0 lines, -23 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.mm View 1 2 3 4 3 chunks +0 lines, -64 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_editor.mm View 1 2 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_editor_unittest.mm View 1 2 1 chunk +0 lines, -9 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_unittest.mm View 1 2 1 chunk +0 lines, -9 lines 0 comments Download
M chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h View 1 2 3 4 2 chunks +0 lines, -4 lines 0 comments Download
M chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm View 1 2 2 chunks +0 lines, -22 lines 0 comments Download
M chrome/browser/ui/cocoa/omnibox/omnibox_view_mac_unittest.mm View 1 2 1 chunk +0 lines, -29 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.h View 1 2 3 3 chunks +0 lines, -13 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.cc View 1 2 3 4 5 5 chunks +0 lines, -86 lines 0 comments Download
M chrome/browser/ui/views/omnibox/omnibox_view_views.h View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/omnibox/omnibox_view_views.cc View 2 chunks +0 lines, -25 lines 0 comments Download
M components/omnibox/browser/omnibox_edit_model.h View 1 2 3 4 5 4 chunks +0 lines, -10 lines 0 comments Download
M components/omnibox/browser/omnibox_edit_model.cc View 1 2 3 4 5 6 chunks +3 lines, -33 lines 0 comments Download
M components/omnibox/browser/omnibox_edit_unittest.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M components/omnibox/browser/omnibox_view.h View 1 chunk +0 lines, -6 lines 0 comments Download

Messages

Total messages: 40 (30 generated)
Marc Treib
Finally found some time for this :) PTAL!
4 years, 1 month ago (2016-11-21 09:45:30 UTC) #6
Peter Kasting
Thanks so much for doing this! Excited to see this get ripped out. Be sure ...
4 years, 1 month ago (2016-11-21 21:11:43 UTC) #7
Marc Treib
Thanks! All addressed. https://codereview.chromium.org/2510373003/diff/40001/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.mm File chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.mm (left): https://codereview.chromium.org/2510373003/diff/40001/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.mm#oldcode289 chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.mm:289: suggestText_.reset([suggestText retain]); On 2016/11/21 21:11:43, Peter ...
4 years, 1 month ago (2016-11-22 10:35:30 UTC) #10
Marc Treib
+shess - Scott, could you double-check the cocoa changes please? Thanks!
4 years, 1 month ago (2016-11-22 11:04:50 UTC) #12
Scott Hess - ex-Googler
LGTM for cocoa/ [AFAICT with a quick glance, I don't think there were forgotten bits ...
4 years, 1 month ago (2016-11-22 19:21:59 UTC) #15
Peter Kasting
LGTM! https://codereview.chromium.org/2510373003/diff/80001/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/2510373003/diff/80001/chrome/browser/ui/views/location_bar/location_bar_view.cc#newcode655 chrome/browser/ui/views/location_bar/location_bar_view.cc:655: omnibox_view_->SetBorder(views::CreateEmptyBorder(0, 0, 0, 0)); Just remove this line, ...
4 years, 1 month ago (2016-11-22 19:50:33 UTC) #16
Marc Treib
https://codereview.chromium.org/2510373003/diff/80001/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/2510373003/diff/80001/chrome/browser/ui/views/location_bar/location_bar_view.cc#newcode655 chrome/browser/ui/views/location_bar/location_bar_view.cc:655: omnibox_view_->SetBorder(views::CreateEmptyBorder(0, 0, 0, 0)); On 2016/11/22 19:50:33, Peter Kasting ...
4 years, 1 month ago (2016-11-23 09:54:51 UTC) #17
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/2510373003/100001
4 years ago (2016-11-23 13:39:55 UTC) #36
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years ago (2016-11-23 13:44:10 UTC) #38
commit-bot: I haz the power
4 years ago (2016-11-23 13:46:14 UTC) #40
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/1ca95c7cfa0a17fec86196cd8d37d24c2f1c65d7
Cr-Commit-Position: refs/heads/master@{#434156}

Powered by Google App Engine
This is Rietveld 408576698