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

Issue 636853002: Common code from linux and windows implementations of SystemTrayDelegate (Closed)

Created:
6 years, 2 months ago by ygorshenin1
Modified:
6 years, 2 months ago
Reviewers:
sky
CC:
chromium-reviews, kalyank, sadrul, ben+ash_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Common code from linux and windows implementations of SystemTrayDelegate is extracted into an individual base class. BUG=421056 TEST=none Committed: https://crrev.com/1915361c70dea2712ff92a5fbb57fc82bd0e0c8e Cr-Commit-Position: refs/heads/master@{#299459}

Patch Set 1 #

Total comments: 7

Patch Set 2 : Fixes. #

Total comments: 2

Patch Set 3 : Fixes. #

Total comments: 4

Patch Set 4 : Fixes. #

Total comments: 2

Patch Set 5 : Fixes. #

Patch Set 6 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+370 lines, -740 lines) Patch
M chrome/browser/ui/ash/chrome_shell_delegate_views.cc View 1 2 3 4 4 chunks +2 lines, -16 lines 0 comments Download
A + chrome/browser/ui/ash/system_tray_delegate_common.h View 1 2 3 4 5 6 chunks +45 lines, -27 lines 0 comments Download
A chrome/browser/ui/ash/system_tray_delegate_common.cc View 1 2 3 4 5 1 chunk +319 lines, -0 lines 0 comments Download
D chrome/browser/ui/ash/system_tray_delegate_linux.h View 1 chunk +0 lines, -14 lines 0 comments Download
D chrome/browser/ui/ash/system_tray_delegate_linux.cc View 1 2 3 4 5 1 chunk +0 lines, -333 lines 0 comments Download
D chrome/browser/ui/ash/system_tray_delegate_win.h View 1 chunk +0 lines, -14 lines 0 comments Download
D chrome/browser/ui/ash/system_tray_delegate_win.cc View 1 2 3 4 5 1 chunk +0 lines, -330 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 2 chunks +4 lines, -6 lines 0 comments Download

Messages

