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

Issue 287543002: Remove origin chip v1 and "hide on input" v2 behavior. (Closed)

Created:
6 years, 7 months ago by Peter Kasting
Modified:
6 years, 7 months ago
Reviewers:
Jered, Justin Donnelly
CC:
chromium-reviews, skanuj+watch_chromium.org, melevin+watch_chromium.org, dhollowa+watch_chromium.org, dougw+watch_chromium.org, donnd+watch_chromium.org, dominich, jfweitz+watch_chromium.org, David Black, samarth+watch_chromium.org, tfarina, kmadhusu+watch_chromium.org, James Su, Alexei Svitkine (slow)
Visibility:
Public.

Description

Remove origin chip v1 and "hide on input" v2 behavior. Eliminates "V2" from all origin chip v2 code/names except the field trial flag name (so as not to screw up in-process field trials). Eliminates "hide on" flags and just uses a single "enabled" flag for v2. BUG=none TEST=Only one origin chip flag appears in about:flags. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=271746

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : Fix test compile #

Total comments: 21

Patch Set 5 : Respond to review feedback #

Patch Set 6 : Re-enable tests #

Patch Set 7 : #

Patch Set 8 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+116 lines, -978 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +8 lines, -26 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 3 4 5 6 7 2 chunks +4 lines, -25 lines 0 comments Download
M chrome/browser/search/search.h View 1 2 3 4 2 chunks +7 lines, -29 lines 0 comments Download
M chrome/browser/search/search.cc View 1 2 3 4 5 6 7 3 chunks +7 lines, -40 lines 0 comments Download
M chrome/browser/search/search_unittest.cc View 1 2 3 4 1 chunk +18 lines, -132 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/location_bar/location_icon_decoration.mm View 1 chunk +5 lines, -9 lines 0 comments Download
M chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/omnibox/omnibox_edit_model.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/omnibox/omnibox_view.cc View 1 2 1 chunk +4 lines, -9 lines 0 comments Download
M chrome/browser/ui/toolbar/toolbar_model.cc View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/ui/toolbar/toolbar_model_impl.cc View 1 2 3 4 2 chunks +5 lines, -10 lines 0 comments Download
M chrome/browser/ui/toolbar/toolbar_model_unittest.cc View 1 2 3 4 5 10 chunks +35 lines, -54 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.h View 1 2 3 4 5 6 7 4 chunks +2 lines, -14 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.cc View 1 2 3 4 5 6 7 7 chunks +6 lines, -25 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_icon_view.cc View 1 2 3 4 2 chunks +2 lines, -6 lines 0 comments Download
M chrome/browser/ui/views/omnibox/omnibox_view_views.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -3 lines 0 comments Download
D chrome/browser/ui/views/toolbar/toolbar_origin_chip_view.h View 1 chunk +0 lines, -110 lines 0 comments Download
D chrome/browser/ui/views/toolbar/toolbar_origin_chip_view.cc View 1 chunk +0 lines, -383 lines 0 comments Download
M chrome/browser/ui/views/toolbar/toolbar_view.h View 1 2 3 4 5 6 7 3 chunks +0 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/toolbar/toolbar_view.cc View 1 2 3 4 5 6 7 10 chunks +0 lines, -54 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 6 7 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 5 6 7 2 chunks +2 lines, -9 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 5 6 7 4 chunks +3 lines, -28 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
Peter Kasting
6 years, 7 months ago (2014-05-13 01:56:05 UTC) #1
Greg Billock
Good. I was just telling Justin we should scrap v1 -- I don't see any ...
6 years, 7 months ago (2014-05-13 16:46:10 UTC) #2
Peter Kasting
Added Alexei in hopes he can answer the question I pose below. https://codereview.chromium.org/287543002/diff/60001/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc ...
6 years, 7 months ago (2014-05-13 20:30:51 UTC) #3
Alexei Svitkine (slow)
https://codereview.chromium.org/287543002/diff/60001/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): https://codereview.chromium.org/287543002/diff/60001/chrome/browser/about_flags.cc#newcode1650 chrome/browser/about_flags.cc:1650: "origin-chip-in-omnibox", On 2014/05/13 20:30:52, Peter Kasting wrote: > Alexei, ...
6 years, 7 months ago (2014-05-13 20:49:41 UTC) #4
Justin Donnelly
I'm kind of disappointed. I was looking forward to deleting this code myself. :) But ...
6 years, 7 months ago (2014-05-13 22:19:33 UTC) #5
Peter Kasting
New snap up, PTAL. > You mind also moving chrome/browser/ui/toolbar/origin_chip_info.{h,cc} into > chrome/browser/ui/omnibox? I left ...
6 years, 7 months ago (2014-05-14 00:28:10 UTC) #6
Justin Donnelly
LGTM https://codereview.chromium.org/287543002/diff/60001/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): https://codereview.chromium.org/287543002/diff/60001/chrome/browser/about_flags.cc#newcode365 chrome/browser/about_flags.cc:365: { IDS_FLAGS_ORIGIN_CHIP_ON_SRP, switches::kEnableOriginChipOnSrp, ""} On 2014/05/14 00:28:11, Peter ...
6 years, 7 months ago (2014-05-14 16:31:42 UTC) #7
Peter Kasting
+jered for chrome/browser/search/ OWNERS I re-enabled the toolbar model tests. https://codereview.chromium.org/287543002/diff/60001/chrome/browser/search/search.h File chrome/browser/search/search.h (right): https://codereview.chromium.org/287543002/diff/60001/chrome/browser/search/search.h#newcode192 ...
6 years, 7 months ago (2014-05-14 22:55:33 UTC) #8
Peter Kasting
Ping: Jered, review?
6 years, 7 months ago (2014-05-17 01:14:00 UTC) #9
Jered
On 2014/05/17 01:14:00, Peter Kasting wrote: > Ping: Jered, review? search lgtm
6 years, 7 months ago (2014-05-19 16:38:41 UTC) #10
Peter Kasting
The CQ bit was checked by pkasting@chromium.org
6 years, 7 months ago (2014-05-19 17:44:23 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkasting@chromium.org/287543002/140001
6 years, 7 months ago (2014-05-19 17:44:57 UTC) #12
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-19 21:02:00 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-19 22:24:54 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_triggered_tests on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_dbg_triggered_tests/builds/155098)
6 years, 7 months ago (2014-05-19 22:24:55 UTC) #15
Peter Kasting
The CQ bit was checked by pkasting@chromium.org
6 years, 7 months ago (2014-05-20 18:29:52 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkasting@chromium.org/287543002/140001
6 years, 7 months ago (2014-05-20 18:30:23 UTC) #17
commit-bot: I haz the power
6 years, 7 months ago (2014-05-20 21:12:52 UTC) #18
Message was sent while issue was closed.
Change committed as 271746

Powered by Google App Engine
This is Rietveld 408576698