|
|
Created:
4 years, 3 months ago by yiyix Modified:
4 years, 3 months ago Reviewers:
tdanderson CC:
chromium-reviews, kalyank, sadrul, oshima+watch_chromium.org Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionEnable the brightness row to be visible at all times
Update the visibility of the the brightness row to be visible at all
time for Chrome OS MD; the visibility stays as it is for non-MD.
TEST=Tray_brightness_unittests in ash_unittests
BUG=631809
Committed: https://crrev.com/abe996a2265a521e1705f3ba44e1398de70df461
Cr-Commit-Position: refs/heads/master@{#417975}
Patch Set 1 : update tests #
Total comments: 6
Patch Set 2 : address comments #
Messages
Total messages: 24 (18 generated)
The CQ bit was checked by yiyix@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== implementation BUG= ========== to ========== Enable the brightness row to be visible at all times Update the visibility of the the brightness row to be visible at all time. BUG=631809 ==========
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by yiyix@chromium.org to run a CQ dry run
Patchset #1 (id:1) has been deleted
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== Enable the brightness row to be visible at all times Update the visibility of the the brightness row to be visible at all time. BUG=631809 ========== to ========== Enable the brightness row to be visible at all times Update the visibility of the the brightness row to be visible at all time. TEST=Tray_brightness_unittests in ash_unittests BUG=631809 ==========
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
Dry run: This issue passed the CQ dry run.
yiyix@chromium.org changed reviewers: + tdanderson@chromium.org
@tdanderson, could you please take a look at this change? Thanks.
lgtm after two comments are addressed below. https://chromiumcodereview.appspot.com/2329333002/diff/20001/ash/common/syste... File ash/common/system/chromeos/brightness/tray_brightness.cc (right): https://chromiumcodereview.appspot.com/2329333002/diff/20001/ash/common/syste... ash/common/system/chromeos/brightness/tray_brightness.cc:1: // Copyright 2013 The Chromium Authors. All rights reserved. nit: in the CL description say that the change is just for MD, and non-MD stays as-is. https://chromiumcodereview.appspot.com/2329333002/diff/20001/ash/common/syste... ash/common/system/chromeos/brightness/tray_brightness.cc:52: // changes. See crbug.com/614453. Good catch, and thanks for add this TODO. https://chromiumcodereview.appspot.com/2329333002/diff/20001/ash/common/syste... ash/common/system/chromeos/brightness/tray_brightness.cc:130: bool show_icon = !icon->GetImage().isNull(); I don't think this check is necessary; you just be able to just say SetVisible(true);
Description was changed from ========== Enable the brightness row to be visible at all times Update the visibility of the the brightness row to be visible at all time. TEST=Tray_brightness_unittests in ash_unittests BUG=631809 ========== to ========== Enable the brightness row to be visible at all times Update the visibility of the the brightness row to be visible at all time for Chrome OS MD; the visibility stays as it is for non-MD. TEST=Tray_brightness_unittests in ash_unittests BUG=631809 ==========
https://codereview.chromium.org/2329333002/diff/20001/ash/common/system/chrom... File ash/common/system/chromeos/brightness/tray_brightness.cc (right): https://codereview.chromium.org/2329333002/diff/20001/ash/common/system/chrom... ash/common/system/chromeos/brightness/tray_brightness.cc:1: // Copyright 2013 The Chromium Authors. All rights reserved. On 2016/09/12 15:54:49, tdanderson wrote: > nit: in the CL description say that the change is just for MD, and non-MD stays > as-is. Done. https://codereview.chromium.org/2329333002/diff/20001/ash/common/system/chrom... ash/common/system/chromeos/brightness/tray_brightness.cc:52: // changes. See crbug.com/614453. On 2016/09/12 15:54:49, tdanderson wrote: > Good catch, and thanks for add this TODO. :) thanks https://codereview.chromium.org/2329333002/diff/20001/ash/common/system/chrom... ash/common/system/chromeos/brightness/tray_brightness.cc:130: bool show_icon = !icon->GetImage().isNull(); On 2016/09/12 15:54:49, tdanderson wrote: > I don't think this check is necessary; you just be able to just say > SetVisible(true); Done.
The CQ bit was checked by yiyix@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from tdanderson@chromium.org Link to the patchset: https://codereview.chromium.org/2329333002/#ps40001 (title: "address comments")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Description was changed from ========== Enable the brightness row to be visible at all times Update the visibility of the the brightness row to be visible at all time for Chrome OS MD; the visibility stays as it is for non-MD. TEST=Tray_brightness_unittests in ash_unittests BUG=631809 ========== to ========== Enable the brightness row to be visible at all times Update the visibility of the the brightness row to be visible at all time for Chrome OS MD; the visibility stays as it is for non-MD. TEST=Tray_brightness_unittests in ash_unittests BUG=631809 ==========
Message was sent while issue was closed.
Committed patchset #2 (id:40001)
Message was sent while issue was closed.
Description was changed from ========== Enable the brightness row to be visible at all times Update the visibility of the the brightness row to be visible at all time for Chrome OS MD; the visibility stays as it is for non-MD. TEST=Tray_brightness_unittests in ash_unittests BUG=631809 ========== to ========== Enable the brightness row to be visible at all times Update the visibility of the the brightness row to be visible at all time for Chrome OS MD; the visibility stays as it is for non-MD. TEST=Tray_brightness_unittests in ash_unittests BUG=631809 Committed: https://crrev.com/abe996a2265a521e1705f3ba44e1398de70df461 Cr-Commit-Position: refs/heads/master@{#417975} ==========
Message was sent while issue was closed.
Patchset 2 (id:??) landed as https://crrev.com/abe996a2265a521e1705f3ba44e1398de70df461 Cr-Commit-Position: refs/heads/master@{#417975} |