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

Issue 178883004: Enable the volume slider in Ash for windows. (Closed)

Created:
6 years, 10 months ago by zturner
Modified:
6 years, 9 months ago
CC:
chromium-reviews, kalyank, sadrul, ben+ash_chromium.org, feature-media-reviews_chromium.org
Visibility:
Public.

Description

Enable the volume slider in Ash for windows. BUG=227247 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=255215

Patch Set 1 #

Total comments: 14

Patch Set 2 : Fix a logic error in the delegate, and a few nits. #

Total comments: 5

Patch Set 3 : Add OWNERS file for ash/system/win #

Patch Set 4 : Change roundf() to round() since x64 still uses vs2012 (no c99) #

Patch Set 5 : Don't call round() since it doesn't exist before VS2013. #

Patch Set 6 : Initialize COM in the test runner during DesktopNotificationsTest #

Patch Set 7 : Uninitialize on TearDown(), don't wait for destructor. #

Patch Set 8 : Try again, got a 500 last time. #

Total comments: 5

Patch Set 9 : Also check for USE_ASH. #

Patch Set 10 : Check for null device in case there is no audio hardware. #

Patch Set 11 : Fix COM initialization errors (the right way). #

Unified diffs Side-by-side diffs Delta from patch set Stats (+211 lines, -11 lines) Patch
M ash/ash.gyp View 1 chunk +4 lines, -0 lines 0 comments Download
M ash/system/audio/tray_audio_delegate.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/system/tray/system_tray.cc View 2 chunks +5 lines, -0 lines 0 comments Download
A ash/system/win/OWNERS View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A + ash/system/win/audio/tray_audio_delegate_win.h View 1 2 chunks +12 lines, -5 lines 0 comments Download
A ash/system/win/audio/tray_audio_delegate_win.cc View 1 2 3 4 5 6 7 8 9 1 chunk +117 lines, -0 lines 0 comments Download
A ash/system/win/audio/tray_audio_win.h View 1 1 chunk +28 lines, -0 lines 0 comments Download
A ash/system/win/audio/tray_audio_win.cc View 1 chunk +25 lines, -0 lines 0 comments Download
M ash/test/ash_test_helper_unittest.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +9 lines, -0 lines 0 comments Download
M ash/test/test_suite.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/test/base/in_process_browser_test.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +4 lines, -2 lines 0 comments Download
M media/audio/win/core_audio_util_win.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 60 (0 generated)
zturner
henrika, tommi: media/*, [non-owners] ash/system/win/audio/* jennyz: ash/system/tray/system_tray.cc ash/system/audio/tray_audio_delegate.h ash/system/win/audio/* [after henrika, tommi give lgtm] jennyz@: ...
6 years, 10 months ago (2014-02-24 23:12:31 UTC) #1
henrika (OOO until Aug 14)
Are there any unit tests or other test clients I can try to understand better ...
6 years, 10 months ago (2014-02-25 07:46:37 UTC) #2
henrika (OOO until Aug 14)
https://codereview.chromium.org/178883004/diff/1/ash/system/win/audio/tray_audio_delegate_win.cc File ash/system/win/audio/tray_audio_delegate_win.cc (right): https://codereview.chromium.org/178883004/diff/1/ash/system/win/audio/tray_audio_delegate_win.cc#newcode19 ash/system/win/audio/tray_audio_delegate_win.cc:19: const int kMuteThresholdPercent = 1; How do you define ...
6 years, 10 months ago (2014-02-25 07:56:20 UTC) #3
zturner
On 2014/02/25 07:56:20, henrika wrote: > https://codereview.chromium.org/178883004/diff/1/ash/system/win/audio/tray_audio_delegate_win.cc > File ash/system/win/audio/tray_audio_delegate_win.cc (right): > > https://codereview.chromium.org/178883004/diff/1/ash/system/win/audio/tray_audio_delegate_win.cc#newcode19 > ...
6 years, 10 months ago (2014-02-25 09:17:32 UTC) #4
zturner
On 2014/02/25 07:46:37, henrika wrote: > Are there any unit tests or other test clients ...
6 years, 10 months ago (2014-02-25 09:24:49 UTC) #5
henrika (OOO until Aug 14)
I have checked the ChromeOS implementation and understand better now. If it works with IAudioSessionManager, ...
6 years, 10 months ago (2014-02-25 09:31:44 UTC) #6
zturner
On 2014/02/25 09:31:44, henrika wrote: > I have checked the ChromeOS implementation and understand better ...
6 years, 10 months ago (2014-02-25 16:11:07 UTC) #7
tommi (sloooow) - chröme
https://codereview.chromium.org/178883004/diff/1/ash/system/tray/system_tray.cc File ash/system/tray/system_tray.cc (right): https://codereview.chromium.org/178883004/diff/1/ash/system/tray/system_tray.cc#newcode210 ash/system/tray/system_tray.cc:210: if (media::CoreAudioUtil::IsSupported()) are you on the UI thread here? ...
6 years, 10 months ago (2014-02-25 16:47:37 UTC) #8
zturner
https://codereview.chromium.org/178883004/diff/1/ash/system/tray/system_tray.cc File ash/system/tray/system_tray.cc (right): https://codereview.chromium.org/178883004/diff/1/ash/system/tray/system_tray.cc#newcode210 ash/system/tray/system_tray.cc:210: if (media::CoreAudioUtil::IsSupported()) On 2014/02/25 16:47:38, tommi wrote: > are ...
6 years, 10 months ago (2014-02-25 17:19:55 UTC) #9
zturner
https://codereview.chromium.org/178883004/diff/1/ash/system/tray/system_tray.cc File ash/system/tray/system_tray.cc (right): https://codereview.chromium.org/178883004/diff/1/ash/system/tray/system_tray.cc#newcode210 ash/system/tray/system_tray.cc:210: if (media::CoreAudioUtil::IsSupported()) On 2014/02/25 17:19:56, zturner wrote: > On ...
6 years, 10 months ago (2014-02-25 17:52:00 UTC) #10
henrika (OOO until Aug 14)
https://codereview.chromium.org/178883004/diff/20001/ash/system/tray/system_tray.cc File ash/system/tray/system_tray.cc (right): https://codereview.chromium.org/178883004/diff/20001/ash/system/tray/system_tray.cc#newcode210 ash/system/tray/system_tray.cc:210: if (media::CoreAudioUtil::IsSupported()) Just checking. What happens on Windows XP ...
6 years, 10 months ago (2014-02-26 09:10:04 UTC) #11
tommi (sloooow) - chröme
https://codereview.chromium.org/178883004/diff/1/ash/system/tray/system_tray.cc File ash/system/tray/system_tray.cc (right): https://codereview.chromium.org/178883004/diff/1/ash/system/tray/system_tray.cc#newcode210 ash/system/tray/system_tray.cc:210: if (media::CoreAudioUtil::IsSupported()) On 2014/02/25 17:52:00, zturner wrote: > On ...
6 years, 10 months ago (2014-02-26 11:10:43 UTC) #12
henrika (OOO until Aug 14)
LGTM from my side.
6 years, 10 months ago (2014-02-26 14:09:17 UTC) #13
jennyz
lgtm. Yes, please add yourself as the owners of ash/system/win.
6 years, 10 months ago (2014-02-26 17:29:06 UTC) #14
zturner
> https://codereview.chromium.org/178883004/diff/1/ash/system/win/audio/tray_audio_delegate_win.cc > File ash/system/win/audio/tray_audio_delegate_win.cc (right): > > https://codereview.chromium.org/178883004/diff/1/ash/system/win/audio/tray_audio_delegate_win.cc#newcode58 > ash/system/win/audio/tray_audio_delegate_win.cc:58: bool > TrayAudioDelegateWin::IsOutputAudioMuted() { ...
6 years, 10 months ago (2014-02-26 17:50:28 UTC) #15
tommi (sloooow) - chröme
Nah, I don't think it's worth it to complicate this change right now. If/when we ...
6 years, 10 months ago (2014-02-26 19:40:43 UTC) #16
zturner
The CQ bit was checked by zturner@chromium.org
6 years, 10 months ago (2014-02-26 20:05:49 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zturner@chromium.org/178883004/40001
6 years, 10 months ago (2014-02-26 20:05:55 UTC) #18
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-26 20:59:13 UTC) #19
commit-bot: I haz the power
Retried try job too often on ios_dbg_simulator for step(s) base_unittests, compile, components_unittests, content_unittests, crypto_unittests, net_unittests, ...
6 years, 10 months ago (2014-02-26 20:59:13 UTC) #20
zturner
The CQ bit was checked by zturner@chromium.org
6 years, 10 months ago (2014-02-26 21:07:32 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zturner@chromium.org/178883004/40001
6 years, 10 months ago (2014-02-26 21:07:53 UTC) #22
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-26 23:46:31 UTC) #23
commit-bot: I haz the power
Retried try job too often on win_x64_rel for step(s) base_unittests, chrome_elf_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_x64_rel&number=79445
6 years, 10 months ago (2014-02-26 23:46:32 UTC) #24
tommi (sloooow) - chröme
The CQ bit was checked by tommi@chromium.org
6 years, 10 months ago (2014-02-27 08:48:09 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zturner@chromium.org/178883004/40001
6 years, 10 months ago (2014-02-27 08:48:19 UTC) #26
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-27 09:50:28 UTC) #27
commit-bot: I haz the power
Retried try job too often on win for step(s) compile http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win&number=153709
6 years, 10 months ago (2014-02-27 09:50:28 UTC) #28
zturner
The CQ bit was checked by zturner@chromium.org
6 years, 9 months ago (2014-02-27 19:01:47 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zturner@chromium.org/178883004/60001
6 years, 9 months ago (2014-02-27 19:02:59 UTC) #30
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-02-27 19:20:38 UTC) #31
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=52531
6 years, 9 months ago (2014-02-27 19:20:38 UTC) #32
zturner
The CQ bit was checked by zturner@chromium.org
6 years, 9 months ago (2014-02-27 19:22:25 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zturner@chromium.org/178883004/60001
6 years, 9 months ago (2014-02-27 19:24:12 UTC) #34
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-02-27 21:40:51 UTC) #35
commit-bot: I haz the power
Retried try job too often on win_x64_rel for step(s) base_unittests, chrome_elf_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_x64_rel&number=79808
6 years, 9 months ago (2014-02-27 21:40:52 UTC) #36
tommi (sloooow) - chröme
On 2014/02/27 21:40:52, I haz the power (commit-bot) wrote: > Retried try job too often ...
6 years, 9 months ago (2014-02-27 21:52:02 UTC) #37
zturner
On 2014/02/27 21:52:02, tommi wrote: > On 2014/02/27 21:40:52, I haz the power (commit-bot) wrote: ...
6 years, 9 months ago (2014-02-27 21:56:59 UTC) #38
zturner
The CQ bit was checked by zturner@chromium.org
6 years, 9 months ago (2014-02-27 22:14:40 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zturner@chromium.org/178883004/80001
6 years, 9 months ago (2014-02-27 22:19:04 UTC) #40
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-02-27 23:34:50 UTC) #41
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) interactive_ui_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=271732
6 years, 9 months ago (2014-02-27 23:34:51 UTC) #42
zturner
+dewittj for the COM initialization in the DesktopNotificationsTest runner. I added some calls to COM ...
6 years, 9 months ago (2014-03-03 20:03:18 UTC) #43
dewittj
I don't understand why we need the audio subsystem to be initialized for the desktop ...
6 years, 9 months ago (2014-03-03 22:11:28 UTC) #44
zturner
On 2014/03/03 22:11:28, dewittj wrote: > I don't understand why we need the audio subsystem ...
6 years, 9 months ago (2014-03-03 22:17:14 UTC) #45
dewittj
lgtm with a few nits: https://codereview.chromium.org/178883004/diff/140001/chrome/browser/notifications/desktop_notifications_unittest.cc File chrome/browser/notifications/desktop_notifications_unittest.cc (right): https://codereview.chromium.org/178883004/diff/140001/chrome/browser/notifications/desktop_notifications_unittest.cc#newcode110 chrome/browser/notifications/desktop_notifications_unittest.cc:110: #if defined(OS_WIN) same here ...
6 years, 9 months ago (2014-03-03 22:48:54 UTC) #46
zturner
The CQ bit was checked by zturner@chromium.org
6 years, 9 months ago (2014-03-05 17:15:41 UTC) #47
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zturner@chromium.org/178883004/180001
6 years, 9 months ago (2014-03-05 17:16:54 UTC) #48
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-05 18:58:44 UTC) #49
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) app_list_unittests, ash_unittests, aura_unittests, cacheinvalidation_unittests, cc_unittests, check_deps, ...
6 years, 9 months ago (2014-03-05 18:58:45 UTC) #50
zturner
The CQ bit was checked by zturner@chromium.org
6 years, 9 months ago (2014-03-05 19:05:49 UTC) #51
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zturner@chromium.org/178883004/180001
6 years, 9 months ago (2014-03-05 19:06:22 UTC) #52
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-05 22:17:59 UTC) #53
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) app_list_unittests, ash_unittests, aura_unittests, cacheinvalidation_unittests, cc_unittests, check_deps, ...
6 years, 9 months ago (2014-03-05 22:18:00 UTC) #54
zturner
The CQ bit was checked by zturner@chromium.org
6 years, 9 months ago (2014-03-05 22:42:30 UTC) #55
zturner
On 2014/03/05 22:18:00, I haz the power (commit-bot) wrote: > Retried try job too often ...
6 years, 9 months ago (2014-03-05 22:43:00 UTC) #56
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zturner@chromium.org/178883004/180001
6 years, 9 months ago (2014-03-05 22:44:09 UTC) #57
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zturner@chromium.org/178883004/180001
6 years, 9 months ago (2014-03-06 00:07:48 UTC) #58
commit-bot: I haz the power
Change committed as 255215
6 years, 9 months ago (2014-03-06 01:58:22 UTC) #59
pkotwicz
6 years, 9 months ago (2014-03-06 16:13:50 UTC) #60
Message was sent while issue was closed.
A revert of this CL has been created in
https://codereview.chromium.org/188693004/ by pkotwicz@chromium.org.

The reason for reverting is: Experimentally reverting this CL because it may
have broken AshTestHelperTest.AshTestHelper on Windows Vista . Will revert the
revert if this CL is innocent

See
http://build.chromium.org/p/chromium.win/builders/Vista%20Tests%20%282%29/bui....

Powered by Google App Engine
This is Rietveld 408576698