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

Issue 2794763002: New Sad Tab strings. (Closed)

Created:
3 years, 8 months ago by Will Harris
Modified:
3 years, 7 months ago
Reviewers:
sky
CC:
chromium-reviews, tfarina
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

New Sad Tab strings. Please see the mocks linked from the bug. BUG=698368 Review-Url: https://codereview.chromium.org/2794763002 Cr-Commit-Position: refs/heads/master@{#473122} Committed: https://chromium.googlesource.com/chromium/src/+/ea59f2a232599839afca88f6f71f18a8e5f624de

Patch Set 1 #

Patch Set 2 : add bullets #

Total comments: 8

Patch Set 3 : rebase #

Patch Set 4 : right number of spaces as per UI review #

Total comments: 15

Patch Set 5 : add tab count detection. code review changes. #

Patch Set 6 : replace spaces with a gridlayout bulletedview #

Patch Set 7 : tweak spacing values as per final UI review #

Patch Set 8 : final tweak from the denizens of UI review #

Total comments: 2

Patch Set 9 : remove nested view #

Total comments: 4

Patch Set 10 : remove braces #

Patch Set 11 : fix compile errors on mac/linux #

Patch Set 12 : msvc compile fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+126 lines, -10 lines) Patch
M chrome/browser/ui/sad_tab.h View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/sad_tab.cc View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +66 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/sad_tab_view.h View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/sad_tab_view.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +53 lines, -7 lines 0 comments Download

Messages

