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

Issue 2449853008: Determine the Win10-specific Welcome page variant to display (Closed)

Created:
4 years, 1 month ago by Patrick Monette
Modified:
4 years, 1 month ago
CC:
arv+watch_chromium.org, chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Determine the Win10-specific Welcome page variant to display An asynchronous check to determine Chrome's pinned state is done in order to decide if the "Pin Chrome to taskbar" instructions should be displayed. BUG=648686 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/b9f756c3b1853a17cd4cfbfcb003f52bd2ae8083 Cr-Commit-Position: refs/heads/master@{#430793}

Patch Set 1 #

Total comments: 12

Patch Set 2 : Responding to comments #

Total comments: 6

Patch Set 3 : comments #2 #

Total comments: 2

Patch Set 4 : Nit #

Total comments: 7

Patch Set 5 : Nits + last minute request #

Total comments: 2

Patch Set 6 : Comments #

Total comments: 5

Patch Set 7 : More nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+208 lines, -19 lines) Patch
M chrome/browser/resources/welcome/win10/inline.js View 1 2 3 4 5 6 2 chunks +31 lines, -7 lines 0 comments Download
M chrome/browser/resources/welcome/win10/sectioned.js View 1 2 3 4 5 6 2 chunks +32 lines, -7 lines 0 comments Download
M chrome/browser/ui/startup/startup_features.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/startup/startup_features.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/welcome_win10_handler.h View 1 2 chunks +37 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/welcome_win10_handler.cc View 1 2 3 4 3 chunks +84 lines, -4 lines 0 comments Download
M chrome/browser/ui/webui/welcome_win10_ui.cc View 1 2 3 4 3 chunks +15 lines, -1 line 0 comments Download

Messages

