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

Issue 1748773002: Simplify the default browser infobar. (Closed)

Created:
4 years, 9 months ago by grt (UTC plus 2)
Modified:
4 years, 8 months ago
Reviewers:
msw, gab, Nicolas Zea, rkaplow
CC:
chromium-reviews, tim+watch_chromium.org, dbeam+watch-options_chromium.org, michaelpg+watch-options_chromium.org, zea+watch_chromium.org, michaelpg+watch-md-settings_chromium.org, maxbogue+watch_chromium.org, plaree+watch_chromium.org, dbeam+watch-settings_chromium.org, stevenjb+watch-md-settings_chromium.org, Pam (message me for reviews)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Simplify the default browser infobar. - Changes the names of the histograms and user actions so that they reflect the action the user made rather than the behavior of the buttons. - Cleans up the InfoBarDelegate implementation a bit. - Introduces a Win10+ string for the OK/Accept button's label (currently the same as the original label) to enable experimentation. - Adds support for refreshing the infobar after a configurable number of days has elapsed. BUG=589128 Committed: https://crrev.com/a872c10d41b21c4e46347c4a7866e141013c59e5 Cr-Commit-Position: refs/heads/master@{#386726}

Patch Set 1 #

Total comments: 2

Patch Set 2 : handle version-specific suppression before checking the feature #

Patch Set 3 : sync to position 379825 #

Total comments: 17

Patch Set 4 : msw comments #

Patch Set 5 : new approach without ditching the cancel button #

Total comments: 7

Patch Set 6 : fieldtrial testing #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+151 lines, -70 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 1 chunk +7 lines, -2 lines 0 comments Download
M chrome/browser/prefs/browser_prefs.cc View 1 2 3 4 4 chunks +20 lines, -0 lines 2 comments Download
M chrome/browser/sync/test/integration/two_client_preferences_sync_test.cc View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/browser_ui_prefs.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/startup/default_browser_prompt.cc View 1 2 3 4 12 chunks +89 lines, -54 lines 0 comments Download
M chrome/common/pref_names.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 4 1 chunk +6 lines, -5 lines 0 comments Download
M testing/variations/fieldtrial_testing_config_win.json View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M tools/metrics/actions/actions.xml View 1 2 3 4 1 chunk +15 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 1 chunk +4 lines, -4 lines 0 comments Download

Messages

