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

Issue 2244003002: Materialized font style for TrayItemMore type system tray rows. (Closed)

Created:
4 years, 4 months ago by bruthig
Modified:
4 years, 3 months ago
Reviewers:
tdanderson, sky
CC:
chromium-reviews, kalyank, sadrul, oshima+watch_chromium.org, yiyix
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Materialized font style for TrayItemMore type system tray rows. Added a centralized style provider that can be re-used across all system tray rows eventually. This CL currently applies the font style to the TrayItemMore types only. BUG=637846 Committed: https://crrev.com/3dfc90f7830de7eeb75d4574396be01f8373e88a Cr-Commit-Position: refs/heads/master@{#419145}

Patch Set 1 #

Patch Set 2 : Added TrayPopupItemStyle. #

Patch Set 3 : Improved the TrayPopupItemStyle concept. #

Total comments: 14

Patch Set 4 : Merge branch 'master' into md_system_menu_bluetooth #

Patch Set 5 : Addressed comments from patch set 3 and polished up a bit. #

Patch Set 6 : Updated TrayPopupItemStyle to use the default FontList. #

Total comments: 32

Patch Set 7 : Deferred generic TrayItemPopupStyle application to TrayItemMore. #

Total comments: 10

Patch Set 8 : Addressed tdanderson@ comments from patch set 7. #

Patch Set 9 : Merge branch 'master' into tray_item_popup_style #

Total comments: 4

Patch Set 10 : Re-ordered static function in Label. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+263 lines, -9 lines) Patch
M ash/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M ash/common/system/tray/tray_item_more.h View 1 2 3 4 5 6 7 8 1 chunk +7 lines, -0 lines 0 comments Download
M ash/common/system/tray/tray_item_more.cc View 1 2 3 4 5 6 7 8 3 chunks +23 lines, -0 lines 0 comments Download
A ash/common/system/tray/tray_popup_item_style.h View 1 2 3 4 5 6 7 1 chunk +98 lines, -0 lines 0 comments Download
A ash/common/system/tray/tray_popup_item_style.cc View 1 2 3 4 5 6 1 chunk +105 lines, -0 lines 0 comments Download
A ash/common/system/tray/tray_popup_item_style_observer.h View 1 2 3 4 5 6 1 chunk +19 lines, -0 lines 0 comments Download
M ui/views/controls/label.h View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M ui/views/controls/label.cc View 1 2 3 4 5 6 7 8 9 2 chunks +6 lines, -9 lines 0 comments Download

Messages

