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

Issue 2803893002: Reuse the code within UpdateCheckMark() (Closed)

Created:
3 years, 8 months ago by minch1
Modified:
3 years, 8 months ago
Reviewers:
tdanderson
CC:
chromium-reviews, sadrul, dtseng+watch_chromium.org, aboxhall+watch_chromium.org, nektar+watch_chromium.org, yuzo+watch_chromium.org, dougt+watch_chromium.org, dmazzoni+watch_chromium.org, oshima+watch_chromium.org, kalyank, je_julie
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Reuse the code within UpdateCheckMark() Move UpdateCheckMark() from anonymous namespace of tray_accessibility.cc to tray_popup_utils.h Then, it can be reused by AudioDetailedView and CommonPaletteTool. BUG=707851 Review-Url: https://codereview.chromium.org/2803893002 Cr-Commit-Position: refs/heads/master@{#463020} Committed: https://chromium.googlesource.com/chromium/src/+/c345ab7d5a956251b46048138972883c89337d8e

Patch Set 1 #

Patch Set 2 : Reuse the code within UpdateCheckMark(). #

Patch Set 3 : Rename CheckMark -> SetCheckMarkVisible, UncheckMark -> SetCheckMarkInvisible. Update the comment. #

Patch Set 4 : Rename CheckMark -> SetCheckMarkVisible, UncheckMark -> SetCheckMarkInvisible. Update the comment. #

Total comments: 6

Patch Set 5 : Split add and check the right icon. #

Patch Set 6 : Reuse the code within UpdateCheckMark(). #

Total comments: 1

Patch Set 7 : Address the comments on PS#6 #

Total comments: 3

Patch Set 8 : Add if #

Patch Set 9 : Update comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -51 lines) Patch
M ash/common/system/chromeos/audio/audio_detailed_view.cc View 1 2 3 4 5 6 1 chunk +1 line, -11 lines 0 comments Download
M ash/common/system/chromeos/palette/common_palette_tool.cc View 1 2 3 4 5 6 7 3 chunks +6 lines, -21 lines 0 comments Download
M ash/common/system/tray/tray_popup_utils.h View 1 2 3 4 5 6 7 8 2 chunks +10 lines, -0 lines 0 comments Download
M ash/common/system/tray/tray_popup_utils.cc View 1 2 3 4 5 6 3 chunks +18 lines, -0 lines 0 comments Download
M ash/common/system/tray_accessibility.cc View 1 2 3 4 5 6 4 chunks +2 lines, -19 lines 0 comments Download

Messages

Total messages: 63 (52 generated)
minch1
Hi, tdanderson@, can you help review? Thanks.
3 years, 8 months ago (2017-04-06 01:31:58 UTC) #13
tdanderson
Hi, please see my comments below. I was going to suggest including ash/common/system/chromeos/ime_menu/ime_list_view.cc in this ...
3 years, 8 months ago (2017-04-06 17:52:09 UTC) #26
minch1
Hi, tdanderson@, can you help check the comment? https://codereview.chromium.org/2803893002/diff/60001/ash/common/system/tray/tray_utils.cc File ash/common/system/tray/tray_utils.cc (right): https://codereview.chromium.org/2803893002/diff/60001/ash/common/system/tray/tray_utils.cc#newcode36 ash/common/system/tray/tray_utils.cc:36: HoverHighlightView::AccessibilityState::UNCHECKED_CHECKBOX); ...
3 years, 8 months ago (2017-04-06 18:05:47 UTC) #27
minch1
https://codereview.chromium.org/2803893002/diff/60001/ash/common/system/tray/tray_utils.cc File ash/common/system/tray/tray_utils.cc (right): https://codereview.chromium.org/2803893002/diff/60001/ash/common/system/tray/tray_utils.cc#newcode36 ash/common/system/tray/tray_utils.cc:36: HoverHighlightView::AccessibilityState::UNCHECKED_CHECKBOX); On 2017/04/06 18:05:47, minch1 wrote: > On 2017/04/06 ...
3 years, 8 months ago (2017-04-06 18:09:41 UTC) #28
tdanderson
On 2017/04/06 18:05:47, minch1 wrote: > Hi, tdanderson@, can you help check the comment? > ...
3 years, 8 months ago (2017-04-06 18:16:16 UTC) #31
minch1
tdanderson@, can you help take a look again?
3 years, 8 months ago (2017-04-06 21:30:03 UTC) #39
tdanderson
Looking good! I have one more suggestion though, let me know what you think. https://codereview.chromium.org/2803893002/diff/100001/ash/common/system/tray/tray_popup_utils.cc ...
3 years, 8 months ago (2017-04-07 17:54:31 UTC) #40
minch1
Thanks for your suggestion, Terry. Please check the PS#7.
3 years, 8 months ago (2017-04-07 19:47:48 UTC) #43
tdanderson
PS8 LGTM with a few comments below. Also a nit regarding the CL description: it's ...
3 years, 8 months ago (2017-04-07 20:57:32 UTC) #48
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/2803893002/160001
3 years, 8 months ago (2017-04-07 21:55:47 UTC) #59
commit-bot: I haz the power
3 years, 8 months ago (2017-04-07 22:25:21 UTC) #63
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as
https://chromium.googlesource.com/chromium/src/+/c345ab7d5a956251b46048138972...

Powered by Google App Engine
This is Rietveld 408576698