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

Issue 2696033003: [Ash MD] Remove some non-MD code from HoverHighlightView (Closed)

Created:
3 years, 10 months ago by tdanderson
Modified:
3 years, 5 months ago
Reviewers:
varkha, mohsen
CC:
chromium-reviews, sadrul, dtseng+watch_chromium.org, aboxhall+watch_chromium.org, tfarina, 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

[Ash MD] Remove some non-MD code from HoverHighlightView A first pass at removing the unused non-MD code from HoverHighlightView. Follow-on cleanup items are tracked in TODOs. BUG=686345 TEST=manual, no functional changes

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -309 lines) Patch
M ash/common/system/chromeos/audio/audio_detailed_view.cc View 2 chunks +1 line, -3 lines 0 comments Download
M ash/common/system/chromeos/bluetooth/tray_bluetooth.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/common/system/chromeos/cast/tray_cast.cc View 1 chunk +1 line, -4 lines 0 comments Download
M ash/common/system/chromeos/network/network_state_list_detailed_view.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/common/system/chromeos/network/vpn_list_view.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/common/system/chromeos/palette/common_palette_tool.cc View 1 chunk +1 line, -4 lines 0 comments Download
M ash/common/system/tray/hover_highlight_view.h View 8 chunks +11 lines, -66 lines 0 comments Download
M ash/common/system/tray/hover_highlight_view.cc View 12 chunks +25 lines, -212 lines 1 comment Download
M ash/common/system/tray/label_tray_view.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/common/system/tray/special_popup_row.cc View 1 chunk +1 line, -6 lines 0 comments Download
M ash/common/system/tray_accessibility.cc View 2 chunks +1 line, -6 lines 0 comments Download
D ui/views/resources/default_100_percent/cros/menu_check.png View Binary file 0 comments Download
D ui/views/resources/default_200_percent/cros/menu_check.png View Binary file 0 comments Download
M ui/views/resources/views_resources.grd View 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 8 (6 generated)
tdanderson
Mohsen, can you please take a look?
3 years, 10 months ago (2017-02-14 22:43:07 UTC) #3
tdanderson
3 years, 10 months ago (2017-02-14 22:48:20 UTC) #6
https://codereview.chromium.org/2696033003/diff/1/ash/common/system/tray/hove...
File ash/common/system/tray/hover_highlight_view.cc (left):

https://codereview.chromium.org/2696033003/diff/1/ash/common/system/tray/hove...
ash/common/system/tray/hover_highlight_view.cc:343: if (hover_ == hover)
Mohsen and +varkha@, on second thought I think we may actually want to keep
tracking the state of |hover_| even in MD (though we don't want to change any
colors as in lines 349, 351). If you look at the call sites of the hover()
accessor, it looks as though this at one time served the purpose of preventing a
detailed view list from moving the element underneath the cursor outside the
visible region while the list was still being populated. We may have broken this
with the MD work. Mind taking a second look and letting me know what you think?

Powered by Google App Engine
This is Rietveld 408576698