Total messages: 60 (42 generated)
bruthig
Terry, here is the work I've done so far for materializing the default blue-tooth row ...
4 years, 4 months ago (2016-08-12 22:34:32 UTC) #7
bruthig
Terry, can you take a look from a high level and let me know what ...
4 years, 3 months ago (2016-09-07 21:36:49 UTC) #10
tdanderson
So far so good, let me know when it's ready for review. https://chromiumcodereview.appspot.com/2244003002/diff/40001/ash/common/system/chromeos/bluetooth/tray_bluetooth.cc File ash/common/system/chromeos/bluetooth/tray_bluetooth.cc ...
4 years, 3 months ago (2016-09-08 16:11:02 UTC) #13
bruthig
Terry, This is now ready for full review. Can you PTAL? https://codereview.chromium.org/2244003002/diff/40001/ash/common/system/chromeos/bluetooth/tray_bluetooth.cc File ash/common/system/chromeos/bluetooth/tray_bluetooth.cc (right): ...
4 years, 3 months ago (2016-09-12 13:45:34 UTC) #17
tdanderson
Ben, please see my comments below. https://codereview.chromium.org/2244003002/diff/40001/ash/common/system/tray/tray_item_more.cc File ash/common/system/tray/tray_item_more.cc (right): https://codereview.chromium.org/2244003002/diff/40001/ash/common/system/tray/tray_item_more.cc#newcode85 ash/common/system/tray/tray_item_more.cc:85: style()->SetupLabel(label_); On 2016/09/12 ...
4 years, 3 months ago (2016-09-12 18:51:47 UTC) #24
bruthig
Terry, I've updated the CL to remove the generic application of the style to the ...
4 years, 3 months ago (2016-09-15 18:56:30 UTC) #29
tdanderson
lgtm with nits https://codereview.chromium.org/2244003002/diff/100001/ash/common/system/chromeos/bluetooth/tray_bluetooth.cc File ash/common/system/chromeos/bluetooth/tray_bluetooth.cc (right): https://codereview.chromium.org/2244003002/diff/100001/ash/common/system/chromeos/bluetooth/tray_bluetooth.cc#newcode100 ash/common/system/chromeos/bluetooth/tray_bluetooth.cc:100: // UpdateContent() should be called due ...
4 years, 3 months ago (2016-09-15 19:49:34 UTC) #30
bruthig
sky@, can you take a quick look at: - ash/BUILD.gn - ui/views/* https://codereview.chromium.org/2244003002/diff/120001/ash/common/system/tray/tray_item_more.h File ash/common/system/tray/tray_item_more.h ...
4 years, 3 months ago (2016-09-15 19:55:09 UTC) #32
bruthig
https://codereview.chromium.org/2244003002/diff/120001/ash/common/system/tray/tray_popup_item_style.h File ash/common/system/tray/tray_popup_item_style.h (right): https://codereview.chromium.org/2244003002/diff/120001/ash/common/system/tray/tray_popup_item_style.h#newcode50 ash/common/system/tray/tray_popup_item_style.h:50: // "Lock", Cast's "Stop", etc). On 2016/09/15 19:49:34, tdanderson ...
4 years, 3 months ago (2016-09-15 21:17:34 UTC) #36
sky
LGTM with the following addressed. https://codereview.chromium.org/2244003002/diff/160001/ui/views/controls/label.cc File ui/views/controls/label.cc (right): https://codereview.chromium.org/2244003002/diff/160001/ui/views/controls/label.cc#newcode35 ui/views/controls/label.cc:35: const gfx::FontList& Label::GetDefaultFontList() { ...
4 years, 3 months ago (2016-09-15 22:51:01 UTC) #42
bruthig
https://codereview.chromium.org/2244003002/diff/160001/ui/views/controls/label.cc File ui/views/controls/label.cc (right): https://codereview.chromium.org/2244003002/diff/160001/ui/views/controls/label.cc#newcode35 ui/views/controls/label.cc:35: const gfx::FontList& Label::GetDefaultFontList() { On 2016/09/15 22:51:01, sky wrote: ...
4 years, 3 months ago (2016-09-16 01:01:34 UTC) #45
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/2244003002/180001
4 years, 3 months ago (2016-09-16 01:03:05 UTC) #48
commit-bot: I haz the power
Try jobs failed on following builders: android_compile_dbg on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_compile_dbg/builds/130005) linux_chromium_compile_dbg_ng on master.tryserver.chromium.linux (JOB_FAILED, ...
4 years, 3 months ago (2016-09-16 01:10:30 UTC) #50
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/2244003002/180001
4 years, 3 months ago (2016-09-16 01:20:31 UTC) #52
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_x86-generic_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_x86-generic_chromium_compile_only_ng/builds/200911)
4 years, 3 months ago (2016-09-16 01:27:51 UTC) #54
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/2244003002/180001
4 years, 3 months ago (2016-09-16 11:30:01 UTC) #56
commit-bot: I haz the power
Committed patchset #10 (id:180001)
4 years, 3 months ago (2016-09-16 11:40:28 UTC) #58
commit-bot: I haz the power
4 years, 3 months ago (2016-09-16 11:41:57 UTC) #60
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/3dfc90f7830de7eeb75d4574396be01f8373e88a
Cr-Commit-Position: refs/heads/master@{#419145}

Powered by Google App Engine
This is Rietveld 408576698