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

Issue 2899253002: chromeos: Rename ash::WmShelf to Shelf (Closed)

Created:
3 years, 7 months ago by James Cook
Modified:
3 years, 6 months ago
Reviewers:
Tom Sepez, msw, reveman, xiyuan
CC:
Aaron Boodman, abarth-chromium, aboxhall+watch_chromium.org, achuith+watch_chromium.org, alemate+watch_chromium.org, blakeo+virtualkb_chromium.org, chromium-apps-reviews_chromium.org, chromium-reviews, darin (slow to review), darin-cc_chromium.org, davemoore+watch_chromium.org, dfaden+virtualkb_google.com, dmazzoni+watch_chromium.org, dougt+watch_chromium.org, dtseng+watch_chromium.org, extensions-reviews_chromium.org, groby+virtualkb_chromium.org, jam, je_julie, kalyank, Matt Giuca, nektar+watch_chromium.org, oka+watchvk_chromium.org, oshima+watch_chromium.org, qsr+mojo_chromium.org, sadrul, tfarina, viettrungluu+watch_chromium.org, yhanada+watchvk_chromium.org, yuzo+watch_chromium.org, yzshen+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

chromeos: Rename ash::WmShelf to Shelf The "Wm" porting layer is being removed, so it can go back to its original name. No behavior changes, just a mechanical refactor. tools/git/move_source_file.py for wm_shelf.h to shelf.h wm_shelf.cc to shelf.cc wm_shelf_observer.h to shelf_observer.h tools/git/mffr.py for WmShelfObserver to ShelfObserver WmShelf to Shelf wm_shelf to shelf Fix up a couple call sites like "wm_shelf_container" window. Replace deprecated GetAlignment() with alignment() because it touches the same lines as the rest of this change. BUG=none TEST=compiles, ash_unittests, chrome unit_tests R=msw@chromium.org, tsepez@chromium.org TBR=reveman@chromium.org, xiyuan@chromium.org Review-Url: https://codereview.chromium.org/2899253002 . Cr-Commit-Position: refs/heads/master@{#474526} Committed: https://chromium.googlesource.com/chromium/src/+/840177e705e9f12b06d2c80c6cd0d5c3d6b8b9e3

Patch Set 1 #

Patch Set 2 : GetAlignment() to alignment() #

Patch Set 3 : cleanup #

