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

Issue 10140017: ash: Some code-cleanup in the system-tray code. (Closed)

Created:
8 years, 8 months ago by sadrul
Modified:
8 years, 8 months ago
CC:
chromium-reviews, sadrul, ben+watch_chromium.org
Visibility:
Public.

Description

ash: Some code-cleanup in the system-tray code. Move the remaining status-area code into system-tray. BUG=none TEST=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=133686

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+135 lines, -264 lines) Patch
M ash/ash.gyp View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/focus_cycler_unittest.cc View 10 chunks +28 lines, -21 lines 0 comments Download
M ash/shell.h View 1 chunk +1 line, -5 lines 0 comments Download
M ash/shell.cc View 5 chunks +8 lines, -64 lines 2 comments Download
D ash/status_area/status_area_view.h View 1 chunk +0 lines, -49 lines 0 comments Download
D ash/status_area/status_area_view.cc View 1 chunk +0 lines, -93 lines 0 comments Download
M ash/system/tray/system_tray.h View 4 chunks +11 lines, -2 lines 0 comments Download
M ash/system/tray/system_tray.cc View 3 chunks +81 lines, -0 lines 0 comments Download
A + ash/system/tray/system_tray_widget_delegate.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + ash/system/tray/system_tray_widget_delegate.cc View 2 chunks +1 line, -25 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
sadrul
8 years, 8 months ago (2012-04-24 06:17:32 UTC) #1
Ben Goodger (Google)
lgtm http://codereview.chromium.org/10140017/diff/1/ash/shell.cc File ash/shell.cc (right): http://codereview.chromium.org/10140017/diff/1/ash/shell.cc#newcode671 ash/shell.cc:671: tray_.reset(new SystemTray()); food for thought (and a different ...
8 years, 8 months ago (2012-04-24 14:57:48 UTC) #2
sadrul
8 years, 8 months ago (2012-04-24 15:36:55 UTC) #3
Thanks!

http://codereview.chromium.org/10140017/diff/1/ash/shell.cc
File ash/shell.cc (right):

http://codereview.chromium.org/10140017/diff/1/ash/shell.cc#newcode671
ash/shell.cc:671: tray_.reset(new SystemTray());
On 2012/04/24 14:57:49, Ben Goodger (Google) wrote:
> food for thought (and a different CL)
> 
> ideally it'd be possible to simply all tray setup to a single line in this
file.

Indeed. That would allow us to move DummySystemTrayDelegate out of this file
too. I will take a TODO for that.

Powered by Google App Engine
This is Rietveld 408576698