Total messages: 40 (15 generated)
Patrick Monette
Hey Tommy! Care to take a look?
4 years, 1 month ago (2016-10-27 21:00:09 UTC) #4
tmartino
Looks great, just some minor stuff for clarity, and one idea for a perf improvement. ...
4 years, 1 month ago (2016-10-28 15:18:05 UTC) #5
Patrick Monette
Thanks for the comments. Take another look! https://codereview.chromium.org/2449853008/diff/20001/chrome/browser/resources/welcome/win10/inline.js File chrome/browser/resources/welcome/win10/inline.js (right): https://codereview.chromium.org/2449853008/diff/20001/chrome/browser/resources/welcome/win10/inline.js#newcode46 chrome/browser/resources/welcome/win10/inline.js:46: // Show ...
4 years, 1 month ago (2016-10-28 21:21:37 UTC) #8
tmartino
lgtm https://codereview.chromium.org/2449853008/diff/80001/chrome/browser/ui/webui/welcome_win10_handler.cc File chrome/browser/ui/webui/welcome_win10_handler.cc (right): https://codereview.chromium.org/2449853008/diff/80001/chrome/browser/ui/webui/welcome_win10_handler.cc#newcode16 chrome/browser/ui/webui/welcome_win10_handler.cc:16: // The check is started as early as ...
4 years, 1 month ago (2016-10-28 21:44:15 UTC) #9
Patrick Monette
tmartino@ Thanks for the review! Can you take a look please michaelpg@? https://codereview.chromium.org/2449853008/diff/80001/chrome/browser/ui/webui/welcome_win10_handler.cc File chrome/browser/ui/webui/welcome_win10_handler.cc ...
4 years, 1 month ago (2016-10-29 00:59:12 UTC) #11
michaelpg
lgtm https://codereview.chromium.org/2449853008/diff/100001/chrome/browser/ui/webui/welcome_win10_handler.cc File chrome/browser/ui/webui/welcome_win10_handler.cc (right): https://codereview.chromium.org/2449853008/diff/100001/chrome/browser/ui/webui/welcome_win10_handler.cc#newcode56 chrome/browser/ui/webui/welcome_win10_handler.cc:56: static constexpr base::TimeDelta kPinnedToTaskbarTimeout = so it seems ...
4 years, 1 month ago (2016-10-31 21:04:59 UTC) #12
Patrick Monette
Thanks! Hi pkasting@, can you take a look at startup_features please. https://codereview.chromium.org/2449853008/diff/100001/chrome/browser/ui/webui/welcome_win10_handler.cc File chrome/browser/ui/webui/welcome_win10_handler.cc (right): ...
4 years, 1 month ago (2016-10-31 22:33:49 UTC) #14
Peter Kasting
LGTM https://codereview.chromium.org/2449853008/diff/120001/chrome/browser/ui/webui/welcome_win10_handler.cc File chrome/browser/ui/webui/welcome_win10_handler.cc (right): https://codereview.chromium.org/2449853008/diff/120001/chrome/browser/ui/webui/welcome_win10_handler.cc#newcode43 chrome/browser/ui/webui/welcome_win10_handler.cc:43: CHECK_EQ(1U, args->GetSize()); Nit: Normally CHECK is only for ...
4 years, 1 month ago (2016-11-02 00:03:21 UTC) #15
michaelpg
/cc dbeam for interesting concerns about CHECKing args, which seems to only happen in Settings. ...
4 years, 1 month ago (2016-11-02 01:04:45 UTC) #16
Peter Kasting
On 2016/11/02 01:04:45, michaelpg wrote: > /cc dbeam for interesting concerns about CHECKing args, which ...
4 years, 1 month ago (2016-11-02 01:12:35 UTC) #17
Dan Beam
On 2016/11/02 01:12:35, Peter Kasting wrote: > On 2016/11/02 01:04:45, michaelpg wrote: > > /cc ...
4 years, 1 month ago (2016-11-02 01:19:06 UTC) #18
Dan Beam
On 2016/11/02 01:19:06, Dan Beam wrote: > On 2016/11/02 01:12:35, Peter Kasting wrote: > > ...
4 years, 1 month ago (2016-11-02 01:19:33 UTC) #19
Peter Kasting
On 2016/11/02 01:19:33, Dan Beam wrote: > On 2016/11/02 01:19:06, Dan Beam wrote: > > ...
4 years, 1 month ago (2016-11-02 01:26:49 UTC) #20
tmartino
Hey, sorry for the last-minute comment. Can we add a URL param to manually trigger ...
4 years, 1 month ago (2016-11-02 19:06:02 UTC) #21
Patrick Monette
Thanks Peter. Can you take a last look for the final addition michaelpg@? I implemented ...
4 years, 1 month ago (2016-11-02 20:48:42 UTC) #23
michaelpg
https://codereview.chromium.org/2449853008/diff/160001/chrome/browser/resources/welcome/win10/inline.js File chrome/browser/resources/welcome/win10/inline.js (right): https://codereview.chromium.org/2449853008/diff/160001/chrome/browser/resources/welcome/win10/inline.js#newcode49 chrome/browser/resources/welcome/win10/inline.js:49: if (window.location.href.includes('variant=defaultonly')) Please use URLSearchParams: https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/URLSearchParams (you can use ...
4 years, 1 month ago (2016-11-04 21:27:03 UTC) #28
Patrick Monette
https://codereview.chromium.org/2449853008/diff/160001/chrome/browser/resources/welcome/win10/inline.js File chrome/browser/resources/welcome/win10/inline.js (right): https://codereview.chromium.org/2449853008/diff/160001/chrome/browser/resources/welcome/win10/inline.js#newcode49 chrome/browser/resources/welcome/win10/inline.js:49: if (window.location.href.includes('variant=defaultonly')) On 2016/11/04 21:27:03, michaelpg wrote: > Please ...
4 years, 1 month ago (2016-11-04 22:56:12 UTC) #29
michaelpg
lgtm, but "if/if" should be "if/else if". https://codereview.chromium.org/2449853008/diff/180001/chrome/browser/resources/welcome/win10/inline.js File chrome/browser/resources/welcome/win10/inline.js (right): https://codereview.chromium.org/2449853008/diff/180001/chrome/browser/resources/welcome/win10/inline.js#newcode54 chrome/browser/resources/welcome/win10/inline.js:54: if (params.get('variant') ...
4 years, 1 month ago (2016-11-04 23:59:25 UTC) #30
michaelpg
https://codereview.chromium.org/2449853008/diff/180001/chrome/browser/resources/welcome/win10/inline.js File chrome/browser/resources/welcome/win10/inline.js (right): https://codereview.chromium.org/2449853008/diff/180001/chrome/browser/resources/welcome/win10/inline.js#newcode51 chrome/browser/resources/welcome/win10/inline.js:51: if (params.has('variant')) { also, making this key a constant ...
4 years, 1 month ago (2016-11-07 03:29:14 UTC) #31
Patrick Monette
Thanks PTAL https://codereview.chromium.org/2449853008/diff/180001/chrome/browser/resources/welcome/win10/inline.js File chrome/browser/resources/welcome/win10/inline.js (right): https://codereview.chromium.org/2449853008/diff/180001/chrome/browser/resources/welcome/win10/inline.js#newcode51 chrome/browser/resources/welcome/win10/inline.js:51: if (params.has('variant')) { On 2016/11/07 03:29:14, michaelpg ...
4 years, 1 month ago (2016-11-07 19:55:35 UTC) #32
michaelpg
slgtm i mean.. er... A++ and you don't have to take the midterm
4 years, 1 month ago (2016-11-08 23:25:12 UTC) #33
Patrick Monette
Thanks!
4 years, 1 month ago (2016-11-08 23:29:20 UTC) #34
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/2449853008/200001
4 years, 1 month ago (2016-11-08 23:29:53 UTC) #37
commit-bot: I haz the power
Committed patchset #7 (id:200001)
4 years, 1 month ago (2016-11-09 00:33:13 UTC) #38
commit-bot: I haz the power
4 years, 1 month ago (2016-11-09 00:40:56 UTC) #40
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/b9f756c3b1853a17cd4cfbfcb003f52bd2ae8083
Cr-Commit-Position: refs/heads/master@{#430793}

Powered by Google App Engine
This is Rietveld 408576698