Total messages: 41 (14 generated)
Will Harris
hi Allen, can you take a look at my feeble attempt to add some views ...
3 years, 8 months ago (2017-04-03 19:49:19 UTC) #3
kylix_rd
Will need an OWNER for the approval, but these are my initial comments. https://codereview.chromium.org/2794763002/diff/20001/chrome/browser/ui/views/sad_tab_view.cc File ...
3 years, 8 months ago (2017-04-04 20:59:07 UTC) #4
Will Harris
thanks, looking for more advice on how to create the gridlayout or whatever it needs ...
3 years, 8 months ago (2017-04-05 20:01:06 UTC) #5
kylix_rd
https://codereview.chromium.org/2794763002/diff/20001/chrome/browser/ui/views/sad_tab_view.cc File chrome/browser/ui/views/sad_tab_view.cc (right): https://codereview.chromium.org/2794763002/diff/20001/chrome/browser/ui/views/sad_tab_view.cc#newcode95 chrome/browser/ui/views/sad_tab_view.cc:95: bullet_string = L" \u2022 " + bullet_string; On 2017/04/05 ...
3 years, 8 months ago (2017-04-07 15:47:23 UTC) #6
Will Harris
hi edwardjung - I'm looking for concrete suggestions on how to achieve what I want ...
3 years, 8 months ago (2017-04-18 17:20:25 UTC) #8
edwardjung
On 2017/04/18 17:20:25, Will Harris wrote: > hi edwardjung - I'm looking for concrete suggestions ...
3 years, 8 months ago (2017-04-19 20:52:46 UTC) #9
Will Harris
On 2017/04/19 20:52:46, edwardjung wrote: > On 2017/04/18 17:20:25, Will Harris wrote: > > hi ...
3 years, 8 months ago (2017-04-19 21:29:24 UTC) #10
edwardjung
I contacted srahim@ our UX writer and she's getting the final bullet spec and will ...
3 years, 8 months ago (2017-04-24 09:43:56 UTC) #11
Will Harris
On 2017/04/24 09:43:56, edwardjung wrote: > I contacted srahim@ our UX writer and she's getting ...
3 years, 7 months ago (2017-05-12 19:32:07 UTC) #15
sky
https://codereview.chromium.org/2794763002/diff/60001/chrome/browser/ui/sad_tab.cc File chrome/browser/ui/sad_tab.cc (right): https://codereview.chromium.org/2794763002/diff/60001/chrome/browser/ui/sad_tab.cc#newcode123 chrome/browser/ui/sad_tab.cc:123: else chromium style guide says no else after return. ...
3 years, 7 months ago (2017-05-14 13:46:16 UTC) #16
Will Harris
Done. I have a question/comment on the spaces... PTAL and give candid opinion :) https://codereview.chromium.org/2794763002/diff/60001/chrome/browser/ui/sad_tab.cc ...
3 years, 7 months ago (2017-05-17 18:25:19 UTC) #18
sky
https://codereview.chromium.org/2794763002/diff/60001/chrome/browser/ui/views/sad_tab_view.cc File chrome/browser/ui/views/sad_tab_view.cc (right): https://codereview.chromium.org/2794763002/diff/60001/chrome/browser/ui/views/sad_tab_view.cc#newcode91 chrome/browser/ui/views/sad_tab_view.cc:91: message = new views::Label(bullet_string); On 2017/05/17 18:25:19, Will Harris ...
3 years, 7 months ago (2017-05-17 19:11:41 UTC) #19
srahim
On 2017/05/17 19:11:41, sky wrote: > https://codereview.chromium.org/2794763002/diff/60001/chrome/browser/ui/views/sad_tab_view.cc > File chrome/browser/ui/views/sad_tab_view.cc (right): > > https://codereview.chromium.org/2794763002/diff/60001/chrome/browser/ui/views/sad_tab_view.cc#newcode91 > ...
3 years, 7 months ago (2017-05-17 20:20:05 UTC) #20
Will Harris
On 2017/05/17 19:11:41, sky wrote: > I would rather see you do it correctly than ...
3 years, 7 months ago (2017-05-17 22:21:29 UTC) #21
sky
https://codereview.chromium.org/2794763002/diff/160001/chrome/browser/ui/views/sad_tab_view.cc File chrome/browser/ui/views/sad_tab_view.cc (right): https://codereview.chromium.org/2794763002/diff/160001/chrome/browser/ui/views/sad_tab_view.cc#newcode50 chrome/browser/ui/views/sad_tab_view.cc:50: views::ColumnSet* column_set = layout->AddColumnSet(0); Creating another view will certainly ...
3 years, 7 months ago (2017-05-18 16:10:06 UTC) #22
sky
And thanks for taking the time to figure it out Will!
3 years, 7 months ago (2017-05-18 16:10:20 UTC) #23
Will Harris
https://codereview.chromium.org/2794763002/diff/160001/chrome/browser/ui/views/sad_tab_view.cc File chrome/browser/ui/views/sad_tab_view.cc (right): https://codereview.chromium.org/2794763002/diff/160001/chrome/browser/ui/views/sad_tab_view.cc#newcode50 chrome/browser/ui/views/sad_tab_view.cc:50: views::ColumnSet* column_set = layout->AddColumnSet(0); On 2017/05/18 16:10:06, sky wrote: ...
3 years, 7 months ago (2017-05-18 17:13:29 UTC) #24
Will Harris
On 2017/05/18 17:13:29, Will Harris wrote: > https://codereview.chromium.org/2794763002/diff/160001/chrome/browser/ui/views/sad_tab_view.cc > File chrome/browser/ui/views/sad_tab_view.cc (right): > > https://codereview.chromium.org/2794763002/diff/160001/chrome/browser/ui/views/sad_tab_view.cc#newcode50 ...
3 years, 7 months ago (2017-05-18 17:17:41 UTC) #25
sky
Line 19 in your patch seems unnecessary. You start a row (line 19), and then ...
3 years, 7 months ago (2017-05-18 19:36:22 UTC) #26
Will Harris
On 2017/05/18 19:36:22, sky wrote: > Line 19 in your patch seems unnecessary. You start ...
3 years, 7 months ago (2017-05-18 19:49:36 UTC) #27
Will Harris
okay this seems to work. thanks for the help! PTAL.
3 years, 7 months ago (2017-05-18 20:48:51 UTC) #28
sky
Yay! LGTM https://codereview.chromium.org/2794763002/diff/180001/chrome/browser/ui/views/sad_tab_view.cc File chrome/browser/ui/views/sad_tab_view.cc (right): https://codereview.chromium.org/2794763002/diff/180001/chrome/browser/ui/views/sad_tab_view.cc#newcode41 chrome/browser/ui/views/sad_tab_view.cc:41: label->SetEnabled(false); I don't think you need this. ...
3 years, 7 months ago (2017-05-18 20:53:36 UTC) #29
Will Harris
thanks for patience while reviewing. https://codereview.chromium.org/2794763002/diff/180001/chrome/browser/ui/views/sad_tab_view.cc File chrome/browser/ui/views/sad_tab_view.cc (right): https://codereview.chromium.org/2794763002/diff/180001/chrome/browser/ui/views/sad_tab_view.cc#newcode41 chrome/browser/ui/views/sad_tab_view.cc:41: label->SetEnabled(false); On 2017/05/18 20:53:36, ...
3 years, 7 months ago (2017-05-18 21:02:08 UTC) #30
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/2794763002/200001
3 years, 7 months ago (2017-05-18 21:10:12 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_tsan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_tsan_rel_ng/builds/77997) mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 7 months ago (2017-05-18 21:23:33 UTC) #35
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/2794763002/240001
3 years, 7 months ago (2017-05-19 06:40:55 UTC) #38
commit-bot: I haz the power
3 years, 7 months ago (2017-05-19 07:55:56 UTC) #41
Message was sent while issue was closed.
Committed patchset #12 (id:240001) as
https://chromium.googlesource.com/chromium/src/+/ea59f2a232599839afca88f6f71f...

Powered by Google App Engine
This is Rietveld 408576698