Total messages: 65 (30 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1748773002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1748773002/1
4 years, 9 months ago (2016-02-29 20:48:09 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromeos_amd64-generic_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_amd64-generic_chromium_compile_only_ng/builds/100367) chromeos_daisy_chromium_compile_only_ng on ...
4 years, 9 months ago (2016-02-29 21:15:00 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1748773002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1748773002/20001
4 years, 9 months ago (2016-03-01 15:37:59 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromeos_amd64-generic_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_amd64-generic_chromium_compile_only_ng/builds/100827) chromeos_daisy_chromium_compile_only_ng on ...
4 years, 9 months ago (2016-03-01 15:55:11 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1748773002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1748773002/40001
4 years, 9 months ago (2016-03-02 17:32:27 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/1748773002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1748773002/80001
4 years, 9 months ago (2016-03-06 01:40:12 UTC) #17
grt (UTC plus 2)
Reviews please: rkaplow: use of feature list + variations in default_browser_prompt.cc plus the change to ...
4 years, 9 months ago (2016-03-06 02:03:05 UTC) #20
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/184693)
4 years, 9 months ago (2016-03-06 02:35:27 UTC) #22
rkaplow
lgtm feature/actions lgtm https://codereview.chromium.org/1748773002/diff/80001/chrome/browser/ui/startup/default_browser_prompt.cc File chrome/browser/ui/startup/default_browser_prompt.cc (right): https://codereview.chromium.org/1748773002/diff/80001/chrome/browser/ui/startup/default_browser_prompt.cc#newcode292 chrome/browser/ui/startup/default_browser_prompt.cc:292: const std::string disable_version_string = don't think ...
4 years, 9 months ago (2016-03-07 16:10:41 UTC) #23
grt (UTC plus 2)
https://codereview.chromium.org/1748773002/diff/80001/chrome/browser/ui/startup/default_browser_prompt.cc File chrome/browser/ui/startup/default_browser_prompt.cc (right): https://codereview.chromium.org/1748773002/diff/80001/chrome/browser/ui/startup/default_browser_prompt.cc#newcode292 chrome/browser/ui/startup/default_browser_prompt.cc:292: const std::string disable_version_string = On 2016/03/07 16:10:40, rkaplow wrote: ...
4 years, 9 months ago (2016-03-07 18:41:10 UTC) #24
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1748773002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1748773002/120001
4 years, 9 months ago (2016-03-08 16:40:50 UTC) #26
Nicolas Zea
sync LGTM
4 years, 9 months ago (2016-03-08 17:28:28 UTC) #27
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-08 17:34:25 UTC) #29
msw
I'd like to see PM/UX feedback on your proposal (on the bug). https://codereview.chromium.org/1748773002/diff/120001/chrome/browser/ui/browser_ui_prefs.cc File chrome/browser/ui/browser_ui_prefs.cc ...
4 years, 9 months ago (2016-03-08 18:01:03 UTC) #30
grt (UTC plus 2)
Thanks for the review. I've asked UX to confirm on the bug (which was filed ...
4 years, 9 months ago (2016-03-11 16:04:31 UTC) #31
msw
lgtm https://codereview.chromium.org/1748773002/diff/120001/chrome/browser/ui/startup/default_browser_prompt.cc File chrome/browser/ui/startup/default_browser_prompt.cc (right): https://codereview.chromium.org/1748773002/diff/120001/chrome/browser/ui/startup/default_browser_prompt.cc#newcode244 chrome/browser/ui/startup/default_browser_prompt.cc:244: "DefaultBrowserInfobarRefresh", "PeriodDays"), On 2016/03/11 16:04:31, grt (very slow) ...
4 years, 9 months ago (2016-03-14 17:21:18 UTC) #32
grt (UTC plus 2)
Pinging Pam for owners review in chrome/browser/prefs/*. Thanks.
4 years, 9 months ago (2016-03-14 18:17:28 UTC) #33
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1748773002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1748773002/160001
4 years, 8 months ago (2016-04-11 17:01:43 UTC) #36
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_compile_dbg_32_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_32_ng/builds/185264)
4 years, 8 months ago (2016-04-11 17:39:01 UTC) #38
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1748773002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1748773002/180001
4 years, 8 months ago (2016-04-11 18:20:24 UTC) #40
grt (UTC plus 2)
Sending back out for final review. Please take another look, as the cancel button is ...
4 years, 8 months ago (2016-04-11 18:25:14 UTC) #42
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-11 19:53:08 UTC) #44
msw
https://codereview.chromium.org/1748773002/diff/180001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/1748773002/diff/180001/chrome/app/generated_resources.grd#newcode11096 chrome/app/generated_resources.grd:11096: + Set as default Do we plan to actually ...
4 years, 8 months ago (2016-04-11 21:54:27 UTC) #45
rkaplow
https://codereview.chromium.org/1748773002/diff/180001/chrome/browser/ui/startup/default_browser_prompt.cc File chrome/browser/ui/startup/default_browser_prompt.cc (right): https://codereview.chromium.org/1748773002/diff/180001/chrome/browser/ui/startup/default_browser_prompt.cc#newcode61 chrome/browser/ui/startup/default_browser_prompt.cc:61: ACCEPT_INFO_BAR = 0, since you're renaming here, I would ...
4 years, 8 months ago (2016-04-11 22:16:29 UTC) #46
grt (UTC plus 2)
Thanks for the comments, folks. Back to you. https://codereview.chromium.org/1748773002/diff/180001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/1748773002/diff/180001/chrome/app/generated_resources.grd#newcode11096 chrome/app/generated_resources.grd:11096: + ...
4 years, 8 months ago (2016-04-12 13:14:45 UTC) #47
rkaplow
On 2016/04/12 13:14:45, grt (very slow) wrote: > Thanks for the comments, folks. Back to ...
4 years, 8 months ago (2016-04-12 14:09:26 UTC) #48
rkaplow
lgtm
4 years, 8 months ago (2016-04-12 14:09:48 UTC) #49
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1748773002/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1748773002/200001
4 years, 8 months ago (2016-04-12 15:11:48 UTC) #51
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-12 16:22:38 UTC) #53
msw
lgtm https://codereview.chromium.org/1748773002/diff/180001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/1748773002/diff/180001/chrome/app/generated_resources.grd#newcode11096 chrome/app/generated_resources.grd:11096: + Set as default On 2016/04/12 13:14:45, grt ...
4 years, 8 months ago (2016-04-12 16:40:43 UTC) #54
gab
prefs lgtm w/ question https://codereview.chromium.org/1748773002/diff/200001/chrome/browser/prefs/browser_prefs.cc File chrome/browser/prefs/browser_prefs.cc (right): https://codereview.chromium.org/1748773002/diff/200001/chrome/browser/prefs/browser_prefs.cc#newcode689 chrome/browser/prefs/browser_prefs.cc:689: metrics_service When would there ever ...
4 years, 8 months ago (2016-04-12 17:09:37 UTC) #56
grt (UTC plus 2)
Thanks for the quick review, Gab! https://codereview.chromium.org/1748773002/diff/200001/chrome/browser/prefs/browser_prefs.cc File chrome/browser/prefs/browser_prefs.cc (right): https://codereview.chromium.org/1748773002/diff/200001/chrome/browser/prefs/browser_prefs.cc#newcode689 chrome/browser/prefs/browser_prefs.cc:689: metrics_service On 2016/04/12 ...
4 years, 8 months ago (2016-04-12 17:12:46 UTC) #58
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1748773002/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1748773002/200001
4 years, 8 months ago (2016-04-12 17:13:26 UTC) #61
commit-bot: I haz the power
Committed patchset #6 (id:200001)
4 years, 8 months ago (2016-04-12 17:21:09 UTC) #63
commit-bot: I haz the power
4 years, 8 months ago (2016-04-12 17:23:22 UTC) #65
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/a872c10d41b21c4e46347c4a7866e141013c59e5
Cr-Commit-Position: refs/heads/master@{#386726}

Powered by Google App Engine
This is Rietveld 408576698