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

Issue 2723843002: Remove non-MD code from TrayBackgroundView (Closed)

Created:
3 years, 9 months ago by mohsen
Modified:
3 years, 9 months ago
CC:
bruthig+ink_drop_chromium.org, chromium-reviews, dcheng, dfaden+virtualkb_google.com, groby+virtualkb_chromium.org, kalyank, nona+watch_chromium.org, oka+watchvk_chromium.org, oshima+watch_chromium.org, sadrul, shuchen+watch_chromium.org, tfarina, yhanada+watchvk_chromium.org, yusukes+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove non-MD code from TrayBackgroundView BUG=687806 TEST=none Review-Url: https://codereview.chromium.org/2723843002 Cr-Commit-Position: refs/heads/master@{#455957} Committed: https://chromium.googlesource.com/chromium/src/+/8d97710b15a51c4e2cec80be55d97bc722f84fb1

Patch Set 1 #

Patch Set 2 : Removed extra resources #

Total comments: 4

Patch Set 3 : Removed unnecessary methods #

Total comments: 2

Patch Set 4 : Inverted flag + Added TODO #

Total comments: 2

Patch Set 5 : Added another TODO #

Patch Set 6 : Rebased #

Patch Set 7 : Rebased #

Patch Set 8 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -188 lines) Patch
M ash/common/system/chromeos/ime_menu/ime_menu_tray.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -6 lines 0 comments Download
M ash/common/system/chromeos/palette/palette_tray.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -6 lines 0 comments Download
M ash/common/system/chromeos/session/logout_button_tray.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M ash/common/system/chromeos/session/logout_button_tray.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ash/common/system/chromeos/virtual_keyboard/virtual_keyboard_tray.cc View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download
M ash/common/system/overview/overview_button_tray.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -2 lines 0 comments Download
M ash/common/system/tray/system_tray.cc View 1 2 3 4 5 6 7 2 chunks +1 line, -4 lines 0 comments Download
M ash/common/system/tray/tray_background_view.h View 1 2 3 4 4 chunks +6 lines, -12 lines 0 comments Download
M ash/common/system/tray/tray_background_view.cc View 1 2 3 4 5 6 13 chunks +22 lines, -132 lines 0 comments Download
M ash/common/system/web_notification/web_notification_tray.cc View 1 2 3 4 5 6 7 2 chunks +1 line, -3 lines 0 comments Download
M ash/resources/ash_resources.grd View 1 2 3 4 5 6 7 1 chunk +0 lines, -18 lines 0 comments Download
D ash/resources/default_100_percent/common/shelf/status_tray_normal_center.png View Binary file 0 comments Download
D ash/resources/default_100_percent/common/shelf/status_tray_normal_left.png View Binary file 0 comments Download
D ash/resources/default_100_percent/common/shelf/status_tray_normal_onblack_center.png View Binary file 0 comments Download
D ash/resources/default_100_percent/common/shelf/status_tray_normal_onblack_left.png View Binary file 0 comments Download
D ash/resources/default_100_percent/common/shelf/status_tray_normal_onblack_right.png View Binary file 0 comments Download
D ash/resources/default_100_percent/common/shelf/status_tray_normal_right.png View Binary file 0 comments Download
D ash/resources/default_100_percent/common/shelf/status_tray_pressed_center.png View Binary file 0 comments Download
D ash/resources/default_100_percent/common/shelf/status_tray_pressed_left.png View Binary file 0 comments Download
D ash/resources/default_100_percent/common/shelf/status_tray_pressed_right.png View Binary file 0 comments Download
D ash/resources/default_100_percent/common/shelf/status_tray_vertical_normal_bottom.png View 1 Binary file 0 comments Download
D ash/resources/default_100_percent/common/shelf/status_tray_vertical_normal_center.png View 1 Binary file 0 comments Download
D ash/resources/default_100_percent/common/shelf/status_tray_vertical_normal_onblack_bottom.png View 1 Binary file 0 comments Download
D ash/resources/default_100_percent/common/shelf/status_tray_vertical_normal_onblack_center.png View 1 Binary file 0 comments Download
D ash/resources/default_100_percent/common/shelf/status_tray_vertical_normal_onblack_top.png View 1 Binary file 0 comments Download
D ash/resources/default_100_percent/common/shelf/status_tray_vertical_normal_top.png View 1 Binary file 0 comments Download
D ash/resources/default_100_percent/common/shelf/status_tray_vertical_pressed_bottom.png View 1 Binary file 0 comments Download
D ash/resources/default_100_percent/common/shelf/status_tray_vertical_pressed_center.png View 1 Binary file 0 comments Download
D ash/resources/default_100_percent/common/shelf/status_tray_vertical_pressed_top.png View 1 Binary file 0 comments Download
D ash/resources/default_200_percent/common/shelf/status_tray_normal_center.png View Binary file 0 comments Download
D ash/resources/default_200_percent/common/shelf/status_tray_normal_left.png View Binary file 0 comments Download
D ash/resources/default_200_percent/common/shelf/status_tray_normal_onblack_center.png View Binary file 0 comments Download
D ash/resources/default_200_percent/common/shelf/status_tray_normal_onblack_left.png View Binary file 0 comments Download
D ash/resources/default_200_percent/common/shelf/status_tray_normal_onblack_right.png View Binary file 0 comments Download
D ash/resources/default_200_percent/common/shelf/status_tray_normal_right.png View Binary file 0 comments Download
D ash/resources/default_200_percent/common/shelf/status_tray_pressed_center.png View Binary file 0 comments Download
D ash/resources/default_200_percent/common/shelf/status_tray_pressed_left.png View Binary file 0 comments Download
D ash/resources/default_200_percent/common/shelf/status_tray_pressed_right.png View Binary file 0 comments Download
D ash/resources/default_200_percent/common/shelf/status_tray_vertical_normal_bottom.png View 1 Binary file 0 comments Download
D ash/resources/default_200_percent/common/shelf/status_tray_vertical_normal_center.png View 1 Binary file 0 comments Download
D ash/resources/default_200_percent/common/shelf/status_tray_vertical_normal_onblack_bottom.png View 1 Binary file 0 comments Download
D ash/resources/default_200_percent/common/shelf/status_tray_vertical_normal_onblack_center.png View 1 Binary file 0 comments Download
D ash/resources/default_200_percent/common/shelf/status_tray_vertical_normal_onblack_top.png View 1 Binary file 0 comments Download
D ash/resources/default_200_percent/common/shelf/status_tray_vertical_normal_top.png View 1 Binary file 0 comments Download
D ash/resources/default_200_percent/common/shelf/status_tray_vertical_pressed_bottom.png View 1 Binary file 0 comments Download
D ash/resources/default_200_percent/common/shelf/status_tray_vertical_pressed_center.png View 1 Binary file 0 comments Download
D ash/resources/default_200_percent/common/shelf/status_tray_vertical_pressed_top.png View 1 Binary file 0 comments Download
M ui/views/animation/ink_drop_host_view.h View 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 56 (32 generated)
mohsen
Please take a look...
3 years, 9 months ago (2017-03-01 02:55:29 UTC) #10
Evan Stade
https://codereview.chromium.org/2723843002/diff/20001/ash/common/system/tray/tray_background_view.cc File ash/common/system/tray/tray_background_view.cc (right): https://codereview.chromium.org/2723843002/diff/20001/ash/common/system/tray/tray_background_view.cc#newcode350 ash/common/system/tray/tray_background_view.cc:350: background_ = new TrayBackground(this); Do you need this function?
3 years, 9 months ago (2017-03-01 04:12:21 UTC) #12
mohsen
https://codereview.chromium.org/2723843002/diff/20001/ash/common/system/tray/tray_background_view.cc File ash/common/system/tray/tray_background_view.cc (right): https://codereview.chromium.org/2723843002/diff/20001/ash/common/system/tray/tray_background_view.cc#newcode350 ash/common/system/tray/tray_background_view.cc:350: background_ = new TrayBackground(this); On 2017/03/01 at 04:12:21, Evan ...
3 years, 9 months ago (2017-03-01 04:40:41 UTC) #13
Evan Stade
https://codereview.chromium.org/2723843002/diff/20001/ash/common/system/tray/tray_background_view.cc File ash/common/system/tray/tray_background_view.cc (right): https://codereview.chromium.org/2723843002/diff/20001/ash/common/system/tray/tray_background_view.cc#newcode350 ash/common/system/tray/tray_background_view.cc:350: background_ = new TrayBackground(this); On 2017/03/01 04:40:41, mohsen wrote: ...
3 years, 9 months ago (2017-03-01 07:20:21 UTC) #14
mohsen
https://codereview.chromium.org/2723843002/diff/20001/ash/common/system/tray/tray_background_view.cc File ash/common/system/tray/tray_background_view.cc (right): https://codereview.chromium.org/2723843002/diff/20001/ash/common/system/tray/tray_background_view.cc#newcode350 ash/common/system/tray/tray_background_view.cc:350: background_ = new TrayBackground(this); On 2017/03/01 at 07:20:21, Evan ...
3 years, 9 months ago (2017-03-01 17:48:05 UTC) #15
Evan Stade
On 2017/03/01 17:48:05, mohsen wrote: > https://codereview.chromium.org/2723843002/diff/20001/ash/common/system/tray/tray_background_view.cc > File ash/common/system/tray/tray_background_view.cc (right): > > https://codereview.chromium.org/2723843002/diff/20001/ash/common/system/tray/tray_background_view.cc#newcode350 > ...
3 years, 9 months ago (2017-03-01 18:04:14 UTC) #16
mohsen
On 2017/03/01 at 18:04:14, estade wrote: > On 2017/03/01 17:48:05, mohsen wrote: > > https://codereview.chromium.org/2723843002/diff/20001/ash/common/system/tray/tray_background_view.cc ...
3 years, 9 months ago (2017-03-01 19:25:19 UTC) #17
Evan Stade
https://codereview.chromium.org/2723843002/diff/40001/ash/common/system/tray/tray_background_view.h File ash/common/system/tray/tray_background_view.h (right): https://codereview.chromium.org/2723843002/diff/40001/ash/common/system/tray/tray_background_view.h#newcode63 ash/common/system/tray/tray_background_view.h:63: TrayBackgroundView(WmShelf* wm_shelf, bool no_background); I would expect this to ...
3 years, 9 months ago (2017-03-02 02:49:51 UTC) #18
mohsen
https://codereview.chromium.org/2723843002/diff/40001/ash/common/system/tray/tray_background_view.h File ash/common/system/tray/tray_background_view.h (right): https://codereview.chromium.org/2723843002/diff/40001/ash/common/system/tray/tray_background_view.h#newcode63 ash/common/system/tray/tray_background_view.h:63: TrayBackgroundView(WmShelf* wm_shelf, bool no_background); On 2017/03/02 at 02:49:51, Evan ...
3 years, 9 months ago (2017-03-02 04:07:09 UTC) #19
Evan Stade
lgtm https://codereview.chromium.org/2723843002/diff/60001/ash/common/system/tray/tray_background_view.h File ash/common/system/tray/tray_background_view.h (right): https://codereview.chromium.org/2723843002/diff/60001/ash/common/system/tray/tray_background_view.h#newcode63 ash/common/system/tray/tray_background_view.h:63: TrayBackgroundView(WmShelf* wm_shelf, bool draws_background); nit: can you also ...
3 years, 9 months ago (2017-03-03 01:30:46 UTC) #20
mohsen
tdanderson@: Can you take a look... https://codereview.chromium.org/2723843002/diff/60001/ash/common/system/tray/tray_background_view.h File ash/common/system/tray/tray_background_view.h (right): https://codereview.chromium.org/2723843002/diff/60001/ash/common/system/tray/tray_background_view.h#newcode63 ash/common/system/tray/tray_background_view.h:63: TrayBackgroundView(WmShelf* wm_shelf, bool ...
3 years, 9 months ago (2017-03-03 04:39:37 UTC) #21
tdanderson
LGTM, and apologies for the review delay.
3 years, 9 months ago (2017-03-07 22:19:07 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/2723843002/120001
3 years, 9 months ago (2017-03-08 04:24:54 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/224066) android_clang_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, ...
3 years, 9 months ago (2017-03-08 04:26:11 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/2723843002/120001
3 years, 9 months ago (2017-03-08 04:28:08 UTC) #37
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/224067) android_clang_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, ...
3 years, 9 months ago (2017-03-08 04:29:15 UTC) #39
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/2723843002/120001
3 years, 9 months ago (2017-03-08 05:31:26 UTC) #41
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/380663)
3 years, 9 months ago (2017-03-08 05:38:47 UTC) #43
mohsen
bruthig@: Can you take a look at changes in ui/views/animaiton/?
3 years, 9 months ago (2017-03-08 05:47:52 UTC) #45
bruthig
lgtm
3 years, 9 months ago (2017-03-09 23:08:40 UTC) #46
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/2723843002/120001
3 years, 9 months ago (2017-03-09 23:47:35 UTC) #48
commit-bot: I haz the power
Failed to apply patch for ash/common/system/web_notification/web_notification_tray.cc: While running git apply --index -p1; error: patch failed: ...
3 years, 9 months ago (2017-03-10 01:01:23 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/2723843002/140001
3 years, 9 months ago (2017-03-10 01:17:22 UTC) #53
commit-bot: I haz the power
3 years, 9 months ago (2017-03-10 02:06:26 UTC) #56
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/8d97710b15a51c4e2cec80be55d9...

Powered by Google App Engine
This is Rietveld 408576698