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

Issue 2671593003: Re-layout Chrome OS audio row when headphone connected (Closed)

Created:
3 years, 10 months ago by mohsen
Modified:
3 years, 10 months ago
Reviewers:
tdanderson, sadrul
CC:
chromium-reviews, kalyank, oshima+watch_chromium.org, sadrul
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Re-layout Chrome OS audio row when headphone connected Whenever visibility of device type icon in the audio row of system menu changes, layout needs to be invalidated so that the row is re-layed out. BUG=680171 TEST=manual Review-Url: https://codereview.chromium.org/2671593003 Cr-Commit-Position: refs/heads/master@{#447879} Committed: https://chromium.googlesource.com/chromium/src/+/74921d58b53f2333e9a3c921ecb87ca65721a902

Patch Set 1 #

Total comments: 2

Patch Set 2 : Update visibility iff necessary #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -4 lines) Patch
M ash/common/system/chromeos/audio/volume_view.cc View 1 2 chunks +7 lines, -4 lines 0 comments Download

Messages

Total messages: 18 (11 generated)
mohsen
Please take a look...
3 years, 10 months ago (2017-02-02 21:20:38 UTC) #4
sadrul
https://codereview.chromium.org/2671593003/diff/1/ash/common/system/chromeos/audio/volume_view.cc File ash/common/system/chromeos/audio/volume_view.cc (right): https://codereview.chromium.org/2671593003/diff/1/ash/common/system/chromeos/audio/volume_view.cc#newcode281 ash/common/system/chromeos/audio/volume_view.cc:281: device_type_->InvalidateLayout(); Setting the visibility can trigger a repaint. For ...
3 years, 10 months ago (2017-02-02 21:25:34 UTC) #6
mohsen
https://codereview.chromium.org/2671593003/diff/1/ash/common/system/chromeos/audio/volume_view.cc File ash/common/system/chromeos/audio/volume_view.cc (right): https://codereview.chromium.org/2671593003/diff/1/ash/common/system/chromeos/audio/volume_view.cc#newcode281 ash/common/system/chromeos/audio/volume_view.cc:281: device_type_->InvalidateLayout(); On 2017/02/02 at 21:25:34, sadrul wrote: > Setting ...
3 years, 10 months ago (2017-02-02 21:35:31 UTC) #9
sadrul
lgtm Thanks!
3 years, 10 months ago (2017-02-02 21:53:13 UTC) #10
tdanderson
lgtm also
3 years, 10 months ago (2017-02-02 23:07:45 UTC) #13
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/2671593003/20001
3 years, 10 months ago (2017-02-02 23:34:19 UTC) #15
commit-bot: I haz the power
3 years, 10 months ago (2017-02-02 23:41:03 UTC) #18
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/74921d58b53f2333e9a3c921ecb8...

Powered by Google App Engine
This is Rietveld 408576698