Total messages: 22 (4 generated)
ygorshenin1
6 years, 2 months ago (2014-10-07 13:22:23 UTC) #2
sky
https://codereview.chromium.org/636853002/diff/1/chrome/browser/ui/ash/system_tray_delegate_common.h File chrome/browser/ui/ash/system_tray_delegate_common.h (right): https://codereview.chromium.org/636853002/diff/1/chrome/browser/ui/ash/system_tray_delegate_common.h#newcode32 chrome/browser/ui/ash/system_tray_delegate_common.h:32: style guide says no newlines between these. And use ...
6 years, 2 months ago (2014-10-07 16:01:13 UTC) #3
ygorshenin1
PTAL https://codereview.chromium.org/636853002/diff/1/chrome/browser/ui/ash/system_tray_delegate_common.h File chrome/browser/ui/ash/system_tray_delegate_common.h (right): https://codereview.chromium.org/636853002/diff/1/chrome/browser/ui/ash/system_tray_delegate_common.h#newcode32 chrome/browser/ui/ash/system_tray_delegate_common.h:32: On 2014/10/07 16:01:13, sky wrote: > style guide ...
6 years, 2 months ago (2014-10-07 16:18:09 UTC) #4
sky
https://codereview.chromium.org/636853002/diff/20001/chrome/browser/ui/ash/system_tray_delegate_common.cc File chrome/browser/ui/ash/system_tray_delegate_common.cc (right): https://codereview.chromium.org/636853002/diff/20001/chrome/browser/ui/ash/system_tray_delegate_common.cc#newcode315 chrome/browser/ui/ash/system_tray_delegate_common.cc:315: #if defined(OS_LINUX) || defined(OS_WIN) I don't think you should ...
6 years, 2 months ago (2014-10-07 16:24:50 UTC) #5
ygorshenin1
PTAL https://codereview.chromium.org/636853002/diff/20001/chrome/browser/ui/ash/system_tray_delegate_common.cc File chrome/browser/ui/ash/system_tray_delegate_common.cc (right): https://codereview.chromium.org/636853002/diff/20001/chrome/browser/ui/ash/system_tray_delegate_common.cc#newcode315 chrome/browser/ui/ash/system_tray_delegate_common.cc:315: #if defined(OS_LINUX) || defined(OS_WIN) On 2014/10/07 16:24:50, sky ...
6 years, 2 months ago (2014-10-08 15:15:14 UTC) #6
sky
https://codereview.chromium.org/636853002/diff/40001/chrome/browser/ui/ash/chrome_shell_delegate_views.cc File chrome/browser/ui/ash/chrome_shell_delegate_views.cc (right): https://codereview.chromium.org/636853002/diff/40001/chrome/browser/ui/ash/chrome_shell_delegate_views.cc#newcode188 chrome/browser/ui/ash/chrome_shell_delegate_views.cc:188: return new DefaultSystemTrayDelegate(); AFAICT the else here is never ...
6 years, 2 months ago (2014-10-08 15:39:54 UTC) #7
ygorshenin1
https://codereview.chromium.org/636853002/diff/40001/chrome/browser/ui/ash/chrome_shell_delegate_views.cc File chrome/browser/ui/ash/chrome_shell_delegate_views.cc (right): https://codereview.chromium.org/636853002/diff/40001/chrome/browser/ui/ash/chrome_shell_delegate_views.cc#newcode188 chrome/browser/ui/ash/chrome_shell_delegate_views.cc:188: return new DefaultSystemTrayDelegate(); On 2014/10/08 15:39:53, sky wrote: > ...
6 years, 2 months ago (2014-10-09 09:14:44 UTC) #8
sky
https://codereview.chromium.org/636853002/diff/40001/chrome/browser/ui/ash/chrome_shell_delegate_views.cc File chrome/browser/ui/ash/chrome_shell_delegate_views.cc (right): https://codereview.chromium.org/636853002/diff/40001/chrome/browser/ui/ash/chrome_shell_delegate_views.cc#newcode188 chrome/browser/ui/ash/chrome_shell_delegate_views.cc:188: return new DefaultSystemTrayDelegate(); On 2014/10/09 09:14:44, ygorshenin1 wrote: > ...
6 years, 2 months ago (2014-10-09 17:22:39 UTC) #9
ygorshenin1
PTAL https://codereview.chromium.org/636853002/diff/40001/chrome/browser/ui/ash/chrome_shell_delegate_views.cc File chrome/browser/ui/ash/chrome_shell_delegate_views.cc (right): https://codereview.chromium.org/636853002/diff/40001/chrome/browser/ui/ash/chrome_shell_delegate_views.cc#newcode188 chrome/browser/ui/ash/chrome_shell_delegate_views.cc:188: return new DefaultSystemTrayDelegate(); On 2014/10/09 17:22:39, sky wrote: ...
6 years, 2 months ago (2014-10-10 12:02:54 UTC) #10
sky
https://codereview.chromium.org/636853002/diff/70001/chrome/browser/ui/ash/chrome_shell_delegate_views.cc File chrome/browser/ui/ash/chrome_shell_delegate_views.cc (right): https://codereview.chromium.org/636853002/diff/70001/chrome/browser/ui/ash/chrome_shell_delegate_views.cc#newcode184 chrome/browser/ui/ash/chrome_shell_delegate_views.cc:184: return ::CreateSystemTrayDelegate(); Sorry, one more. There is no point ...
6 years, 2 months ago (2014-10-10 17:40:31 UTC) #11
ygorshenin1
PTAL https://codereview.chromium.org/636853002/diff/70001/chrome/browser/ui/ash/chrome_shell_delegate_views.cc File chrome/browser/ui/ash/chrome_shell_delegate_views.cc (right): https://codereview.chromium.org/636853002/diff/70001/chrome/browser/ui/ash/chrome_shell_delegate_views.cc#newcode184 chrome/browser/ui/ash/chrome_shell_delegate_views.cc:184: return ::CreateSystemTrayDelegate(); On 2014/10/10 17:40:31, sky wrote: > ...
6 years, 2 months ago (2014-10-13 12:06:17 UTC) #12
sky
LGTM - thanks for the cleanup (and patience)!
6 years, 2 months ago (2014-10-13 17:14:01 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/636853002/180001
6 years, 2 months ago (2014-10-14 08:48:15 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_dbg on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_dbg/builds/7598)
6 years, 2 months ago (2014-10-14 09:03:22 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/636853002/290001
6 years, 2 months ago (2014-10-14 10:24:58 UTC) #19
commit-bot: I haz the power
Committed patchset #6 (id:290001)
6 years, 2 months ago (2014-10-14 11:25:06 UTC) #20
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/1915361c70dea2712ff92a5fbb57fc82bd0e0c8e Cr-Commit-Position: refs/heads/master@{#299459}
6 years, 2 months ago (2014-10-14 11:25:50 UTC) #21
ygorshenin1
6 years, 2 months ago (2014-10-14 11:31:25 UTC) #22
Message was sent while issue was closed.
Many thanks, Scott!

Powered by Google App Engine
This is Rietveld 408576698