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

Issue 1849623002: Remove unused ash::SHELF_ALIGNMENT_TOP (Closed)

Created:
4 years, 8 months ago by James Cook
Modified:
4 years, 8 months ago
Reviewers:
oshima
CC:
chromium-reviews, darin-cc_chromium.org, jam, oshima+watch_chromium.org, sadrul, kalyank, msw
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove unused ash::SHELF_ALIGNMENT_TOP We never actually shipped the ability to place the shelf on the top of the screen, in part due to UX issues around the tab strip and notifications. The existing code is all dead and top-alignment code has been cargo-culted around as new features are added. If any accounts have an existing shelf alignment pref with the value "top" their shelf will switch to bottom. This would only be test accounts created several years ago -- no production accounts will have that alignment. This will make mus/mustash work easier, as it won't have to support the extra unused shelf alignment. BUG=none TEST=compiles, existing ash tests Committed: https://crrev.com/41fa68e9c867762958afec17e68508a4697de1a4 Cr-Commit-Position: refs/heads/master@{#384933}

Patch Set 1 #

Patch Set 2 : fix autoformat problem with <x, >y #

Total comments: 6

Patch Set 3 : review comments, fix test #

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -269 lines) Patch
M ash/content/keyboard_overlay/keyboard_overlay_delegate_unittest.cc View 1 chunk +1 line, -2 lines 0 comments Download
M ash/metrics/user_metrics_recorder.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/shelf/overflow_bubble_view.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/shelf/shelf.h View 2 chunks +1 line, -3 lines 0 comments Download
M ash/shelf/shelf.cc View 1 chunk +1 line, -2 lines 0 comments Download
M ash/shelf/shelf_alignment_menu.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M ash/shelf/shelf_bezel_event_filter.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M ash/shelf/shelf_button.cc View 2 chunks +3 lines, -7 lines 0 comments Download
M ash/shelf/shelf_layout_manager.h View 2 chunks +2 lines, -4 lines 0 comments Download
M ash/shelf/shelf_layout_manager.cc View 1 11 chunks +18 lines, -33 lines 0 comments Download
M ash/shelf/shelf_layout_manager_unittest.cc View 3 chunks +2 lines, -32 lines 0 comments Download
M ash/shelf/shelf_tooltip_manager.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/shelf/shelf_types.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/shelf/shelf_view.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M ash/shelf/shelf_view_unittest.cc View 1 2 2 chunks +3 lines, -5 lines 0 comments Download
M ash/shelf/shelf_widget.cc View 4 chunks +3 lines, -8 lines 0 comments Download
M ash/system/cast/tray_cast.cc View 1 chunk +0 lines, -1 line 0 comments Download
M ash/system/chromeos/screen_security/screen_tray_item.cc View 1 chunk +2 lines, -4 lines 0 comments Download
M ash/system/chromeos/virtual_keyboard/virtual_keyboard_tray.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/system/date/tray_date.cc View 2 chunks +5 lines, -6 lines 0 comments Download
M ash/system/overview/overview_button_tray.cc View 1 chunk +1 line, -2 lines 0 comments Download
M ash/system/status_area_widget_delegate.cc View 1 chunk +1 line, -2 lines 0 comments Download
M ash/system/tray/system_tray.cc View 3 chunks +4 lines, -11 lines 0 comments Download
M ash/system/tray/tray_background_view.cc View 3 chunks +2 lines, -6 lines 0 comments Download
M ash/system/tray/tray_image_item.cc View 1 chunk +0 lines, -1 line 0 comments Download
M ash/system/tray/tray_item_view.cc View 2 chunks +3 lines, -6 lines 0 comments Download
M ash/system/tray/tray_utils.cc View 2 chunks +2 lines, -4 lines 0 comments Download
M ash/system/user/tray_user.cc View 1 chunk +1 line, -2 lines 0 comments Download
M ash/system/web_notification/ash_popup_alignment_delegate.cc View 2 chunks +3 lines, -6 lines 0 comments Download
M ash/system/web_notification/ash_popup_alignment_delegate_unittest.cc View 1 chunk +0 lines, -9 lines 0 comments Download
M ash/system/web_notification/web_notification_tray.cc View 1 2 2 chunks +0 lines, -8 lines 0 comments Download
M ash/wm/app_list_controller.cc View 1 2 4 chunks +3 lines, -8 lines 0 comments Download
M ash/wm/panels/attached_panel_window_targeter.cc View 1 2 1 chunk +0 lines, -6 lines 0 comments Download
M ash/wm/panels/panel_layout_manager.cc View 5 chunks +1 line, -16 lines 0 comments Download
M ash/wm/panels/panel_layout_manager_unittest.cc View 6 chunks +1 line, -31 lines 0 comments Download
M ash/wm/panels/panel_window_resizer.cc View 1 chunk +0 lines, -7 lines 0 comments Download
M ash/wm/panels/panel_window_resizer_unittest.cc View 1 chunk +0 lines, -11 lines 0 comments Download
M ash/wm/window_animations.cc View 2 chunks +1 line, -5 lines 0 comments Download
M chrome/browser/ui/ash/chrome_launcher_prefs.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/ash/chrome_launcher_prefs.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc View 2 chunks +1 line, -4 lines 0 comments Download

Messages

Total messages: 18 (9 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1849623002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1849623002/1
4 years, 8 months ago (2016-03-30 23:03:44 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1849623002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1849623002/20001
4 years, 8 months ago (2016-03-30 23:22:58 UTC) #5
James Cook
oshima, PTAL msw, no need to review, just FYI for the mustash shelf work
4 years, 8 months ago (2016-03-30 23:23:19 UTC) #7
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/146799) win8_chromium_ng on ...
4 years, 8 months ago (2016-03-30 23:47:11 UTC) #9
oshima
lgtm https://codereview.chromium.org/1849623002/diff/20001/ash/system/web_notification/web_notification_tray.cc File ash/system/web_notification/web_notification_tray.cc (right): https://codereview.chromium.org/1849623002/diff/20001/ash/system/web_notification/web_notification_tray.cc#newcode237 ash/system/web_notification/web_notification_tray.cc:237: NOTREACHED(); can you remove the default while we're ...
4 years, 8 months ago (2016-03-30 23:59:57 UTC) #10
James Cook
Thanks for the review. https://codereview.chromium.org/1849623002/diff/20001/ash/system/web_notification/web_notification_tray.cc File ash/system/web_notification/web_notification_tray.cc (right): https://codereview.chromium.org/1849623002/diff/20001/ash/system/web_notification/web_notification_tray.cc#newcode237 ash/system/web_notification/web_notification_tray.cc:237: NOTREACHED(); On 2016/03/30 23:59:57, oshima ...
4 years, 8 months ago (2016-04-04 15:56:05 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1849623002/50042 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1849623002/50042
4 years, 8 months ago (2016-04-04 16:30:06 UTC) #14
commit-bot: I haz the power
Committed patchset #4 (id:50042)
4 years, 8 months ago (2016-04-04 17:07:11 UTC) #16
commit-bot: I haz the power
4 years, 8 months ago (2016-04-04 17:08:36 UTC) #18
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/41fa68e9c867762958afec17e68508a4697de1a4
Cr-Commit-Position: refs/heads/master@{#384933}

Powered by Google App Engine
This is Rietveld 408576698