Total comments: 6

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+768 lines, -1372 lines) Patch
M ash/BUILD.gn View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download
M ash/accelerators/accelerator_controller.cc View 1 2 3 5 chunks +7 lines, -7 lines 0 comments Download
M ash/accelerators/accelerator_controller_delegate_aura.cc View 1 2 2 chunks +0 lines, -2 lines 0 comments Download
M ash/app_list/app_list_delegate_impl.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/app_list/app_list_presenter_delegate.h View 3 chunks +3 lines, -3 lines 0 comments Download
M ash/app_list/app_list_presenter_delegate.cc View 6 chunks +6 lines, -6 lines 0 comments Download
M ash/content/keyboard_overlay/keyboard_overlay_delegate_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/dip_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/display/window_tree_host_manager_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/first_run/first_run_helper_impl.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/focus_cycler_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/metrics/user_metrics_recorder.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/mus/context_menu_mus.h View 2 chunks +3 lines, -3 lines 0 comments Download
M ash/mus/context_menu_mus.cc View 4 chunks +8 lines, -10 lines 0 comments Download
M ash/mus/shell_delegate_mus.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/mus/shell_delegate_mus.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M ash/public/interfaces/shelf.mojom View 1 chunk +1 line, -1 line 0 comments Download
M ash/root_window_controller.h View 1 2 4 chunks +5 lines, -5 lines 0 comments Download
M ash/root_window_controller.cc View 1 2 3 11 chunks +19 lines, -21 lines 0 comments Download
M ash/screen_util.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/shelf/app_list_button.h View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M ash/shelf/app_list_button.cc View 1 4 chunks +7 lines, -7 lines 0 comments Download
M ash/shelf/app_list_button_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/shelf/overflow_bubble.h View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M ash/shelf/overflow_bubble.cc View 3 chunks +5 lines, -5 lines 0 comments Download
M ash/shelf/overflow_bubble_view.h View 3 chunks +3 lines, -3 lines 0 comments Download
M ash/shelf/overflow_bubble_view.cc View 8 chunks +11 lines, -11 lines 0 comments Download
M ash/shelf/overflow_button.h View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M ash/shelf/overflow_button.cc View 1 4 chunks +5 lines, -5 lines 0 comments Download
A + ash/shelf/shelf.h View 1 6 chunks +12 lines, -14 lines 0 comments Download
A + ash/shelf/shelf.cc View 14 chunks +44 lines, -46 lines 0 comments Download
M ash/shelf/shelf_alignment_menu.h View 2 chunks +3 lines, -3 lines 0 comments Download
M ash/shelf/shelf_alignment_menu.cc View 1 3 chunks +8 lines, -8 lines 0 comments Download
M ash/shelf/shelf_background_animator.h View 1 2 6 chunks +8 lines, -8 lines 0 comments Download
M ash/shelf/shelf_background_animator.cc View 3 chunks +7 lines, -7 lines 0 comments Download
M ash/shelf/shelf_bezel_event_handler.h View 2 chunks +3 lines, -3 lines 0 comments Download
M ash/shelf/shelf_bezel_event_handler.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
M ash/shelf/shelf_button.cc View 1 5 chunks +6 lines, -6 lines 0 comments Download
M ash/shelf/shelf_button_pressed_metric_tracker_unittest.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M ash/shelf/shelf_controller.h View 2 chunks +4 lines, -4 lines 0 comments Download
M ash/shelf/shelf_controller.cc View 7 chunks +8 lines, -8 lines 0 comments Download
M ash/shelf/shelf_layout_manager.h View 1 2 6 chunks +6 lines, -6 lines 0 comments Download
M ash/shelf/shelf_layout_manager.cc View 1 2 3 15 chunks +18 lines, -19 lines 0 comments Download
M ash/shelf/shelf_layout_manager_unittest.cc View 26 chunks +28 lines, -28 lines 0 comments Download
M ash/shelf/shelf_locking_manager.h View 2 chunks +3 lines, -3 lines 0 comments Download
M ash/shelf/shelf_locking_manager.cc View 1 2 chunks +3 lines, -3 lines 0 comments Download
M ash/shelf/shelf_locking_manager_unittest.cc View 1 2 chunks +18 lines, -18 lines 0 comments Download
A + ash/shelf/shelf_observer.h View 3 chunks +5 lines, -5 lines 0 comments Download
M ash/shelf/shelf_tooltip_manager.h View 3 chunks +3 lines, -3 lines 0 comments Download
M ash/shelf/shelf_tooltip_manager.cc View 1 4 chunks +5 lines, -5 lines 0 comments Download
M ash/shelf/shelf_tooltip_manager_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/shelf/shelf_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/shelf/shelf_view.h View 1 2 3 chunks +4 lines, -6 lines 0 comments Download
M ash/shelf/shelf_view.cc View 1 28 chunks +52 lines, -56 lines 0 comments Download
M ash/shelf/shelf_view_unittest.cc View 13 chunks +27 lines, -27 lines 0 comments Download
M ash/shelf/shelf_widget.h View 1 2 4 chunks +5 lines, -5 lines 0 comments Download
M ash/shelf/shelf_widget.cc View 4 chunks +8 lines, -8 lines 0 comments Download
M ash/shelf/shelf_widget_unittest.cc View 6 chunks +7 lines, -7 lines 0 comments Download
M ash/shelf/shelf_window_targeter.h View 2 chunks +6 lines, -6 lines 0 comments Download
M ash/shelf/shelf_window_targeter.cc View 1 3 chunks +5 lines, -5 lines 0 comments Download
D ash/shelf/wm_shelf.h View 1 chunk +0 lines, -180 lines 0 comments Download
D ash/shelf/wm_shelf.cc View 1 chunk +0 lines, -364 lines 0 comments Download
D ash/shelf/wm_shelf_observer.h View 1 chunk +0 lines, -30 lines 0 comments Download
M ash/shell.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/shell/context_menu.h View 3 chunks +3 lines, -3 lines 0 comments Download
M ash/shell/context_menu.cc View 3 chunks +9 lines, -11 lines 0 comments Download
M ash/shell/shell_delegate_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/shell/shell_delegate_impl.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M ash/shell_delegate.h View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M ash/shell_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/system/date/tray_system_info.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/system/ime_menu/ime_menu_tray.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/system/ime_menu/ime_menu_tray.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M ash/system/lock_screen_action/lock_screen_action_tray.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/system/lock_screen_action/lock_screen_action_tray.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M ash/system/network/sms_observer_unittest.cc View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M ash/system/overview/overview_button_tray.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/system/overview/overview_button_tray.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M ash/system/palette/palette_tray.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/system/palette/palette_tray.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M ash/system/palette/palette_utils.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/system/session/logout_button_tray.h View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M ash/system/session/logout_button_tray.cc View 3 chunks +7 lines, -7 lines 0 comments Download
M ash/system/status_area_widget.h View 1 2 3 chunks +4 lines, -4 lines 0 comments Download
M ash/system/status_area_widget.cc View 4 chunks +13 lines, -14 lines 0 comments Download
M ash/system/status_area_widget_delegate.h View 2 chunks +3 lines, -3 lines 0 comments Download
M ash/system/status_area_widget_delegate.cc View 5 chunks +7 lines, -7 lines 0 comments Download
M ash/system/toast/toast_manager_unittest.cc View 1 6 chunks +10 lines, -10 lines 0 comments Download
M ash/system/toast/toast_overlay.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/system/tray/system_tray.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/system/tray/system_tray.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/system/tray/system_tray_unittest.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M ash/system/tray/tray_background_view.h View 1 2 4 chunks +4 lines, -4 lines 0 comments Download
M ash/system/tray/tray_background_view.cc View 6 chunks +10 lines, -10 lines 0 comments Download
M ash/system/tray/tray_container.h View 2 chunks +3 lines, -3 lines 0 comments Download
M ash/system/tray/tray_container.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M ash/system/tray/tray_item_view.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/system/user/tray_user.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/system/virtual_keyboard/virtual_keyboard_tray.h View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/system/virtual_keyboard/virtual_keyboard_tray.cc View 3 chunks +4 lines, -6 lines 0 comments Download
M ash/system/web_notification/ash_popup_alignment_delegate.h View 1 2 4 chunks +6 lines, -6 lines 0 comments Download
M ash/system/web_notification/ash_popup_alignment_delegate.cc View 1 4 chunks +4 lines, -4 lines 0 comments Download
M ash/system/web_notification/ash_popup_alignment_delegate_unittest.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M ash/system/web_notification/web_notification_tray.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/system/web_notification/web_notification_tray.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/system/web_notification/web_notification_tray_unittest.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M ash/test/ash_test_base.h View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M ash/test/ash_test_base.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/test/test_shell_delegate.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/test/test_shell_delegate.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M ash/wm/immersive_context_ash.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/wm/immersive_fullscreen_controller_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc View 1 2 3 4 chunks +4 lines, -4 lines 0 comments Download
M ash/wm/overview/window_grid.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M ash/wm/overview/window_selector.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M ash/wm/overview/window_selector_unittest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ash/wm/panels/attached_panel_window_targeter.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M ash/wm/panels/panel_layout_manager.h View 1 2 3 6 chunks +7 lines, -7 lines 0 comments Download
M ash/wm/panels/panel_layout_manager.cc View 1 2 3 5 chunks +6 lines, -6 lines 0 comments Download
M ash/wm/panels/panel_layout_manager_unittest.cc View 1 2 3 7 chunks +7 lines, -7 lines 0 comments Download
M ash/wm/panels/panel_window_resizer.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M ash/wm/panels/panel_window_resizer_unittest.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M ash/wm/window_animations.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/wm/window_cycle_controller_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/wm/window_util.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/wm/workspace/workspace_layout_manager.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M ash/wm/workspace/workspace_layout_manager_keyboard_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/wm/workspace/workspace_layout_manager_unittest.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M ash/wm/workspace/workspace_window_resizer_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/wm/workspace_controller.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/wm/workspace_controller_unittest.cc View 1 2 3 4 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/accessibility/accessibility_manager.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/accessibility/chromevox_panel.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/first_run/steps/tray_step.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/login/login_browsertest.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/profiles/multiprofiles_session_aborted_dialog.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/app_list/app_list_interactive_uitest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/chrome_shell_delegate.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/ash/chrome_shell_delegate.cc View 1 2 3 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/ui/ash/launcher/arc_launcher_context_menu.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/launcher/arc_launcher_context_menu.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc View 4 chunks +4 lines, -5 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc View 1 2 30 chunks +45 lines, -46 lines 0 comments Download
M chrome/browser/ui/ash/launcher/desktop_shell_launcher_context_menu.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/launcher/desktop_shell_launcher_context_menu.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/launcher/extension_launcher_context_menu.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/launcher/extension_launcher_context_menu.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/launcher/launcher_context_menu.h View 4 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/ui/ash/launcher/launcher_context_menu.cc View 5 chunks +16 lines, -18 lines 0 comments Download
M chrome/browser/ui/ash/launcher/launcher_context_menu_unittest.cc View 13 chunks +18 lines, -18 lines 0 comments Download
M chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/ash/multi_user/user_switch_animator_chromeos.cc View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/ash/shelf_browsertest.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/first_run/first_run_ui.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/ui/window_sizer/window_sizer_ash_uitest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M components/exo/shell_surface.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 34 (22 generated)
James Cook
msw, please take a look. https://codereview.chromium.org/2899253002/diff/40001/ash/root_window_controller.h File ash/root_window_controller.h (right): https://codereview.chromium.org/2899253002/diff/40001/ash/root_window_controller.h#newcode142 ash/root_window_controller.h:142: Shelf* GetShelf() const { ...
3 years, 7 months ago (2017-05-24 09:30:38 UTC) #10
msw
lgtm with optional nits https://codereview.chromium.org/2899253002/diff/40001/ash/app_list/app_list_presenter_delegate.h File ash/app_list/app_list_presenter_delegate.h (right): https://codereview.chromium.org/2899253002/diff/40001/ash/app_list/app_list_presenter_delegate.h#newcode73 ash/app_list/app_list_presenter_delegate.h:73: void OnShelfIconPositionsChanged() override; aside: I ...
3 years, 6 months ago (2017-05-24 18:42:58 UTC) #13
James Cook
TBR reveman for trivial rename touching exo I'll do the nits in a follow-up, I'd ...
3 years, 6 months ago (2017-05-24 19:28:17 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/2899253002/40001
3 years, 6 months ago (2017-05-24 19:29:39 UTC) #18
James Cook
TBR tsepez for rename touching ash/public/interfaces/shelf.mojom TBR xiyuan for rename touching chrome/browser/chromeos
3 years, 6 months ago (2017-05-24 19:52:12 UTC) #22
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/2899253002/60001
3 years, 6 months ago (2017-05-24 19:53:10 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/446587)
3 years, 6 months ago (2017-05-24 20:05:24 UTC) #27
Tom Sepez
lgtm RS
3 years, 6 months ago (2017-05-24 20:09:56 UTC) #28
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/2899253002/60001
3 years, 6 months ago (2017-05-24 20:15:10 UTC) #30
James Cook
On 2017/05/24 20:15:10, commit-bot: I haz the power wrote: > CQ is trying da patch. ...
3 years, 6 months ago (2017-05-25 02:18:34 UTC) #31
James Cook
Committed patchset #4 (id:60001) manually as 840177e705e9f12b06d2c80c6cd0d5c3d6b8b9e3 (presubmit successful).
3 years, 6 months ago (2017-05-25 02:20:59 UTC) #33
reveman
3 years, 6 months ago (2017-05-25 11:05:10 UTC) #34
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698