Remove non-MD code paths from TrayItemMore
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/469c3b662e9bb4bfc28853a166420458079cf19d commit 469c3b662e9bb4bfc28853a166420458079cf19d Author: mohsen <mohsen@chromium.org> Date: Wed Feb 22 08:04:57 2017 Modify TrayItemMore to use enabled status With this patch, if a TrayItemMore object is set to be disabled, it will not show the more arrow and ripple animations. Therefore, |show_more_| field is not needed anymore and is removed. Also, non-MD code path is removed from TrayItemMore. BUG= 687689 , 687817 Review-Url: https://codereview.chromium.org/2699443004 Cr-Commit-Position: refs/heads/master@{#451917} [modify] https://crrev.com/469c3b662e9bb4bfc28853a166420458079cf19d/ash/common/system/chromeos/bluetooth/tray_bluetooth.cc [modify] https://crrev.com/469c3b662e9bb4bfc28853a166420458079cf19d/ash/common/system/chromeos/cast/tray_cast.cc [modify] https://crrev.com/469c3b662e9bb4bfc28853a166420458079cf19d/ash/common/system/chromeos/network/tray_network.cc [modify] https://crrev.com/469c3b662e9bb4bfc28853a166420458079cf19d/ash/common/system/chromeos/network/tray_vpn.cc [modify] https://crrev.com/469c3b662e9bb4bfc28853a166420458079cf19d/ash/common/system/ime/tray_ime_chromeos.cc [modify] https://crrev.com/469c3b662e9bb4bfc28853a166420458079cf19d/ash/common/system/tray/tray_item_more.cc [modify] https://crrev.com/469c3b662e9bb4bfc28853a166420458079cf19d/ash/common/system/tray/tray_item_more.h [modify] https://crrev.com/469c3b662e9bb4bfc28853a166420458079cf19d/ash/common/system/tray_accessibility.cc
Comment 1 by tdander...@chromium.org
, Feb 7 2017