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

Issue 2429923002: Implement all system menu title row buttons for Ash MD (Closed)

Created:
4 years, 2 months ago by tdanderson
Modified:
4 years, 2 months ago
Reviewers:
bruthig
CC:
chromium-reviews, sadrul, dtseng+watch_chromium.org, aboxhall+watch_chromium.org, nektar+watch_chromium.org, yuzo+watch_chromium.org, je_julie, dmazzoni+watch_chromium.org, oshima+watch_chromium.org, kalyank, stevenjb+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement all system menu title row buttons for Ash MD For the system menu in Ash material design (--ash-md=experimental), make the following changes to the buttons appearing in the system menu detailed views: * Only show the settings button in the title row of the default views when there are corresponding WebUI settings. * Add support for a 'disabled' appearance to SystemMenuButton, and use this state for the buttons mentioned below when they are not clickable. * Hide the non-MD settings button for the Cast detailed view (there is no Settings button in the MD spec for this view). * Hide the non-MD settings button and replace it with a settings gear in the title rows for the Bluetooth, IME, Network, and a11y detailed views. * Add a network info icon to the network detailed view title row. * Add a help button to the a11y detailed view title row. BUG=642136, 632102, 632036, 632025, 632128, 631831 TEST=ash_unittests Committed: https://crrev.com/a47ee24b2f8dcfa97b81c2d6af7a774278d6be6a Cr-Commit-Position: refs/heads/master@{#426328}

Patch Set 1 #

Total comments: 11

Patch Set 2 : comments and tests #

Patch Set 3 : OS_WIN define in tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+321 lines, -142 lines) Patch
M ash/common/system/cast/tray_cast.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M ash/common/system/chromeos/bluetooth/tray_bluetooth.cc View 8 chunks +26 lines, -7 lines 0 comments Download
M ash/common/system/chromeos/network/network_state_list_detailed_view.h View 4 chunks +10 lines, -1 line 0 comments Download
M ash/common/system/chromeos/network/network_state_list_detailed_view.cc View 1 6 chunks +52 lines, -3 lines 0 comments Download
M ash/common/system/ime/tray_ime_chromeos.cc View 4 chunks +29 lines, -10 lines 0 comments Download
M ash/common/system/tiles/tiles_default_view.h View 1 4 chunks +15 lines, -5 lines 0 comments Download
M ash/common/system/tiles/tiles_default_view.cc View 1 4 chunks +24 lines, -14 lines 0 comments Download
M ash/common/system/tiles/tray_tiles.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M ash/common/system/tiles/tray_tiles.cc View 1 chunk +1 line, -11 lines 0 comments Download
M ash/common/system/tiles/tray_tiles_unittest.cc View 1 2 3 chunks +45 lines, -13 lines 0 comments Download
M ash/common/system/tray/special_popup_row.h View 3 chunks +8 lines, -5 lines 0 comments Download
M ash/common/system/tray/special_popup_row.cc View 3 chunks +24 lines, -18 lines 0 comments Download
M ash/common/system/tray/system_menu_button.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M ash/common/system/tray/tray_constants.h View 1 chunk +1 line, -0 lines 0 comments Download
M ash/common/system/tray/tray_constants.cc View 1 chunk +1 line, -0 lines 0 comments Download
M ash/common/system/tray/tray_details_view.h View 2 chunks +0 lines, -7 lines 0 comments Download
M ash/common/system/tray/tray_details_view.cc View 5 chunks +6 lines, -21 lines 0 comments Download
M ash/common/system/tray/tray_utils.h View 2 chunks +6 lines, -0 lines 0 comments Download
M ash/common/system/tray/tray_utils.cc View 1 2 chunks +11 lines, -0 lines 0 comments Download
M ash/common/system/tray_accessibility.h View 1 chunk +7 lines, -1 line 0 comments Download
M ash/common/system/tray_accessibility.cc View 3 chunks +22 lines, -12 lines 0 comments Download
M ash/resources/vector_icons/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
A + ash/resources/vector_icons/system_menu_info.icon View 1 chunk +11 lines, -7 lines 0 comments Download
A + ash/resources/vector_icons/system_menu_info.1x.icon View 1 chunk +11 lines, -7 lines 0 comments Download

Messages

Total messages: 28 (17 generated)
tdanderson
Ben, can you please take a look? https://codereview.chromium.org/2429923002/diff/1/ash/common/system/chromeos/network/network_state_list_detailed_view.h File ash/common/system/chromeos/network/network_state_list_detailed_view.h (right): https://codereview.chromium.org/2429923002/diff/1/ash/common/system/chromeos/network/network_state_list_detailed_view.h#newcode150 ash/common/system/chromeos/network/network_state_list_detailed_view.h:150: views::CustomButton* info_button_md_; ...
4 years, 2 months ago (2016-10-18 20:57:47 UTC) #6
tdanderson
+azurewei@ as FYI. This CL removes the "Manage input..." button at the bottom of the ...
4 years, 2 months ago (2016-10-18 21:07:09 UTC) #7
Azure Wei
On 2016/10/18 21:07:09, tdanderson wrote: > +azurewei@ as FYI. This CL removes the "Manage input..." ...
4 years, 2 months ago (2016-10-19 01:43:02 UTC) #10
bruthig
lgtm https://codereview.chromium.org/2429923002/diff/1/ash/common/system/chromeos/network/network_state_list_detailed_view.h File ash/common/system/chromeos/network/network_state_list_detailed_view.h (right): https://codereview.chromium.org/2429923002/diff/1/ash/common/system/chromeos/network/network_state_list_detailed_view.h#newcode150 ash/common/system/chromeos/network/network_state_list_detailed_view.h:150: views::CustomButton* info_button_md_; On 2016/10/18 20:57:47, tdanderson wrote: > ...
4 years, 2 months ago (2016-10-19 15:43:09 UTC) #11
tdanderson
https://codereview.chromium.org/2429923002/diff/1/ash/common/system/chromeos/network/network_state_list_detailed_view.h File ash/common/system/chromeos/network/network_state_list_detailed_view.h (right): https://codereview.chromium.org/2429923002/diff/1/ash/common/system/chromeos/network/network_state_list_detailed_view.h#newcode150 ash/common/system/chromeos/network/network_state_list_detailed_view.h:150: views::CustomButton* info_button_md_; On 2016/10/19 15:43:09, bruthig wrote: > On ...
4 years, 2 months ago (2016-10-19 19:49:32 UTC) #12
bruthig
slgtm https://codereview.chromium.org/2429923002/diff/1/ash/common/system/tray/tray_utils.cc File ash/common/system/tray/tray_utils.cc (right): https://codereview.chromium.org/2429923002/diff/1/ash/common/system/tray/tray_utils.cc#newcode91 ash/common/system/tray/tray_utils.cc:91: bool CanOpenWebUISettings(LoginStatus status) { On 2016/10/19 19:49:31, tdanderson ...
4 years, 2 months ago (2016-10-19 20:17:58 UTC) #15
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/2429923002/20001
4 years, 2 months ago (2016-10-19 20:20:31 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/318665)
4 years, 2 months ago (2016-10-19 20:42:30 UTC) #21
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/2429923002/40001
4 years, 2 months ago (2016-10-19 21:36:23 UTC) #24
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 2 months ago (2016-10-19 23:20:40 UTC) #26
commit-bot: I haz the power
4 years, 2 months ago (2016-10-21 13:12:59 UTC) #28
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/a47ee24b2f8dcfa97b81c2d6af7a774278d6be6a
Cr-Commit-Position: refs/heads/master@{#426328}

Powered by Google App Engine
This is Rietveld 408576698